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
曾经蜡笔没有小新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