Help Center/
MapReduce Service/
Developer Guide (Normal_Earlier Than 3.x)/
Kafka Development Guide/
FAQs About Kafka Application Development/
What Do I Do if Metadata Fails to Be Obtained by Running the Producer.java Sample?
Updated on 2024-08-16 GMT+08:00
What Do I Do if Metadata Fails to Be Obtained by Running the Producer.java Sample?
Troubleshooting Procedure
- Find bootstrap.servers in client.properties under the conf directory of the project, and check whether the IP address and port ID are configured correctly.
- If the IP address is inconsistent with the service IP address of the Kafka cluster, change the IP address to the correct one.
- If the port ID is 21007 (port with Kerberos authentication enabled), change it to 9092 (port with Kerberos authentication disabled).
- Check whether network connections are correct to ensure that the current device can access the Kafka cluster normally.
Parent topic: FAQs About Kafka Application Development
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot