How to return configuration and Kafka configuration (Java API)?

An example of use is as follows. I am passing a producer or consumer link in many instances of objects in Java code. In some of them, I would like to do some Kafka configuration checks. This means that I would like to return to what effective configuration is stored in Kafka Producer / Consumer (including default values). I don't see anything explicit in java docs:

So how to get back Kafka configuration and setup?

+4
source share
1 answer

, . , ( , "" ). , , - / , . , , , .

+3

Source: https://habr.com/ru/post/1690319/


All Articles