--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/6472da04-3f4c-46bf-b82b-fbd0fa23f77e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Kuldeep,It sounds like you created a topic "test2" while you had a broker alive with id = 0. Then you shutdown broker 0 and brought up broker 1.The problem is that the leader (and only replica) for your topic was on broker 0 and the cluster metadata stored in ZooKeeper still reflects that. The producer cannot send messages to topic "test2" because the leader for that topic (broker 0) is not available and broker 1 does not know that it has a fully copy of broker 0's filesystem and could take over as leader of topic2.A better test would be for you to bring up two brokers at the same time and create a topic with replication-factor 2. Then if you shut one of them down, you will see leadership transfer to the other broker.Hope that helps.Roger
On Mon, Mar 6, 2017 at 1:48 AM, Kuldeep Poonia <kuldeep...@darcl.com> wrote:
Hi all,I am new to Kafka. I am trying to send messages using multiple brokers. Every thing is fine when I set broker.id = 0 in my server.properties file. But when changed broker.id to 1 i.e when set broker.id = 1 then producer not send messages. I am working on window.1. Create a topic using command.\bin\windows\kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 2 --partitions 1 --topic test22. Running kafka server using command.\bin\windows\kafka-server-start.bat .\config\server.properties3. --Create Producere.\bin\windows\kafka-console-producer.bat --broker-list localhost:9092 --topic test24. --Create Consumer.\bin\windows\kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic test2Please help me where I am doing something wrong.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/6472da04-3f4c-46bf-b82b-fbd0fa23f77e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/74c3cade-f88e-46b0-b080-e99e61cc19ef%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/6472da04-3f4c-46bf-b82b-fbd0fa23f77e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
Hi Roger,
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/6472da04-3f4c-46bf-b82b-fbd0fa23f77e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/74c3cade-f88e-46b0-b080-e99e61cc19ef%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/5d978362-6ac5-4880-ac01-bf9ca0e4aa38%40googlegroups.com.