Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If nodeId is valid, the Admin client sends ApiVersionRequest to a node with nodeId.

  • If nodeId is not registered, the Admin client throws BrokerIdNotRegisteredException.

kafka-features.sh

  • The empty —-node-id can work as usual.

  • If nodeId is negative, the FeatureCommand throws IllegalArgumentException.

  • If nodeId is valid, the FeatureCommand get gets ApiVersionResponse from a node with nodeId.

Rejected Alternatives

  • If nodeId is not registered, the FeatureCommand throws BrokerIdNotRegisteredException.

Alternatives

Use metrics to track finalized level and minimum / maximum supported level. The approach has been accepted in KIP-1180: Add generic feature level metrics.N/A