Class SkipPositionsFilter

java.lang.Object
io.camunda.zeebe.stream.impl.SkipPositionsFilter
All Implemented Interfaces:
EventFilter

public final class SkipPositionsFilter extends Object implements EventFilter
A filter that skips events with positions in a given set of positions.
  • Method Details

    • of

      public static SkipPositionsFilter of(Set<Long> positionsToSkip)
    • applies

      public boolean applies(LoggedEvent event)
      Specified by:
      applies in interface EventFilter
      Parameters:
      event - the event to be processed next
      Returns:
      true if the event position is not in the set of positions to skip