Class AtomixLogCompactor
java.lang.Object
io.camunda.zeebe.broker.logstreams.AtomixLogCompactor
- All Implemented Interfaces:
LogCompactor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompactLog(long compactionBound) Sets the compactable index on the Atomix side and triggers compaction.
-
Constructor Details
-
AtomixLogCompactor
-
-
Method Details
-
compactLog
Sets the compactable index on the Atomix side and triggers compaction. On failure will log the error but will return a "successful" future - arguable if this is desired behavior.- Specified by:
compactLogin interfaceLogCompactor- Parameters:
compactionBound- the upper index compaction bound- Returns:
- a future which is completed after compaction is finished
-