kafka 실행하고 토픽 생성하려고 하는데 자꾸 이런 에러가 떳다
[Kafka] could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkCilent)
나는 계속 listeners=PLAINTEXT://:9092
이거를 주석 해제하고 있었는데, 그거 놔두고 advertised.listeners=PLAINTEXT://your.host.name:9092
이거를 로컬호스트로 해서 주석 푸니까 잘된다.
그리고 앱에서 실행하려면 bin/consumer.properties 에 적혀있는 group.id 맞춰줘야한다.