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

Improve DumpLogSegments offsets-decoder output format

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • tools
    • None

    Description

      When using the DumpLogSegments with the "--offsets-decoder" option (for consuming __consumer_offsets), the encoding of group metadata makes it a little difficult to identify individual fields. In particular, we use the following formatted string for group metadata:

      ${protocolType}:${groupMetadata.protocol}:${groupMetadata.generationId}:${assignment}
      

      Keys have a similar formatting. Most users are probably not going to know which field is which based only on the output, so it would be helpful to include field names. Maybe we could just output a JSON object?

      Attachments

        Issue Links

          Activity

            People

              vahid Vahid Hashemian
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: