What's the replication factor of the topic? Is it larger than 1? You can find out using the list topic command.
Thanks, Jun On Tue, Dec 17, 2013 at 2:39 PM, Francois Langelier < francois.langel...@mate1inc.com> wrote: > Hi, > > I installed zookeeper and kafka 8.0 following the quick start ( > https://kafka.apache.org/documentation.html#quickstart) and when i try to > kill my leader, i got a lot of exception in my producer and consumer > consoles. > > Then, after the exceptions stop printing, some of the messages I produce in > my console don't print in my consumer console... > > The exception I get is "java.net.ConnectException : Connection refused". > > Did someone already had this problem? > > Thank you! > > PS: I have 3 brokers running on my system. >