Class AtomixLogCompactor

java.lang.Object
io.camunda.zeebe.broker.logstreams.AtomixLogCompactor
All Implemented Interfaces:
LogCompactor

public final class AtomixLogCompactor extends Object implements LogCompactor
  • Constructor Details

  • Method Details

    • compactLog

      public CompletableFuture<Void> compactLog(long compactionBound)
      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:
      compactLog in interface LogCompactor
      Parameters:
      compactionBound - the upper index compaction bound
      Returns:
      a future which is completed after compaction is finished