AndrewJSchofield opened a new pull request, #19328:
URL: https://github.com/apache/kafka/pull/19328

   This PR approaches completion of Admin.listShareGroupOffsets() and 
kafka-share-groups.sh --describe --offsets.
   
   Prior to this patch, kafka-share-groups.sh was only able to describe the 
offsets for partitions which were assigned to active members. Now, the 
Admin.listShareGroupOffsets() uses the persister's knowledge of the 
share-partitions which have initialised state. Then, it uses this list to 
obtain a complete set of offset information.
   
   The PR also implements the topic-based authorisation checking. If 
Admin.listShareGroupOffsets() is called with a list of topic-partitions 
specified, the authz checking is performed on the supplied list, returning 
errors for any topics to which the client is not authorised. If 
Admin.listShareGroupOffsets() is called without a list of topic-partitions 
specified, the list of topics is discovered from the persister as described 
above, and then the response is filtered down to only show the topics to which 
the client is authorised. This is consistent with other similar RPCs in the 
Kafka protocol, such as OffsetFetch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to