we are using NiFi to write/read data from Kafka and push that data to HBase. Kafka and HBase are on two different clusters and have two different Kerberos servers. We are facing an issue with connecting to both these systems at the same time. The Default Realm defined in krb5.conf is getting the preference and are able to connect to the system that's defined in default realm. we are giving the full usernames including the kerberos realms, but that's not helping us. Here's the detailed issue -
Kafka realm - ABC.COM
HBase realm - XYZ.com
default_realm specified in krb5.conf - XYZ.com
When trying to use Publish Kakfa with username kafkauser@ABC.com, we are getting error. On Kafka server, we are seeing an issue with user authentication saying that user kafkauser@XYZ.com/ABC.com is not found.
If we change the default realm to ABC.com, publish kafka is working fine without any issues, but HBase is getting issues.
If we remove the default realm all together, none of the processors work.
If there any way to get around this default_realm issue?