No I don't see anything like that, the question was aimed at learning if it is worthwhile to make the effort of reimplementing the Python producer in Java, I so I will not make all the effort just to be disappointed afterwards. understand I have nothing to worry about, so I will try to simulate this situation in small scale... maybe 3 brokers, one topic with one partition and then add partitions. we'll see. thanks for clarifying. Oh, Good luck with Confluent!! :)
On Mon, Nov 10, 2014 at 4:17 AM, Neha Narkhede <neha.narkh...@gmail.com> wrote: > The producer might get an error code if the leader of the partitions being > reassigned also changes. However it should retry and succeed. Do you see a > behavior that suggests otherwise? > > On Sat, Nov 8, 2014 at 11:45 PM, Shlomi Hazan <shl...@viber.com> wrote: > > > Hi All, > > I recently had an issue producing from python where expanding a cluster > > from 3 to 5 nodes and reassigning partitions forced me to restart the > > producer b/c of KeyError thrown. > > Is this situation handled by the Java producer automatically or need I do > > something to have the java producer refresh itself to see the reassigned > > partition layout and produce away ? > > Shlomi > > >