Re: consumer.subscribe(Pattern p , ..) method fails with Authorizer

2016-07-26 Thread Ismael Juma
Ewen, that's right and that is being handled in https://github.com/apache/kafka/pull/1428. On Sun, Jul 24, 2016 at 1:41 AM, Ewen Cheslack-Postava wrote: > Manikumar, > > Yeah, that seems bad. Seems like maybe instead of moving to server-side > processing we should make the

Re: consumer.subscribe(Pattern p , ..) method fails with Authorizer

2016-07-23 Thread Ewen Cheslack-Postava
Manikumar, Yeah, that seems bad. Seems like maybe instead of moving to server-side processing we should make the metadata request limit results to topics the principal is authorized for? I suspect this is important anyway since generally it seems we don't want to reveal errors when there's

Fwd: consumer.subscribe(Pattern p , ..) method fails with Authorizer

2016-07-08 Thread Manikumar Reddy
Hi, consumer.subscribe(Pattern p , ..) method implementation tries to get metadata of all the topics. This will throw TopicAuthorizationException on internal topics and other unauthorized topics. We may need to move the pattern matching to sever side. Is this know issue?. If not, I will raise