Package io.camunda.zeebe.streamprocessor
Class StreamProcessorContext
java.lang.Object
io.camunda.zeebe.streamprocessor.StreamProcessorContext
- All Implemented Interfaces:
ReadonlyStreamProcessorContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabortCondition(BooleanSupplier abortCondition) actor(ActorControl actor) commandResponseWriter(CommandResponseWriter commandResponseWriter) eventCache(RecordValues recordValues) getActor()intintReturns the partition IDkeyGeneratorControls(KeyGeneratorControls keyGeneratorControls) lastProcessedPositionState(MutableLastProcessedPositionState lastProcessedPositionState) voidlogStreamBatchWriter(LogStreamBatchWriter batchWriter) logStreamReader(LogStreamReader logStreamReader) maxCommandsInBatch(int maxCommandsInBatch) voidpartitionCommandSender(InterPartitionCommandSender partitionCommandSender) processorMode(StreamProcessorMode streamProcessorMode) scheduleService(ProcessingScheduleService scheduleService) voidtransactionContext(TransactionContext transactionContext)
-
Field Details
-
DEFAULT_MAX_COMMANDS_IN_BATCH
public static final int DEFAULT_MAX_COMMANDS_IN_BATCH- See Also:
-
-
Constructor Details
-
StreamProcessorContext
public StreamProcessorContext()
-
-
Method Details
-
actor
-
scheduleService
-
getScheduleService
- Specified by:
getScheduleServicein interfaceReadonlyStreamProcessorContext
-
getPartitionId
public int getPartitionId()Description copied from interface:ReadonlyStreamProcessorContextReturns the partition ID- Specified by:
getPartitionIdin interfaceReadonlyStreamProcessorContext- Returns:
- partition ID
-
getLogStream
-
getLastProcessedPositionState
-
logStream
-
logStreamReader
-
eventCache
-
keyGeneratorControls
-
lastProcessedPositionState
public StreamProcessorContext lastProcessedPositionState(MutableLastProcessedPositionState lastProcessedPositionState) -
transactionContext
-
abortCondition
-
commandResponseWriter
-
processorMode
-
getKeyGeneratorControls
-
getActor
-
getLogStreamReader
-
getRecordValues
-
getTransactionContext
-
getAbortCondition
-
getStreamProcessorListener
-
getProcessorMode
-
logStreamBatchWriter
-
getLogStreamBatchWriter
-
getCommandResponseWriter
-
getPartitionCommandSender
-
partitionCommandSender
-
getStreamProcessorPhase
-
streamProcessorPhase
-
maxCommandsInBatch
-
getMaxCommandsInBatch
public int getMaxCommandsInBatch()
-