Background
Currently, a Kafka node faces challenges in graceful shutdown due to the non-root PID of the Java process.
Additionally, Kafka is started by systemd, which is not a conventional startup tool for containers.
How to started
- make sure kafka process is gracefully shut down.
- remove systemd dependency.