Versions Compared

Key

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

...

Should an Admin client with this new functionality be used against an old broker that cannot handle these requests then the methods will throw UnsupportedVersionException as per the usual patternrevert to this previous behaviour where each group id is treated as a separate call to the old API.

Rejected Alternatives

  • Replace the existing listConsumerGroupOffsets methods with new methods with the multiple group signature. This simplifies the AdminClient interface but it’s assumed that the primary use case for fetching offsets will still be for a single group and so we should favour this in the interfaces.