kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gwen Shapira <gshap...@cloudera.com>
Subject Re: ping kafka server
Date Mon, 09 Feb 2015 22:55:10 GMT
It's safe.

Just note that if you send Kafka anything it does not like, it will close
the connection on you. This is intentional and doesn't signal an issue with

Not sure if Nagios does this, but I like "canary" tests - produce a message
with timestamp every X seconds and have a monitor that consumes the
messages and check timestamps. This way you get both end-to-end monitoring
and latency alerts. What could be more fun? :)


On Mon, Feb 9, 2015 at 2:48 PM, Koert Kuipers <koert@tresata.com> wrote:

> i would like to be able to ping kafka servers from nagios to confirm they
> are alive. since kafka servers dont run a http server (web ui) i am not
> sure how to do this.
> is it safe to establish a "test" tcp connection (so connect and immediately
> disconnect using telnet or netstat or something like that) to the kafka
> server on port 9092 to confirm its alive?
> thanks

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message