Class KafkaConsumerRecordInboundEvent
- java.lang.Object
-
- org.flowable.eventregistry.spring.kafka.KafkaConsumerRecordInboundEvent
-
- All Implemented Interfaces:
org.flowable.eventregistry.api.InboundEvent
public class KafkaConsumerRecordInboundEvent extends Object implements org.flowable.eventregistry.api.InboundEvent
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.kafka.clients.consumer.ConsumerRecord<?,?>consumerRecordprotected Map<String,Object>headers
-
Constructor Summary
Constructors Constructor Description KafkaConsumerRecordInboundEvent(org.apache.kafka.clients.consumer.ConsumerRecord<?,?> consumerRecord)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetBody()Map<String,Object>getHeaders()ObjectgetRawEvent()protected Map<String,Object>retrieveHeaders()
-
-
-
Method Detail
-
getRawEvent
public Object getRawEvent()
- Specified by:
getRawEventin interfaceorg.flowable.eventregistry.api.InboundEvent
-
getBody
public Object getBody()
- Specified by:
getBodyin interfaceorg.flowable.eventregistry.api.InboundEvent
-
getHeaders
public Map<String,Object> getHeaders()
- Specified by:
getHeadersin interfaceorg.flowable.eventregistry.api.InboundEvent
-
-