[
https://issues.apache.org/jira/browse/KAFKA-19941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18041528#comment-18041528
]
Rion Williams commented on KAFKA-19941:
---------------------------------------
I'd be interested in taking this if we elect to make a change. I'm not certain
if more tabs would be the answer in terms of improving readability. A few
options that come to mind off the top of my head would be:
*Indentation Approach*
{code:java}
Feature: metadata.version
SupportedMinVersion: 3.3-IV3
SupportedMaxVersion: 4.3-IV0
FinalizedVersionLevel: 3.9-IV0
Epoch: 408 {code}
*Table Approach*
{code:java}
Feature Min Max Finalized Epoch
-------------------------------------------------------------------
eligible.leader.replicas 0 1 0 408
group.version 0 1 0 408
kraft.version 0 1 1 408
metadata.version 3.3-IV3 4.3-IV0 3.9-IV0 408
share.version 0 1 0 408
streams.version 0 1 0 408
transaction.version 0 2 0 408 {code}
The primary concern here would be breaking any type of systems that might rely
on this process. A safer approach may be to introduce a separate optional
format parameter to control how the output is presented (e.g.
`./bin/kafka-features.sh --format=table`).
> Tidy up the output of `kafka-features.sh`
> -----------------------------------------
>
> Key: KAFKA-19941
> URL: https://issues.apache.org/jira/browse/KAFKA-19941
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
>
> Feature: eligible.leader.replicas.version SupportedMinVersion: 0
> SupportedMaxVersion: 1 FinalizedVersionLevel: 0 Epoch: 408
> Feature: group.version SupportedMinVersion: 0 SupportedMaxVersion: 1
> FinalizedVersionLevel: 0 Epoch: 408
> Feature: kraft.version SupportedMinVersion: 0 SupportedMaxVersion: 1
> FinalizedVersionLevel: 1 Epoch: 408
> Feature: metadata.version SupportedMinVersion: 3.3-IV3
> SupportedMaxVersion: 4.3-IV0 FinalizedVersionLevel: 3.9-IV0 Epoch: 408
> Feature: share.version SupportedMinVersion: 0 SupportedMaxVersion: 1
> FinalizedVersionLevel: 0 Epoch: 408
> Feature: streams.version SupportedMinVersion: 0 SupportedMaxVersion: 1
> FinalizedVersionLevel: 0 Epoch: 408
> Feature: transaction.version SupportedMinVersion: 0 SupportedMaxVersion: 2
> FinalizedVersionLevel: 0 Epoch: 408
> Perhaps it needs more tabs?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)