Uses of Interface
io.camunda.zeebe.stream.api.ProcessingResultBuilder
Packages that use ProcessingResultBuilder
-
Uses of ProcessingResultBuilder in io.camunda.zeebe.stream.api
Methods in io.camunda.zeebe.stream.api that return ProcessingResultBuilderModifier and TypeMethodDescriptionProcessingResultBuilder.appendPostCommitTask(PostCommitTask task) Appends a task to be executed after a successful commit ProcessingResultBuilder (replacement for side effects)default ProcessingResultBuilderProcessingResultBuilder.appendRecord(long key, RecordType type, Intent intent, RejectionType rejectionType, String rejectionReason, RecordValue value) Appends a record to the resultProcessingResultBuilder.resetPostCommitTasks()Resets itself with the post commit tasks resetProcessingResultBuilder.withResponse(RecordType type, long key, Intent intent, UnpackedObject value, ValueType valueType, RejectionType rejectionType, String rejectionReason, long requestId, int requestStreamId) Sets the response for the result; will be overwritten if called more than onceMethods in io.camunda.zeebe.stream.api that return types with arguments of type ProcessingResultBuilderModifier and TypeMethodDescriptionProcessingResultBuilder.appendRecordReturnEither(long key, RecordType type, Intent intent, RejectionType rejectionType, String rejectionReason, RecordValue value) Appends a record to the result, returns anEither<RuntimeException,which indicates whether the appending was successful or not.ProcessingResultBuilder> Methods in io.camunda.zeebe.stream.api with parameters of type ProcessingResultBuilderModifier and TypeMethodDescriptionRecordProcessor.onProcessingError(Throwable processingException, TypedRecord record, ProcessingResultBuilder processingResultBuilder) Called by platform when a processing error occurred.RecordProcessor.process(TypedRecord record, ProcessingResultBuilder processingResultBuilder) Called by platform to process a single record.