Spring Kafka: Topic <topicName> not present in metadata after 60000ms
09:59 23 Sep 2026

This is the 2nd time I have observed that my Spring Boot 4 application has an error while sending a message to Kafka topic

Where it happened: Production (Kafka broker managed by Confluent)

Exact error message: org.apache.kafka.common.errors.TimeoutException: Topic not present in metadata after 60000ms

What fixes it: Pod restart. You just restart the pod and the producer seems to be getting the required topic metadata.

Spring Boot version: 4.0.5

Spring Kafka version: 4.0.5

Broker version: To be checked. Although, the same thing happened on my NONPROD environment, where we have version 3.3.2.

Have others faced this issue and how did you fix it long-term?

spring spring-boot apache-kafka spring-kafka