Hi Konstantine,

it's working fine thanks !


Paolo Patierno
Senior Software Engineer (IoT) @ Red Hat
Microsoft MVP on Windows Embedded & IoT
Microsoft Azure Advisor

Twitter : @ppatierno<http://twitter.com/ppatierno>
Linkedin : paolopatierno<http://it.linkedin.com/in/paolopatierno>
Blog : DevExperience<http://paolopatierno.wordpress.com/>


________________________________
From: Konstantine Karantasis <konstant...@confluent.io>
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 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_FLAG=y;

This will "freeze" the Connect process until you attach your debugger from
your IDE.

Cheers,
Konstantine

On Sat, Jan 14, 2017 at 1:26 PM, Paolo Patierno <ppatie...@live.com> wrote:

> 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 creation and configuration.
>
> Thanks,
> Paolo
>

Reply via email to