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

TimeoutException when Producer try to send message to Kafka Broker

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: clients, config
    • Labels:
      None

      Description

      Dear All,

       

      As I tried to setup new Kafka environment, even all work normally when I use consumer and producer binaries that shipped with Kafka source together. 

       

      However, when I ran small java application that create producer to send message of a topic to broker, but it has timeout exception with the message "Caused by: org.apache.kafka.common.errors.TimeoutException: Topic otp not present in metadata after 60000 ms."

       

      I checked some confluence pages related to Kafka but could not resolved yet.

       

      Please help me to resolve this as well ? and please see my file attachments for more details about broker information and sample source code.

      Best regards.

       

        Attachments

        1. console_consumer.png
          110 kB
          Nguyen Cong Hieu
        2. console_producer.png
          120 kB
          Nguyen Cong Hieu
        3. producerconfig.png
          104 kB
          Nguyen Cong Hieu
        4. producercreate.png
          85 kB
          Nguyen Cong Hieu
        5. serverconfig.png
          264 kB
          Nguyen Cong Hieu
        6. timeout_exception.png
          41 kB
          Nguyen Cong Hieu

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hieunc278 Nguyen Cong Hieu

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment