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