Class EventPayloadKafkaPartitionProvider
java.lang.Object
org.flowable.eventregistry.spring.kafka.EventPayloadKafkaPartitionProvider
- All Implemented Interfaces:
KafkaPartitionProvider
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeterminePartition(OutboundEvent<?> outboundEvent) Determine the partition for the outbound event.protected IntegerparseValue(Object value)
-
Field Details
-
eventField
-
-
Constructor Details
-
EventPayloadKafkaPartitionProvider
-
-
Method Details
-
determinePartition
Description copied from interface:KafkaPartitionProviderDetermine the partition for the outbound event. Can benullif you want to use the Kafka default partitioner.- Specified by:
determinePartitionin interfaceKafkaPartitionProvider- Parameters:
outboundEvent- the outbound event- Returns:
- the partition to send to, or
nullif you want to use the Kafka default partioner
-
parseValue
-