Class EventPayloadKafkaMessageKeyProvider
java.lang.Object
org.flowable.eventregistry.spring.kafka.payload.EventPayloadKafkaMessageKeyProvider
- All Implemented Interfaces:
KafkaMessageKeyProvider<Object>
public class EventPayloadKafkaMessageKeyProvider
extends Object
implements KafkaMessageKeyProvider<Object>
- Author:
- Roman Saratz
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetermineMessageKey(OutboundEvent<?> eventInstance) Determine the record key for the outbound event.
-
Field Details
-
eventField
-
-
Constructor Details
-
EventPayloadKafkaMessageKeyProvider
-
-
Method Details
-
determineMessageKey
Description copied from interface:KafkaMessageKeyProviderDetermine the record key for the outbound event. Can benullif you do not want to use a specific value.- Specified by:
determineMessageKeyin interfaceKafkaMessageKeyProvider<Object>- Parameters:
eventInstance- the outbound event- Returns:
- the record key to use
-