Can you help solving this question? Thanks! ---------- Forwarded message ---------- From: "yoel g" <yoel...@gmail.com> Date: Aug 25, 2015 16:07 Subject: [kafka-clients] Re: Get kafka connection status To: "kafka-clients" <kafka-clie...@googlegroups.com> Cc:
I forgot to mention that I'm using JAVA with the 0.8.1.1 kafka version library. On Tuesday, August 25, 2015 at 11:56:57 AM UTC+3, yoel g wrote: > > Hey, > I want to create a monitor in my code which sample the Kafka connection > and updates a file according to connection status (connected\disconnected). > Unfortunately, I couldn't find any field in the "ConsumerConnector" class > or any other class which indicates what is the status of the connection. > (for example: how can I determine if the process called > ConsumerConnector.shutdown() ?) > Basically I need only to know if we are connected to Kafka or not. > If someone has an easy way for implementing such thing I'll appreciate it. > > thanks!! > > -- You received this message because you are subscribed to a topic in the Google Groups "kafka-clients" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/kafka-clients/SxELI7lkriA/unsubscribe. To unsubscribe from this group and all its topics, send an email to kafka-clients+unsubscr...@googlegroups.com. To post to this group, send email to kafka-clie...@googlegroups.com. Visit this group at http://groups.google.com/group/kafka-clients. To view this discussion on the web visit https://groups.google.com/d/msgid/kafka-clients/896a1c1d-cfaf-492b-bb5b-1d55fc0d17d5%40googlegroups.com <https://groups.google.com/d/msgid/kafka-clients/896a1c1d-cfaf-492b-bb5b-1d55fc0d17d5%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout.