Kafka - Broker Api Version

Kafka Commit Log Messaging Process

About

This tool displays the API versions of all the nodes in the cluster.

kafka-broker-api-versions --bootstrap-server localhost:9092
0a6d291a2788:9092 (id: 0 rack: null) -> (
        Produce(0): 0 to 3 [usable: 3],
        Fetch(1): 0 to 5 [usable: 5],
        Offsets(2): 0 to 2 [usable: 2],
        Metadata(3): 0 to 4 [usable: 4],
        LeaderAndIsr(4): 0 [usable: 0],
        StopReplica(5): 0 [usable: 0],
        UpdateMetadata(6): 0 to 3 [usable: 3],
        ControlledShutdown(7): 1 [usable: 1],
        OffsetCommit(8): 0 to 3 [usable: 3],
        OffsetFetch(9): 0 to 3 [usable: 3],
        FindCoordinator(10): 0 to 1 [usable: 1],
        JoinGroup(11): 0 to 2 [usable: 2],
        Heartbeat(12): 0 to 1 [usable: 1],
        LeaveGroup(13): 0 to 1 [usable: 1],
        SyncGroup(14): 0 to 1 [usable: 1],
        DescribeGroups(15): 0 to 1 [usable: 1],
        ListGroups(16): 0 to 1 [usable: 1],
        SaslHandshake(17): 0 [usable: 0],
        ApiVersions(18): 0 to 1 [usable: 1],
        CreateTopics(19): 0 to 2 [usable: 2],
        DeleteTopics(20): 0 to 1 [usable: 1],
        DeleteRecords(21): 0 [usable: 0],
        InitProducerId(22): 0 [usable: 0],
        OffsetForLeaderEpoch(23): 0 [usable: 0],
        AddPartitionsToTxn(24): 0 [usable: 0],
        AddOffsetsToTxn(25): 0 [usable: 0],
        EndTxn(26): 0 [usable: 0],
        WriteTxnMarkers(27): 0 [usable: 0],
        TxnOffsetCommit(28): 0 [usable: 0],
        DescribeAcls(29): 0 [usable: 0],
        CreateAcls(30): 0 [usable: 0],
        DeleteAcls(31): 0 [usable: 0],
        DescribeConfigs(32): 0 [usable: 0],
        AlterConfigs(33): 0 [usable: 0]
)

  • On the left are APIs.
  • On the right are the range of version which the broker supports.
  • The usable version shown in brackets is the highest version which both the broker and the current client software support.

Topics listed as UNSUPPORTED appears like that:

CreateTopics(19): UNSUPPORTED,
   DeleteTopics(20): UNSUPPORTED

Documentation / Reference





Discover More
Kafka Commit Log Messaging Process
Kafka - Broker Api Version

This tool displays the API versions of all the nodes in the cluster. On the left are APIs. On the right are the range of version which the broker supports. The usable version shown in brackets...



Share this page:
Follow us:
Task Runner