Class NoopTypedStreamWriter
- java.lang.Object
-
- io.camunda.zeebe.engine.processing.streamprocessor.writers.NoopTypedStreamWriter
-
- All Implemented Interfaces:
TypedCommandWriter
,TypedEventWriter
,TypedRejectionWriter
,TypedStreamWriter
public final class NoopTypedStreamWriter extends Object implements TypedStreamWriter
-
-
Constructor Summary
Constructors Constructor Description NoopTypedStreamWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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()
void
reset()
-
-
-
Method Detail
-
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
public void appendFollowUpEvent(long key, Intent intent, RecordValue value)
- Specified by:
appendFollowUpEvent
in interfaceTypedEventWriter
-
appendNewCommand
public void appendNewCommand(Intent intent, RecordValue value)
- Specified by:
appendNewCommand
in interfaceTypedCommandWriter
-
appendFollowUpCommand
public void appendFollowUpCommand(long key, Intent intent, RecordValue value)
- 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
-
-