Class CommandProcessorImpl<T extends UnifiedRecordValue>

java.lang.Object
io.camunda.zeebe.engine.processing.streamprocessor.CommandProcessorImpl<T>
Type Parameters:
T - the record value type
All Implemented Interfaces:
CommandProcessor.CommandControl<T>, StreamProcessorLifecycleAware, TypedRecordProcessor<T>

public final class CommandProcessorImpl<T extends UnifiedRecordValue> extends Object implements TypedRecordProcessor<T>, CommandProcessor.CommandControl<T>
Decorates a command processor with simple accept and reject logic.

On accept it writes the state corresponding to successfully processing the command (e.g. process instance creation: CREATE => CREATED); and responds if it was a client command that should be responded to.

On reject it writes a command rejection