kafka 소비 메시지 실패, 원래 설정 문제로 인해

1815 단어 error
14:46:14 [kafka-producer-network-thread | producer-1] ERROR o.s.k.s.LoggingProducerListener - Exception thrown when sending a message with key='null' and payload='{"depth":1,"direction":"SELL","highestPrice":1000.00000000,"items":[{"amount":2.00000000,"price":100...' to topic exchange-trade-plate:
org.apache.kafka.common.errors.TimeoutException: Batch containing 1 record(s) expired due to timeout while requesting metadata from brokers for exchange-trade-plate-0
14:46:14 [kafka-producer-network-thread | producer-1] ERROR o.s.k.s.LoggingProducerListener - Exception thrown when sending a message with key='null' and payload='{"depth":1,"direction":"BUY","highestPrice":800.00000000,"items":[{"amount":4.00000000,"price":800.0...' to topic exchange-trade-plate:
org.apache.kafka.common.errors.TimeoutException: Batch containing 1 record(s) expired due to timeout while requesting metadata from brokers for exchange-trade-plate-0
14:46:14 [kafka-producer-network-thread | producer-1] ERROR o.s.k.s.LoggingProducerListener - Exception thrown when sending a message with key='null' and payload='{"depth":1,"direction":"SELL","highestPrice":10.00000000,"items":[{"amount":105.80000000,"price":10....' to topic exchange-trade-plate:
org.apache.kafka.common.errors.TimeoutException: Batch containing 1 record(s) expired due to timeout while requesting metadata from brokers for exchange-trade-plate-0

서버 kafka에서 파일 서버를 설정합니다.properties 내부 네트워크 IP 및 외부 네트워크 액세스 IP 구성
broker.id=0
port=9092
host.name=172.31.1.200
advertised.host.name=47.244.122.144

좋은 웹페이지 즐겨찾기