Dipti Gupta created KAFKA-10154: ----------------------------------- Summary: Issue in updating metadata if not exists during sending message to different topics Key: KAFKA-10154 URL: https://issues.apache.org/jira/browse/KAFKA-10154 Project: Kafka Issue Type: Bug Components: producer Affects Versions: 2.5.0 Reporter: Dipti Gupta
Project with following behaviour at : [https://github.com/DiptiGupta/kafka-producer-issue] I took reference to this fixed issue https://issues.apache.org/jira/browse/KAFKA-8623 But on latest version, I'm getting following exception during sending messages to different topics i.e. Topic1 and Topic2. It's causing exception for once when metadata for *`Topic2`* doesn't exist. {code:java} org.springframework.kafka.KafkaException: Send failed; nested exception is org.apache.kafka.common.errors.TimeoutException: Topic Topic2 not present in metadata after 10000 ms.org.springframework.kafka.KafkaException: Send failed; nested exception is org.apache.kafka.common.errors.TimeoutException: Topic Topic2 not present in metadata after 10000 ms. at org.springframework.kafka.core.KafkaTemplate.doSend(KafkaTemplate.java:570) ~[spring-kafka-2.5.1.RELEASE.jar:2.5.1.RELEASE]{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)