Class KafkaConsumerRecordInboundEvent

  • All Implemented Interfaces:
    org.flowable.eventregistry.api.InboundEvent

    public class KafkaConsumerRecordInboundEvent
    extends Object
    implements org.flowable.eventregistry.api.InboundEvent
    Author:
    Filip Hrisafov
    • Field Detail

      • consumerRecord

        protected final org.apache.kafka.clients.consumer.ConsumerRecord<?,​?> consumerRecord
    • Constructor Detail

      • KafkaConsumerRecordInboundEvent

        public KafkaConsumerRecordInboundEvent​(org.apache.kafka.clients.consumer.ConsumerRecord<?,​?> consumerRecord)
    • Method Detail

      • getRawEvent

        public Object getRawEvent()
        Specified by:
        getRawEvent in interface org.flowable.eventregistry.api.InboundEvent
      • getBody

        public Object getBody()
        Specified by:
        getBody in interface org.flowable.eventregistry.api.InboundEvent
      • getHeaders

        public Map<String,​Object> getHeaders()
        Specified by:
        getHeaders in interface org.flowable.eventregistry.api.InboundEvent