mailgun / kafka-pixy

gRPC/REST proxy for Kafka
Apache License 2.0
773 stars 118 forks source link

How can we add Authorization/ACL? #161

Open amitgurav04 opened 5 years ago

amitgurav04 commented 5 years ago

Suppose, I have two clients A and B. and two topics T1 and T2.

Client A want to send the message on topic T1. But he should not able to send message on topic T2 . Client B want to send the message on topic T2. But he should not able to send message on topic T1 .

Can we add such authorization in Kafka-pixy? Which we can do in Kafka broker using ACLS.Please help me on this.

horkhe commented 5 years ago

There is no way to do that. Kafka-Pixy does not support authorization/authentication. If you really need it you can suggest a PR.

horkhe commented 5 years ago

@amitgurav04 you have asked a few questions about Kafka-Pixy recently. I am wondering what is the use case you are considering Kafka-Pixy for, if you do not mind sharing?

AtakanColak commented 4 years ago

@horkhe Hi, does that apply to sarama.Config.Net.SASL too? I want to use kafka-pixy but the kafka cluster has SASL enabled.

horkhe commented 4 years ago

@AtakanColak SASL is not supported either.