[ 
https://issues.apache.org/jira/browse/KAFKA-10154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17326101#comment-17326101
 ] 

Taras Danylchuk commented on KAFKA-10154:
-----------------------------------------

We are experiencing the same issue when trying to send messages to different 
topics within the same thread.

Producer version 2.5.1

> 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
>            Priority: Major
>
> 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)

Reply via email to