Class CreateAuditTrail
java.lang.Object
io.fluxcapacitor.common.api.Request
io.fluxcapacitor.common.api.Command
io.fluxcapacitor.common.api.search.CreateAuditTrail
- All Implemented Interfaces:
JsonType
Command to configure to use a search collection as a searchable audit trail.
An audit trail ensures that changes to documents are retained for a minimum duration. This is particularly useful for compliance and debugging purposes, as it allows documents to be replayed or inspected after modification or deletion.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUses the collection name as routing key to ensure consistent configuration.Methods inherited from class io.fluxcapacitor.common.api.Command
getGuarantee
-
Constructor Details
-
CreateAuditTrail
public CreateAuditTrail()
-
-
Method Details
-
routingKey
Uses the collection name as routing key to ensure consistent configuration.- Overrides:
routingKey
in classCommand
- Returns:
- a routing key string, or
null
if not specified
-