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

Improve DumpLogSegments offsets-decoder output format

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: tools
    • Labels:
      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

          Activity

            People

            • Assignee:
              vahid Vahid Hashemian
              Reporter:
              hachikuji Jason Gustafson

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment