Interface KafkaEventWriter
-
- All Known Implementing Classes:
RawJsonEventWriter
public interface KafkaEventWriterImplements the logic to convert an object into the byte[] being published into a Kafka Record
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]writeEvent(org.kie.api.runtime.process.ProcessInstance processInstance, Object value)Converts from object to byte[]
-
-
-
Method Detail
-
writeEvent
byte[] writeEvent(org.kie.api.runtime.process.ProcessInstance processInstance, Object value) throws IOExceptionConverts from object to byte[]- Parameters:
processInstance- Contains process instance information that might be needed when building the eventvalue- object to be converted into byte[]- Returns:
- byte[] generated from object
- Throws:
IOException- if any input output exception occurs
-
-