Package io.camunda.zeebe.streamprocessor
package io.camunda.zeebe.streamprocessor
This package is to isolate classes that will be part of the platform. This package is needed as
an intermediary step during engine abstraction refactoring to make the change easier. Attempts
were made to create a new Maven Module and start moving classes there. This did work well for the
sources, but not for the test sources. The test sources can best be refactored after the engine
abstraction was fully introduced.
-
ClassDescriptionImplement to control which events should be handled by a
StreamProcessor
.Contains positions which are related to the last processing, and are used to restore the processing state machine.Implement to control which events should be handled by aStreamProcessor
based on the event's metadata.Here the implementation is just a suggestion to amke the engine abstraction work.Represents the processing state machine, which is executed on normal processing.Represents the state machine to replay events and rebuild the state.Represents a cache to be used by theio.camunda.zeebe.stream.api.scheduling.ProcessingScheduleService
, which allows it to cache which commands it has written and avoid writing them again until they've been removed from the cache.A dummy cache implementation which does nothing, i.e.Represents staged changes to the cache that have not been persisted yet.AScheduledCommandCache
which allows staging changes before persisting them.A cache where modifications are staged but not added to the main cache which produced it.A listener for theStreamProcessor
.