Hello everyone,
Is there a way I could run Kafka from within IntelliJ, in debug mode, and
let producers and consumers connect to it?
(I want to run producers and consumers as separate programs on my computer
and let them connect to this Kafka which is running under debugger, so that
I can put bre
nd run
it.
Set KAFKA_DEBUG env var to true before running it
In intellij, use Run->Attach to Process
It connects and I am able to set breakpoints and step through.
Regards
Pradyumna
On Thu, 24 Oct, 2024, 10:29 am Pradyumna K, wrote:
> Hello everyone,
>
> Is there a way I could run Kaf
Thank you.
Looks like I too accidentally discovered this approach minutes before your
reply.
I wasn't aware of the DEBUG_SUSPEND_FLAG though. It is useful.
Regards
Pradyumna