Hi, Jun,

Thanks for the review.

1.  Yes,  We can pass hmac  as byte[]. Updated the KIP
2.  Yes,  describeDelegationToken() returns all the user owned tokens and
tokens where user have Describe permission.
     Added a comment to KIP.
3.  updated the KIP with possible exceptions.


Thanks,


On Wed, Jan 17, 2018 at 6:45 AM, Jun Rao <j...@confluent.io> wrote:

> Hi, Mani,
>
> Thanks for the KIP. Looks good to me overhead. Just a couple of minor
> comments below.
>
> 1. Should hmac be of type ByteBuffer? We return hmac as byte[] in
> DelegationToken.
> So, it seems it's more consistent to pass in hmac as byte[] too.
> 2. Does describeDelegationToken() return all tokens?
> 3. As Ted mentioned, it would be useful to include the exceptions that can
> be thrown in the new apis.
>
> Jun
>
> On Tue, Jan 16, 2018 at 10:03 AM, Manikumar <manikumar.re...@gmail.com>
> wrote:
>
> > Hi all,
> >
> > I have created a KIP to add delegation token operations to Java Admin
> > Client.
> > This KIP proposes new API additions to admin client. There are no new
> wire
> > protocol changes.
> >
> > https://cwiki.apache.org/confluence/display/KAFKA/KIP-
> > 249%3A+Add+Delegation+Token+Operations+to+KafkaAdminClient
> >
> >
> > Feedback and suggestions are welcome.
> >
> > Thanks
> > Manikumar
> >
>

Reply via email to