RE: Security for individual partitions

2018-06-25 Thread 赖剑清
nal Message- >From: Yash Ganthe [mailto:yas...@gmail.com] >Sent: Monday, June 25, 2018 7:50 PM >To: users@kafka.apache.org >Subject: Security for individual partitions > >Hi, > >If I have a topic with 10 partitions, I would like each partition to be >accessible >to o

Re: Security for individual partitions

2018-06-25 Thread Hans Jespersen
Kafka ACLs are at the topic level, not partition level. Probably better to make 10 topics of 1 partition each and use topic ACLs to control access. -hans > On Jun 25, 2018, at 9:50 PM, Yash Ganthe wrote: > > Hi, > > If I have a topic with 10 partitions, I would like each partition to be >

Re: Security for individual partitions

2018-06-25 Thread Sönke Liebau
Hi Yash, I'm afraid this is not easily possible with existing functionality. Even if you created your own authorizer, I'm fairly certain that the partition is not available as part of the resource that is being accessed. Is there any specific reason why you can't create more than one topic and

Security for individual partitions

2018-06-25 Thread Yash Ganthe
Hi, If I have a topic with 10 partitions, I would like each partition to be accessible to only certain consumers. Consumer 1 should be able to read from partition 1 but no other partition and so on. Is this possible in Kafka? -Yash