public interface KafkaClientSupplier
Modifier and Type | Method and Description |
---|---|
Consumer<byte[],byte[]> |
getConsumer(Map<String,Object> config)
Creates an instance of Consumer which is used to consume records of source topics.
|
Producer<byte[],byte[]> |
getProducer(Map<String,Object> config)
Creates an instance of Producer which is used to produce records.
|
Consumer<byte[],byte[]> |
getRestoreConsumer(Map<String,Object> config)
Creates an instance of Consumer which is used to consume records of internal topics.
|
Producer<byte[],byte[]> getProducer(Map<String,Object> config)
config
- producer config which supplied by StreamsConfig
given to KafkaStreams
Consumer<byte[],byte[]> getConsumer(Map<String,Object> config)
config
- consumer config which supplied by StreamsConfig
given to KafkaStreams
Consumer<byte[],byte[]> getRestoreConsumer(Map<String,Object> config)
config
- restore consumer config which supplied by StreamsConfig
given to
KafkaStreams