hachikuji commented on pull request #8989:
URL: https://github.com/apache/kafka/pull/8989#issuecomment-654473290


   @abbccdda Thanks for the quick fix. I am wondering if we have a similar 
problem with authorized operations:
   ```
         { "name": "AuthorizedOperations", "type": "int32", "versions": "3+",  
"default": "-2147483648",
           "about": "32-bit bitfield to represent authorized operations for 
this group." }
   ```
   The code for setting this field is here:
   ```
           if (request.header.apiVersion >= 3) {
             if (error == Errors.NONE && 
describeRequest.data().includeAuthorizedOperations()) {
               
describedGroup.setAuthorizedOperations(authorizedOperations(request, new 
Resource(ResourceType.GROUP, groupId)))
             } else {
               describedGroup.setAuthorizedOperations(0)
             }
           }
   ```
   The field is not ignorable and 0 is not the default. Can you check whether 
this is a problem?


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to