Package org.eso.ias.kafkautils
package org.eso.ias.kafkautils
A collection of Kafka utilities.
- Author:
- acaproni
-
ClassDescriptionFilteredKafkaIasiosConsumer allows to set a custom filter on top of the Kafka consumer.The filter to apply to IASValuesA helper class providing useful methods and constants for KafkaExtends
SimpleKafkaIasiosConsumer
providing filtering by IDs and types.KafkaIasioProducer writesIASValue
in the kafka topic by delegating toSimpleStringProducer
A generic kafka consumer that forwards all the strings received in each message to the listener.The start position when connecting to a kafka topic for reading stringsThe interface for the listener of stringsException retunrd by classes in KafkaUtils moduleKafkaIasiosConsumer gets the strings from the passed IASIO kafka topic from theKafkaStringsConsumer
and forwards the IASIOs to the listener.The listener to be notified of Iasios read from the kafka topic./** Generic Kafka consumer to get strings from a kafka topic.The listener to be notified of strings read from the kafka topic.SimpleStringProducer pushes strings on a Kafka topic.