-->

DEVOPSZONES

  • Recent blogs

    kafka connection problem

    Kafka : Connection to node -1 could not be established. Broker may not be available

    kafka connection

    What is Kafka?


    Apache Kafka is an open-source stream-processing software platform developed by LinkedIn and donated to the Apache Software Foundation, written in Scala and Java. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds.

    Error: 

    Following Errors occurs when we have following causes:

    1. The Listener is not correct in server.properties file.
    2. The listener FQDN is not getting resolved.

    Resolution:


    1. Enter the Listener details correctly.

    Change in server.properties :

    #listeners=PLAINTEXT://:9092

    to

    listeners=PLAINTEXT://localhost:9092

    2. Make sure your FQDN is getting resolved.

    Now restart kafka Service.

    No comments