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

Auto topic creation causes failure with older clusters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0.0
    • 0.11.0.1, 1.0.0
    • connect
    • None

    Description

      The new automatic internal topic creation always tries to check the topic and create it if missing. However, older brokers that we should still be compatible with don't support some requests that are used. This results in an UnsupportedVersionException which some of the TopicAdmin code notes that it can throw but then isn't caught in the initializers, causing the entire process to fail.

      We should probably just catch it, log a message, and allow things to proceed hoping that the user has already created the topics correctly (as we used to do).

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch
              ewencp Ewen Cheslack-Postava
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: