Hi - this is probably more a kerberos question than a Kafka issue - but will ask anyway.
I have a Kafka producer which intermittently fails with "Client not found in Kerberos database"
It works most of the time so suspect issue is with one of the KDCs (Active Directory), so I want to use debug logging to capture which KDC is giving the issue. The enterprise uses a DNS label for KDCs (ie KERBEROS.GROUP.COM) which returns a random list of 20+ KDCs, so each connection attempt uses a different IP.
If I set KRB5_TRACE variable on Linux, and use Linux kinit - I see the below type of output: