Class EventPayloadKafkaPartitionProvider

    • Field Detail

      • eventField

        protected final String eventField
    • Constructor Detail

      • EventPayloadKafkaPartitionProvider

        public EventPayloadKafkaPartitionProvider​(String eventField)
    • Method Detail

      • determinePartition

        public Integer determinePartition​(org.flowable.eventregistry.api.OutboundEvent<?> outboundEvent)
        Description copied from interface: KafkaPartitionProvider
        Determine the partition for the outbound event. Can be null if you want to use the Kafka default partitioner.
        Specified by:
        determinePartition in interface KafkaPartitionProvider
        Parameters:
        outboundEvent - the outbound event
        Returns:
        the partition to send to, or null if you want to use the Kafka default partioner