Class NoopTypedStreamWriter
java.lang.Object
io.camunda.zeebe.engine.processing.streamprocessor.writers.NoopTypedStreamWriter
- All Implemented Interfaces:
TypedCommandWriter
,TypedEventWriter
,TypedRejectionWriter
,TypedStreamWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendFollowUpCommand
(long key, Intent intent, RecordValue value) void
appendFollowUpEvent
(long key, Intent intent, RecordValue value) void
appendNewCommand
(Intent intent, RecordValue value) void
appendRejection
(TypedRecord<? extends RecordValue> command, RejectionType type, String reason) void
configureSourceContext
(long sourceRecordPosition) long
flush()
int
void
reset()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.writers.TypedEventWriter
canWriteEventOfLength
-
Constructor Details
-
NoopTypedStreamWriter
public NoopTypedStreamWriter()
-
-
Method Details
-
appendRejection
public void appendRejection(TypedRecord<? extends RecordValue> command, RejectionType type, String reason) - Specified by:
appendRejection
in interfaceTypedRejectionWriter
-
configureSourceContext
public void configureSourceContext(long sourceRecordPosition) - Specified by:
configureSourceContext
in interfaceTypedStreamWriter
-
appendFollowUpEvent
- Specified by:
appendFollowUpEvent
in interfaceTypedEventWriter
-
getMaxEventLength
public int getMaxEventLength()- Specified by:
getMaxEventLength
in interfaceTypedEventWriter
- Returns:
- the maximum event length
-
appendNewCommand
- Specified by:
appendNewCommand
in interfaceTypedCommandWriter
-
appendFollowUpCommand
- Specified by:
appendFollowUpCommand
in interfaceTypedCommandWriter
-
reset
public void reset()- Specified by:
reset
in interfaceTypedCommandWriter
-
flush
public long flush()- Specified by:
flush
in interfaceTypedCommandWriter
- Returns:
- position of new record, negative value on failure
-