Interface KafkaMessageKeyProvider<K>
-
- Type Parameters:
K- The type of the record key
- All Known Implementing Classes:
EventPayloadKafkaMessageKeyProvider
public interface KafkaMessageKeyProvider<K>This interface provides a way to determine the record key that needs to be sent for a particular message- Author:
- Roman Saratz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KdetermineMessageKey(org.flowable.eventregistry.api.OutboundEvent<?> outboundEvent)Determine the record key for the outbound event.
-
-
-
Method Detail
-
determineMessageKey
K determineMessageKey(org.flowable.eventregistry.api.OutboundEvent<?> outboundEvent)
Determine the record key for the outbound event. Can benullif you do not want to use a specific value.- Parameters:
outboundEvent- the outbound event- Returns:
- the record key to use
-
-