public interface KafkaClientSupplier
KafkaClientSupplier can be used to provide custom Kafka clients to a KafkaStreams instance.| Modifier and Type | Method and Description |
|---|---|
AdminClient |
getAdminClient(java.util.Map<java.lang.String,java.lang.Object> config)
Create an
AdminClient which is used for internal topic management. |
Consumer<byte[],byte[]> |
getConsumer(java.util.Map<java.lang.String,java.lang.Object> config)
Create a
Consumer which is used to read records of source topics. |
Consumer<byte[],byte[]> |
getGlobalConsumer(java.util.Map<java.lang.String,java.lang.Object> config)
Create a
Consumer which is used to consume records for GlobalKTable. |
Producer<byte[],byte[]> |
getProducer(java.util.Map<java.lang.String,java.lang.Object> config)
Create a
Producer which is used to write records to sink topics. |
Consumer<byte[],byte[]> |
getRestoreConsumer(java.util.Map<java.lang.String,java.lang.Object> config)
Create a
Consumer which is used to read records to restore StateStores. |
AdminClient getAdminClient(java.util.Map<java.lang.String,java.lang.Object> config)
AdminClient which is used for internal topic management.config - Supplied by the Properties given to the KafkaStreamsAdminClientProducer<byte[],byte[]> getProducer(java.util.Map<java.lang.String,java.lang.Object> config)
Producer which is used to write records to sink topics.config - producer config which is supplied by the
Properties given to the KafkaStreams instanceConsumer<byte[],byte[]> getConsumer(java.util.Map<java.lang.String,java.lang.Object> config)
Consumer which is used to read records of source topics.config - consumer config which is
supplied by the Properties given to the KafkaStreams instanceConsumer<byte[],byte[]> getRestoreConsumer(java.util.Map<java.lang.String,java.lang.Object> config)
Consumer which is used to read records to restore StateStores.config - restore consumer config which is supplied
by the Properties given to the KafkaStreamsConsumer<byte[],byte[]> getGlobalConsumer(java.util.Map<java.lang.String,java.lang.Object> config)
Consumer which is used to consume records for GlobalKTable.config - global consumer config which is supplied
by the Properties given to the KafkaStreams