Re: Kafka Scala debugging and diagnostics

2018-05-18 Thread M. Manna
First, I setup all debug ops - but kept the suspend=n. I ran zookeeper first. 1. I followed Cwiki steps. 2. Then I setup Scala Debugger Using debug options on Scala IDE (a generic setup guide is available on Scala IDE site). 3. Since a specific server config is required, I added it in argument

Re: Kafka Scala debugging and diagnostics

2018-05-17 Thread Ted Yu
Can you share what you plan to write (on the mailing list) ? Thanks On Thu, May 17, 2018 at 9:15 AM, M. Manna wrote: > I have had some success. > > Is it okay for us to update Cwiki with the setup steps which I've got ? or > too generic? > > On 16 May 2018 at 23:04, M. Manna wrote: > > > Must

Re: Kafka Scala debugging and diagnostics

2018-05-17 Thread M. Manna
I have had some success. Is it okay for us to update Cwiki with the setup steps which I've got ? or too generic? On 16 May 2018 at 23:04, M. Manna wrote: > Must have missed that in Kafka-run-class.bat which sets suspend=n by > default. Thanks for pointing that out, giving it a try. > > > > And

Re: Kafka Scala debugging and diagnostics

2018-05-16 Thread M. Manna
Must have missed that in Kafka-run-class.bat which sets suspend=n by default. Thanks for pointing that out, giving it a try. And didn On Wed, 16 May 2018 at 22:57, Ted Yu wrote: > Have you set the following two environment variables: > > export KAFKA_DEBUG=y; export DEBUG_SUSPEND_FLAG=y; > >

Re: Kafka Scala debugging and diagnostics

2018-05-16 Thread Ted Yu
Have you set the following two environment variables: export KAFKA_DEBUG=y; export DEBUG_SUSPEND_FLAG=y; The above would freeze the process until debugger is attached. Cheers On Wed, May 16, 2018 at 2:46 PM, M. Manna wrote: > Hello, > > Is there anyone who can provide a few steps for setting

Re: Kafka Scala debugging and diagnostics

2018-05-16 Thread Martin Gainty
supposedly scala ide for eclipse should work: http://scala-ide.org/ YMMV Martin From: M. Manna Sent: Wednesday, May 16, 2018 5:46 PM To: Kafka Users Subject: Kafka Scala debugging and diagnostics Hello, Is there anyone who can provide a few steps for

Kafka Scala debugging and diagnostics

2018-05-16 Thread M. Manna
Hello, Is there anyone who can provide a few steps for setting up Eclipse IDE to debug Kafka cluster ? Has anyone got eclipse/scala IDE experience in Kafka debugging ? I have been trying for days, but couldn’t start the debugger to connect to port 5005 when the Cluster is running. Everything els