Re: Number of partitions for offsets topic cannot be changed

2018-03-25 Thread Peter Bukowinski
Once the offsets topic has been created, changing any server.properties affecting it will have no effect. If you are pre-production, you can start over using the new server properties. By start over, I mean stopping brokers, purging the kafka logs/data directories of all brokers, purging

Re: Number of partitions for offsets topic cannot be changed

2018-03-25 Thread Anu P
Thanks Swapnil. I changed *offsets.topic.num.partitions* in server.properties file and restarted the broker. But, still this config change does not take effect. Any ideas? Thanks in advance Tanvi On Sun, Mar 25, 2018 at 12:30 AM, Swapnil Gupta wrote: > In brief, this

Re: Number of partitions for offsets topic cannot be changed

2018-03-25 Thread Swapnil Gupta
In brief, this is system level configuration by Kafka. Consumer offsets partitions can't be changed through command line. You have to change the configuration file and set this *offsets.topic.num.partitions* property to change this. On Sun, Mar 25, 2018, 12:49 Anu P

Number of partitions for offsets topic cannot be changed

2018-03-25 Thread Anu P
Hi, I am trying to change the number of partitions for __consumer_offsets topic by using the following command. However, I get an error stating "Number of partitions for offsets topic cannot be changed" */opt/kafka/bin/kafka-topics.sh --zookeeper --alter --topic __consumer_offsets --partitions