Class EventPayloadKafkaMessageKeyProvider

    • Field Detail

      • eventField

        protected final String eventField
    • Constructor Detail

      • EventPayloadKafkaMessageKeyProvider

        public EventPayloadKafkaMessageKeyProvider​(String eventField)
    • Method Detail

      • determineMessageKey

        public Object determineMessageKey​(org.flowable.eventregistry.api.OutboundEvent<?> eventInstance)
        Description copied from interface: KafkaMessageKeyProvider
        Determine the record key for the outbound event. Can be null if you do not want to use a specific value.
        Specified by:
        determineMessageKey in interface KafkaMessageKeyProvider<Object>
        Parameters:
        eventInstance - the outbound event
        Returns:
        the record key to use