[ 
https://issues.apache.org/jira/browse/KAFKA-12224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268011#comment-17268011
 ] 

Ron Dagostino commented on KAFKA-12224:
---------------------------------------

My take on the request is as follows.  Let me know if it helps.

*First the header is serialized:*
requestApiKey=50 (0, 50)
requestApiVersion=0 (0, 0)
correlationId=1 (for example) (0, 0, 0, 1)
_version=2 and clientId="client-id" (for example) (0, 9, c, l, i, e, n, t, -, 
i, d)
_numTaggedFields=0 (and remains so) (0)

*Then the request data is serialized:*
users.size() + 1 = 3 (3)
  user[0]='user1' (6, u, s, e, r, 1)
  _numTaggedFields=0 for this UserName (0)
  user[1]='user1' (6, u, s, e, r, 1)
  _numTaggedFields=0 for this UserName (0)
_numTaggedFields=0 (for the Describe) (0)


> Api Request DescribeUserScramCredentials 
> -----------------------------------------
>
>                 Key: KAFKA-12224
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12224
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin, clients
>    Affects Versions: 2.7.0
>            Reporter: Ronald Lampard
>            Priority: Major
>
> The issue is:
> The broker I run (2.7.0) does not accept a DescribeUserScramCredentials 
> request with compact array
> The response I receive always contains all the users (even when requesting 
> for a specific one)
> The response I receive has some extra bytes which do not follow the schema 
> posted on the Kafka protocol website however it does look like it uses 
> compact strings and arrays.
>  
> Please read the discussion in the imgur. I can't write it here since I am 
> writing it from my phone.
>  
> I will throw this here, an issue I have been working on alongside the devs of 
> kafkajs. I would love for more insight in this.
> Our entire discussion and my conclusion: https://imgur.com/a/iHaKwH8



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to