AdminClient getAdminClient(
final Map<String, Object> config)
KafkaClientSupplier Contract — Suppliers of Kafka AdminClient, Consumers and Producers
KafkaClientSupplier is the contract of Kafka client suppliers that provide (supply) Kafka clients, i.e. AdminClient, Kafka Consumers (getConsumer, getGlobalConsumer and getRestoreConsumer) and a Kafka Producer.
| Method | Description |
|---|---|
|
A Kafka AdminClient (for KafkaStreams) Used exclusively when |
|
A Kafka Consumer (for TaskManager and StreamThread) Used exclusively when |
|
A Kafka Consumer (for GlobalStreamThread) Used exclusively when |
|
A Kafka Producer (for StreamThreads and TaskCreator) Used when:
|
|
A Kafka Consumer (for StoreChangelogReader, TaskManager and StreamThread) Used exclusively when |
|
Note
|
DefaultKafkaClientSupplier is the one and only known implementation of the KafkaClientSupplier Contract. |