The use case is following. I am passing producer or consumer reference over many objects instances in Java code. At some of them I would like to do some checks for the Kafka configuration. It means I would like to get back, what effective configuration is stored in Kafka Producer/Consumer (including defaults). I do not see anthing explicit in java docs:
So, how to get back Kafka producer and consumer configuration?