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

Infinite Loop in producing event to kafka

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Kafka 2.4.1
      Kafka Connect 5.4.3

    Description

      Marked as a bug, but depends on what configuration means.

      We are using AWS RDS as a Postgres database based on Postgres 11 version.
      We are using Debezium 1.4.1 version with pgoutput and outbox router. 
      Recently, I've been testing what will happen if the topic will not be configured in Kafka.
      Normally, in that case, connector login warns & stuck in an infinite loop as the task is unable to produce an event to Kafka:

       WARN [Producer clientId=connector-producer-piotrek-test-3.outbox_events_debezium_connector-0] Error while fetching metadata with correlation id 3884 : {piotrek-test-123.partners.feature-flag-events=UNKNOWN_TOPIC_OR_PARTITION} (org.apache.kafka.clients.NetworkClient)
      
      

      I've confirmed with the Debezium team that this issue is not in the connector logic scope. From my guess, it needs to be on Kafka or Kafka Connect level.  

      The worst thing is that even when I've disabled the connector, & task logs still have been produced to console no matter what I've done. So in that case, we can not really on task statuses to check is pipeline working, we need to verify it on logs level. 

      More info in

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Argonus Piotr Rybarczyk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: