Home  >  Q&A  >  body text

kafka cannot connect to write

The error when calling the producer remotely to write data is as follows

ERROR Error when sending message to topic test with key: null, value: 6 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)

Kafka can produce and consume when connected locally

世界只因有你世界只因有你2683 days ago835

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-15 09:23:24

    vi config/server.properties

    Listeners listening annotation opens and specifies the current machine IP and port

    For details, please refer to the problem that kafka cannot connect remotely

    reply
    0
  • Cancelreply