| Package | Description |
|---|---|
| io.debezium.kafka |
| Modifier and Type | Method and Description |
|---|---|
KafkaCluster.InteractiveProducer<String,io.debezium.document.Document> |
KafkaCluster.Usage.createProducer(String producerName)
Create an
simple producer that can be used to write Document messages 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 an
simple producer that can be used to write messages to the cluster. |
KafkaCluster.InteractiveProducer<K,V> |
KafkaCluster.InteractiveProducer.write(org.apache.kafka.clients.producer.ProducerRecord<K,V> record)
Write the specified record to the topic with the given name.
|
default KafkaCluster.InteractiveProducer<K,V> |
KafkaCluster.InteractiveProducer.write(String topic,
K key,
V value)
Write to the topic with the given name a record with the specified key and value.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> void |
KafkaCluster.Usage.produce(String producerName,
Consumer<KafkaCluster.InteractiveProducer<String,io.debezium.document.Document>> producer)
Use the supplied function to asynchronously produce
Document messages 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.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.