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

Add documentation to CreateTopicsResult#config to remind users that both "type" and "document" are null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.9.0
    • None
    • None

    Description

      CreateTopicsResult#config [0] always has null type and null document, since kafka protocol does not declare those fields[1]. However, CreateTopicsResult#config reuse the class `ConfigEntry`, and so users may expect those fields are defined too.

      [0] https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/admin/CreateTopicsResult.java#L68
      [1] https://github.com/apache/kafka/blob/trunk/clients/src/main/resources/common/message/CreateTopicsResponse.json#L55

      Attachments

        Issue Links

          Activity

            People

              mingyen066 Ming-Yen Chung
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: