No success with using the internal zookeeper.

Tried a fresh install and it started working.   Thank you!


On Sun, May 26, 2019 at 4:23 PM M. Manna <manme...@gmail.com> wrote:

> Hi,
>
> Can you try with zookeeper as the online QuickStart suggests ? See if you
> can see any difference?
>
> Also, some topic may not be listed because zookeeper-handled topics may not
> be visible.
>
> Try that and let us know.
>
> Regards,
>
> On Sun, 26 May 2019 at 17:03, Kasthuri R Raman <raman.kasth...@gmail.com>
> wrote:
>
> > Hi ,
> > I'm running zookeeper full version outside of kafka. When creating the
> > topic, I do not get any output or error in the log file.  kafka-topics.sh
> > --list --bootstrap-server localhost:9092 is returning empty topic.
> >
> > *My configuration :*
> > Zookeeper : 3.5.5
> > Kafka : 2.12-2
> > MacOS - 10.13.4
> >
> > By using producer shell script, topic is getting created. Below are the
> > command execution and logs.
> >
> >
> > MacBook-Pro:kafka_2.12-2.2.0 $  bin/kafka-topics.sh --create
> > --bootstrap-server localhost:9092 --replication-factor 3 --partitions 1
> > --topic my-replicated-topic
> >
> > MacBook-Pro:kafka_2.12-2.2.0 $ bin/kafka-topics.sh --describe
> > --bootstrap-server localhost:9092 --topic my-replicated-topic
> >
> > MacBook-Pro:kafka_2.12-2.2.0 $ bin/kafka-console-producer.sh
> --broker-list
> > localhost:9092 --topic my-replicated-topic
> >
> >
> > [2019-05-26 09:22:00,417] INFO [KafkaServer id=0] started
> > (kafka.server.KafkaServer)
> >
> > ....
> >
> > [2019-05-26 09:25:15,564] INFO Creating topic my-replicated-topic with
> > configuration {} and initial partition assignment Map(0 ->
> ArrayBuffer(1))
> > (kafka.zk.AdminZkClient)
> >
> > [2019-05-26 09:25:15,725] INFO [KafkaApi-0] Auto creation of topic
> > my-replicated-topic with 1 partitions and replication factor 1 is
> > successful (kafka.server.KafkaApis)
> >
> > [2019-05-26 09:25:16,117] INFO [GroupCoordinator 0]: Preparing to
> rebalance
> > group console-consumer-97459 in state PreparingRebalance with old
> > generation 0 (__consumer_offsets-25) (reason: Adding new member
> > consumer-1-ee311d36-22d1-4bcf-8bfd-643e6566ed90)
> > (kafka.coordinator.group.GroupCoordinator)
> >
> > [2019-05-26 09:25:16,135] INFO [GroupCoordinator 0]: Stabilized group
> > console-consumer-97459 generation 1 (__consumer_offsets-25)
> > (kafka.coordinator.group.GroupCoordinator)
> >
> > [2019-05-26 09:25:16,191] INFO [GroupCoordinator 0]: Assignment received
> > from leader for group console-consumer-97459 for generation 1
> > (kafka.coordinator.group.GroupCoordinator)
> >
> > [2019-05-26 09:31:59,966] INFO [GroupMetadataManager brokerId=0] Removed
> 0
> > expired offsets in 32 milliseconds.
> > (kafka.coordinator.group.GroupMetadataManager)
> >
> > [2019-05-26 11:21:14,280] WARN Client session timed out, have not heard
> > from server in 42304ms for sessionid 0x100069015750001
> > (org.apache.zookeeper.ClientCnxn)
> >
> >
> >
> > Any Suggestions?
> >
> >
> > Thanks,
> >
> > Kasthuri Raman
> >
>

Reply via email to