Class DeploymentCreateProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.deployment.DeploymentCreateProcessor
- All Implemented Interfaces:
TypedRecordProcessor<DeploymentRecord>
public final class DeploymentCreateProcessor
extends Object
implements TypedRecordProcessor<DeploymentRecord>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecordProcessor
TypedRecordProcessor.ProcessingError
-
Constructor Summary
ConstructorsConstructorDescriptionDeploymentCreateProcessor
(ProcessingState processingState, BpmnBehaviors bpmnBehaviors, int partitionsCount, Writers writers, DeploymentDistributionCommandSender deploymentDistributionCommandSender, KeyGenerator keyGenerator, FeatureFlags featureFlags, EngineConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionvoid
processRecord
(TypedRecord<DeploymentRecord> command) tryHandleError
(TypedRecord<DeploymentRecord> command, Throwable error) Try to handle an error that occurred during processing.
-
Constructor Details
-
DeploymentCreateProcessor
public DeploymentCreateProcessor(ProcessingState processingState, BpmnBehaviors bpmnBehaviors, int partitionsCount, Writers writers, DeploymentDistributionCommandSender deploymentDistributionCommandSender, KeyGenerator keyGenerator, FeatureFlags featureFlags, EngineConfiguration config)
-
-
Method Details
-
processRecord
- Specified by:
processRecord
in interfaceTypedRecordProcessor<DeploymentRecord>
-
tryHandleError
public TypedRecordProcessor.ProcessingError tryHandleError(TypedRecord<DeploymentRecord> command, Throwable error) Description copied from interface:TypedRecordProcessor
Try to handle an error that occurred during processing.- Specified by:
tryHandleError
in interfaceTypedRecordProcessor<DeploymentRecord>
- Parameters:
command
- The command that was being processed when the error occurrederror
- The error that occurred, and the processor should attempt to handle- Returns:
- The type of the processing error. Default:
TypedRecordProcessor.ProcessingError.UNEXPECTED_ERROR
.
-