Looks like DelegationTokenOwnerMismatchException would be thrown if token expiration is issued by non-owner.
On Tue, Jan 16, 2018 at 11:16 AM, Ted Yu <yuzhih...@gmail.com> wrote: > For createDelegationToken, what's the default value for maxLifeTimeMs ? > > For expireDelegationToken, what exception would be thrown if the > operation is not permitted ? > > Thanks > > 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 >> > >