Interface TypedStreamWriter
-
- All Superinterfaces:
TypedCommandWriter
- All Known Implementing Classes:
NoopTypedStreamWriter,ReprocessingStreamWriter,TypedStreamWriterImpl,TypedStreamWriterProxy
public interface TypedStreamWriter extends TypedCommandWriter
Things that only a stream processor should write to the log stream (+ commands)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendFollowUpEvent(long key, Intent intent, UnpackedObject value)voidappendFollowUpEvent(long key, Intent intent, UnpackedObject value, Consumer<RecordMetadata> metadata)voidappendNewEvent(long key, Intent intent, UnpackedObject value)voidappendRejection(TypedRecord<? extends UnpackedObject> command, RejectionType type, String reason)voidappendRejection(TypedRecord<? extends UnpackedObject> command, RejectionType type, String reason, Consumer<RecordMetadata> metadata)voidconfigureSourceContext(long sourceRecordPosition)-
Methods inherited from interface io.zeebe.engine.processing.streamprocessor.writers.TypedCommandWriter
appendFollowUpCommand, appendFollowUpCommand, appendNewCommand, flush, reset
-
-
-
-
Method Detail
-
appendRejection
void appendRejection(TypedRecord<? extends UnpackedObject> command, RejectionType type, String reason)
-
appendRejection
void appendRejection(TypedRecord<? extends UnpackedObject> command, RejectionType type, String reason, Consumer<RecordMetadata> metadata)
-
appendNewEvent
void appendNewEvent(long key, Intent intent, UnpackedObject value)
-
appendFollowUpEvent
void appendFollowUpEvent(long key, Intent intent, UnpackedObject value)
-
appendFollowUpEvent
void appendFollowUpEvent(long key, Intent intent, UnpackedObject value, Consumer<RecordMetadata> metadata)
-
configureSourceContext
void configureSourceContext(long sourceRecordPosition)
-
-