Interface IncomingKafkaCloudEventMetadata<K,T>
-
- Type Parameters:
T- the data type
- All Superinterfaces:
io.smallrye.reactive.messaging.ce.CloudEventMetadata<T>,io.smallrye.reactive.messaging.ce.IncomingCloudEventMetadata<T>
- All Known Implementing Classes:
DefaultIncomingKafkaCloudEventMetadata
public interface IncomingKafkaCloudEventMetadata<K,T> extends io.smallrye.reactive.messaging.ce.IncomingCloudEventMetadata<T>Addition "extension" attribute specific to incoming Kafka record
-
-
Field Summary
Fields Modifier and Type Field Description static StringCE_KAFKA_KEYExtension - attribute name associated with the record's key.static StringCE_KAFKA_TOPICExtension - attribute name associated with the record's topic.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default KgetKey()default StringgetTopic()
-
-
-
Field Detail
-
CE_KAFKA_KEY
static final String CE_KAFKA_KEY
Extension - attribute name associated with the record's key. Defined in the Kafka Protocol Binding for Cloud Events- See Also:
- Constant Field Values
-
CE_KAFKA_TOPIC
static final String CE_KAFKA_TOPIC
Extension - attribute name associated with the record's topic.- See Also:
- Constant Field Values
-
-