Troubleshooting
Problem
Kafka fails to start if SSL is enabled for the Kafka service. In addition, the ACL properties are not written to Kafka's configuration file, server.properties. Those problems only occur when Kafka is not configured to use Kerberos authentication.
Symptom
After enabling SSL and restarting Kafka from Ambari, the Kafka service is shown as stopped. The Kafka log under /var/log/kafka/kafka.out shows the following exception:
[2016-06-27 11:52:39,277] FATAL (kafka.Kafka$)
java.lang.IllegalArgumentException: requirement failed: security.inter.broker.protocol must be a protocol in the configured set of advertised.listeners. The valid options based on currently configured protocols are Set(SSL)
at scala.Predef$.require(Predef.scala:233)
at kafka.server.KafkaConfig.validateValues(KafkaConfig.scala:956)
at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:934)
at kafka.server.KafkaConfig$.fromProps(KafkaConfig.scala:698)
at kafka.server.KafkaConfig$.fromProps(KafkaConfig.scala:695)
at kafka.server.KafkaServerStartable$.fromProps(KafkaServerStartable.scala:28)
at kafka.Kafka$.main(Kafka.scala:58)
at kafka.Kafka.main(Kafka.scala).
[{"Product":{"code":"SSCRJT","label":"IBM Db2 Big SQL"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Open Source Tools","Platform":[{"code":"PF016","label":"Linux"}],"Version":"4.2.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
08 April 2021
UID
swg21986712