Hi,

You can also import the Kafka project as a Gradle project in IntelliJ,
and then create an Application Run Configuration to run/debug it.
In your run configuration, set the module classpath to
kafka.core.main, the main class to kafka.Kafka, and the program
arguments to one of the server.properties files under config. Then you
can start a broker directly from within IntelliJ.

Thanks,
Mickael

On Thu, Oct 24, 2024 at 8:48 AM Pradyumna K <kpachar...@gmail.com> wrote:
>
> 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

Reply via email to