Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9988; nested exception is: 
        java.net.BindException: Address already in use

 kafka-run-class.sh  里面改动

加以下一句

ISKAFKASERVER="false"
if [[ "$*" =~ "kafka.Kafka" ]]; then
    ISKAFKASERVER="true"
fi

改动这一行

if [  $JMX_PORT ] && [ -z "$ISKAFKASERVER" ]; then

kafka 创建 topic 报错 Error: Exception thrown by the agent : java.rmi.server.ExportException: Port alrea 

参考 https://github.com/apache/kafka/pull/1983/commits/2c5d40e946bcc149b1a9b2c01eced4ae47a734c5  

相关文章:

  • 2021-12-26
  • 2022-01-18
  • 2022-12-23
  • 2022-03-02
  • 2019-03-02
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-08
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2021-05-07
  • 2021-09-07
  • 2021-09-02
相关资源
相似解决方案