Re: Kafka - producer writing to a certain broker...

2020-07-27 Thread Ricardo Ferreira
I am not a huge fan of criticizing without making myself useful first; so here is what you can do in order to have a producer writing records to a specific broker: 1. Create a topic with the # of partitions equal to the # of brokers. By default Kafka will try to evenly distributed the

Kafka - producer writing to a certain broker...

2020-07-26 Thread Rajib Deb
Hi, I came across the below question and wanted to seek an answer on the same. If a producer needs to write to a certain broker only, is this possible. For example, if the producer is in Europe, it will write to the broker near to Europe, if US it will write to broker near to US. But consumers

Re: Kafka - producer writing to a certain broker...

2020-07-25 Thread Manoj.Agrawal2
You should use active-active mirror maker On 7/25/20, 9:03 AM, "Rajib Deb" wrote: [External] Hi, I came across the below question and wanted to seek an answer on the same. If a producer needs to write to a certain broker only, is this possible. For example, if the producer

Kafka - producer writing to a certain broker...

2020-07-25 Thread Rajib Deb
Hi, I came across the below question and wanted to seek an answer on the same. If a producer needs to write to a certain broker only, is this possible. For example, if the producer is in Europe, it will write to the broker near to Europe, if US it will write to broker near to US. But consumers