public class EventPayloadKafkaPartitionProvider extends Object implements KafkaPartitionProvider
| Modifier and Type | Field and Description |
|---|---|
protected String |
eventField |
| Constructor and Description |
|---|
EventPayloadKafkaPartitionProvider(String eventField) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
determinePartition(org.flowable.eventregistry.api.OutboundEvent<?> outboundEvent)
Determine the partition for the outbound event.
|
protected Integer |
parseValue(Object value) |
protected final String eventField
public EventPayloadKafkaPartitionProvider(String eventField)
public Integer determinePartition(org.flowable.eventregistry.api.OutboundEvent<?> outboundEvent)
KafkaPartitionProvidernull if you want to use the Kafka default partitioner.determinePartition in interface KafkaPartitionProvideroutboundEvent - the outbound eventnull if you want to use the Kafka default partionerCopyright © 2022 Flowable. All rights reserved.