[MetadataLoader id=1] initializeNewPublishers: the loader is still catching up because we still don't know the high water mark yet. (org.apache.kafka.image.loader.MetadataLoader)
[2023-10-16 17:21:22,649] INFO [RaftManager id=1] Node 2 disconnected. (org.apache.kafka.clients.NetworkClient)
[2023-10-16 17:21:22,649] WARN [RaftManager id=1] Connection to node 2 (localhost/127.0.0.1:9095) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2023-10-16 17:21:22,679] INFO [MetadataLoader id=1] initializeNewPublishers: the loader is still catching up because we still don't know the high water mark yet. (org.apache.kafka.image.loader.MetadataLoader)
[2023-10-16 17:21:22,755] WARN [RaftManager id=1] Graceful shutdown timed out after 5000ms (org.apache.kafka.raft.KafkaRaftClient)
[2023-10-16 17:21:22,758] ERROR [kafka-1-raft-io-thread]: Graceful shutdown of RaftClient failed (kafka.raft.KafkaRaftManager$RaftIoThread)
java.util.concurrent.TimeoutException: Timeout expired before graceful shutdown completed
Как эти 3 брокера запустить?
с initial.broker.registration.timeout.ms пробовали поиграть?
Нет, но мнре думается, тут дело не в таймауте, он не видит остальные брокеры.
а не проще ли поднять через компоуз эти же три брокера и не иметь проблем с localhost?
Пока изучаю Kafka по курсу, так что вот.
на всякий случай https://habr.com/ru/companies/otus/articles/670440/
Обсуждают сегодня