Re: Kafka SASL and custom LoginModule and Authorizer

2017-02-26 Thread Christian
Thank you Harsha! On Sun, Feb 26, 2017 at 10:27 AM, Harsha Chintalapani wrote: > Hi Christian, > Kafka client connections are long-llving connections, > hence the authentication part comes up during connection establishment and > once we authenticate regular kafka protocols can

Re: Kafka SASL and custom LoginModule and Authorizer

2017-02-26 Thread Harsha Chintalapani
Hi Christian, Kafka client connections are long-llving connections, hence the authentication part comes up during connection establishment and once we authenticate regular kafka protocols can be exchanged. Doing heartbeat to keep the token alive in a Authorizer is not a good idea.

Kafka SASL and custom LoginModule and Authorizer

2017-02-25 Thread Christian
We have implemented our own LoginModule and Authorizer. The LoginModule does an authentication on the client side, obtains a token and passes that token down to our custom SaslServer which then verifies that this token is valid. Our Authorizer gets that token and asks another custom service if the