You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/06/02 19:09:24 UTC

[GitHub] [kafka] jsancio commented on pull request #8639: KAFKA-9962: Make the auth operations fields ignorable

jsancio commented on pull request #8639:
URL: https://github.com/apache/kafka/pull/8639#issuecomment-637749796


   > Well, the client can handle the `UnsupportedVersionException and stop requesting the authorized operations.
   
   This is not fine grain enough for all cases. There are already a few reasons why the call may throw an `UnsupportedVersionException`. This is one example:
   
   https://github.com/jsancio/kafka/blob/kafka-9962-ignorable-auth-ops/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L1681-L1687
   
   I have added compatibility tests that verify that the client return `null` when describe topics against a cluster version that doesn't support this feature.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org