Re: Debugging Kafka Connect connector in a IDE

2017-01-15 Thread Paolo Patierno
aolopatierno> Blog : DevExperience<http://paolopatierno.wordpress.com/> From: Konstantine Karantasis Sent: Saturday, January 14, 2017 11:57 PM To: users@kafka.apache.org Subject: Re: Debugging Kafka Connect connector in a IDE Hi, Still, the simplest way to do wh

Re: Debugging Kafka Connect connector in a IDE

2017-01-14 Thread Konstantine Karantasis
Hi, Still, the simplest way to do what you are asking for is to attach a remote debugger (e.g. remote configuration in IntelliJ). However to debug your Connector from the very start, you'll need to set in addition the following two environment variables: export KAFKA_DEBUG=y; export DEBUG_SUSPEND

Debugging Kafka Connect connector in a IDE

2017-01-14 Thread Paolo Patierno
Hi all, what is the best way or best practice for debugging a connector developed for Kafka Connect inside an IDE like IntelliJ or Eclipse ? Of course I can start Kafka Connect and the connector from the provided script and then attach a remote debugger but I'd like to debug from the connector