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

The admin.listeners config has wonky valid values in the docs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • connect, docs
    • None

    Description

      Noticed this while updating the docs for the 2.6.2 release, the docs for these configs are generated from the config definition, including info such as default, type, valid values, etc.

      When defining WorkerConfig.ADMIN_LISTENERS_CONFIG we seem to pass an actual `new AdminListenersValidator()` object in for the "valid values" parameter, causing this field to display some wonky useless object reference in the docs. See https://kafka.apache.org/documentation/#connectconfigs_admin.listeners:

      Valid Values: org.apache.kafka.connect.runtime.WorkerConfig$AdminListenersValidator@383534aa

      Attachments

        Issue Links

          Activity

            People

              showuon Luke Chen
              ableegoldman A. Sophie Blee-Goldman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: