Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> PID files for monitoring two different instances of Kafka on same machine


Copy link to this message
-
Re: PID files for monitoring two different instances of Kafka on same machine
Hi Jun,

Thanks a lot for your reply.

You can figure out the instance from the
> config dir in the command line.
>

What does this mean? Can you explain a bit how can it be figured out?

Regards,
Hanish
> On Thu, Jul 4, 2013 at 7:20 AM, Hanish Bansal <
> [EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> >
> > I was just trying to create a monitoring service of my own for Kafka. I
> > wanted  to know if Kafka provides any sort of functionality for pid files
> > which I can see to check if Kafka is up or not.
> >
> > My scenario is:
> >
> > I will have 2 Kafka instances running on same machine with different
> > configurations i.e. their home directories will be different.
> > I want to start a specific Kafka instance if any one of the two gets
> > killed. So I wanted to know which Kafka instance is down.
> >
> >
> > So, how I can I get the PID of a particular Kafka instance ?
> >
> > Thanks in advance.
> >
> > --
> > *Thanks & Regards*
> > *Hanish Bansal*
> >
>

--
*Thanks & Regards*
*Hanish Bansal*