Products | Versions |
---|---|
TIBCO Streaming | 10.6 and later |
When a Streaming application using the Kafka adapter is started, a fatal error occurs:
2021-10-28 13:48:58.015000-0400 [23876:OperatorThread(default.OutputAdapter.KafkaProducer)] ERROR com.streambase.sb.adapter.kafka.KafkaProducer.default.OutputAdapter: Fatal error ... : Caused by: javax.security.auth.login.LoginException: Could not login: the client is being asked for a password, but the Kafka client code does not currently support obtaining a password from the user. not available to garner authentication information from the user
StreamBaseEngine = { jvmArgs = [ "-Djava.security.auth.login.config=C:/configs/kafka_client_jaas.conf" "-Djava.security.krb5.conf=C:/configs/krb5.conf" "-Dsun.security.krb5.debug=true" ] }
KafkaClient { com.sun.security.auth.module.Krb5LoginModule required serviceName="kafka" useKeyTab=true debug=true keyTab="C:/keytabs/user1.user.keytab" principal="user1/@KAFKA.SECURE"; };
StreamBaseEngine = { jvmArgs = [ "-Djava.security.auth.login.config=C:/configs/kafka_client_jaas.conf" "-Djava.security.krb5.conf=C:/configs/krb5.conf" "-Dsun.security.krb5.debug=true" ] }