Class RuntimeKafkaSinkConfiguration
java.lang.Object
io.smallrye.reactive.messaging.kafka.impl.RuntimeKafkaSinkConfiguration
This class duplicate all configuration of the
KafkaConnectorOutgoingConfiguration that needs to be
access at runtime (as opposed to configuration time), meaning all the items that are access for each message.
Accessing configuration items via microprofile API is costly so we are better to cache them.-
Method Summary
Modifier and TypeMethodDescriptionbuildFromConfiguration(KafkaConnectorOutgoingConfiguration configuration) getKey()int
-
Method Details
-
buildFromConfiguration
public static RuntimeKafkaSinkConfiguration buildFromConfiguration(KafkaConnectorOutgoingConfiguration configuration) -
getPartition
public int getPartition() -
getKey
-
getCloudEventsSubject
-
getPropagateHeaders
-
getCloudEventsDataContentType
-
getCloudEventsDataSchema
-
getCloudEventsSource
-
getCloudEventsType
-
getCloudEventsInsertTimestamp
-
getPropagateRecordKey
-
getTracingEnabled
-