Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10154

Issue in updating metadata if not exists during sending message to different topics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5.0
    • None
    • producer
    • None

    Description

      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.

       

      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]

       

      Attachments

        1. Screenshot 2021-05-05 at 19.07.26.png
          364 kB
          Oleksandr Tomchakov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              DiptiGupta Dipti Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: