Skip to content

Cloud Subscriber Configuration

Version: 1.0.0

The com.eurotech.framework.kafka.client.cloudconnection.subscriber.KafkaClientSubscriber allows interaction with the KafkaConsumer instance of the Cloud Connection. The configuration properties for the subscriber are detailed below.

Events received by the underlying KafkaConsumer are of type ProducerRecord. Such records have a fixed type for the key and the value and are deserialized as follows:

Topic

Required field, sets the topic to which subscribe. Valid characters for Kafka topics match the following pattern:

[a-zA-Z0-9\._\-]
However, one thing to keep in mind is that due to limitations in metric names, topics with a period (.) or underscore (_) could collide. To avoid issues it is best to use either, but not both.