Re: Replication factor for a topic Increase

2023-07-13 Thread Gaurav Pande
Thanks Luke, One last thing for future topics that gets auto created is there a way to put this auto replication.factor setting dynamically rather than modifying server.properties and restarting all 3 Brokers? Regards, GP On Thu, 13 Jul, 2023, 14:59 Luke Chen, wrote: > Once the topic is creat

Re: Replication factor for a topic Increase

2023-07-13 Thread Luke Chen
Once the topic is created, you can only increase the replication factor by: 1. delete the topic and re-create the same topic (note: data will be lost after this step) or 2. follow the doc to increase the replication factor (data will be kept) Thank you. Luke On Thu, Jul 13, 2023 at 5:23 PM Gaurav

Re: Replication factor for a topic Increase

2023-07-13 Thread Gaurav Pande
Hi Luke , Thanks does that mean that setting default.replication.factor to more than 1 and doing Kafka broker restart wouldn't dynamically change the existing partitions replication? We have to use cli shell script, as per documentation? Regards, GP On Thu, 13 Jul, 2023, 13:54 Luke Chen, wrote:

Re: Replication factor for a topic Increase

2023-07-13 Thread Luke Chen
Hi Gaurav, > Why do I see topic ReplicationFactor:1 during description of a topic ? I think you should set this config: `default.replication.factor` > And how can we increase replication factor? I have 3 Kafka brokers running on 2.7.0 version. Please check this doc: https://kafka.apache.org/docu

Replication factor for a topic Increase

2023-07-12 Thread Gaurav Pande
Hi all, I have noticed that when I describe my Kafka topic I see ReplicationFactor:1 but in my server.properties file I already have defined below values i.e a replication factor of 3 : num.partions=3 offsets.topic.replication.factor=3 transaction.state.log.replication.factor=3 transaction.state