Uses of Interface
io.debezium.kafka.KafkaCluster.InteractiveProducer
Packages that use KafkaCluster.InteractiveProducer
-
Uses of KafkaCluster.InteractiveProducer in io.debezium.kafka
Methods in io.debezium.kafka that return KafkaCluster.InteractiveProducerModifier and TypeMethodDescriptionKafkaCluster.InteractiveProducer<String,io.debezium.document.Document> KafkaCluster.Usage.createProducer(String producerName) Create ansimple producerthat can be used to writeDocumentmessages to the cluster.<K,V> KafkaCluster.InteractiveProducer<K, V> KafkaCluster.Usage.createProducer(String producerName, org.apache.kafka.common.serialization.Serializer<K> keySerializer, org.apache.kafka.common.serialization.Serializer<V> valueSerializer) Create ansimple producerthat can be used to write messages to the cluster.default KafkaCluster.InteractiveProducer<K,V> Write to the topic with the given name a record with the specified key and value.KafkaCluster.InteractiveProducer.write(org.apache.kafka.clients.producer.ProducerRecord<K, V> record) Write the specified record to the topic with the given name.Method parameters in io.debezium.kafka with type arguments of type KafkaCluster.InteractiveProducerModifier and TypeMethodDescription<K,V> void KafkaCluster.Usage.produce(String producerName, Consumer<KafkaCluster.InteractiveProducer<String, io.debezium.document.Document>> producer) Use the supplied function to asynchronously produceDocumentmessages and write them to the cluster.<K,V> void KafkaCluster.Usage.produce(String producerName, org.apache.kafka.common.serialization.Serializer<K> keySerializer, org.apache.kafka.common.serialization.Serializer<V> valueSerializer, Consumer<KafkaCluster.InteractiveProducer<K, V>> producer) Use the supplied function to asynchronously produce messages and write them to the cluster.