Hi, Yash

I don't know the version and language of consumer client you use.
Java client [kafka-clients-0.9.0.0] provides a method [public void 
assign(List<TopicPartition> partitions)] in KafkaConsumer.class to manually 
assign a list of partition to this consumer.

This may be what you want.

>-----Original 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 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

Reply via email to