Package io.camunda.zeebe.streamprocessor
Interface EventFilter
- All Known Implementing Classes:
MetadataEventFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implement to control which events should be handled by a
StreamProcessor
.-
Method Summary
Modifier and TypeMethodDescriptiondefault EventFilter
and
(EventFilter other) boolean
applies
(LoggedEvent event)
-
Method Details
-
applies
- Parameters:
event
- the event to be processed next- Returns:
- true to mark an event for processing; false to skip it
- Throws:
RuntimeException
- to signal that processing cannot continue
-
and
-