my kafka-manager can't update consumer information and keeps the removed consumer groups list, so i try to restart kafka-manager. (i'm using kafka-manager 1.3.3.22 and kafka 2.12-2.1.1)
but README.md in kafka-manager and /bin/kafka-manager command doesn't appear to provide stop/restart.
is there any way to safely restart or terminate kafka-manager? without 'kill -9 PID' commend
There is no restart command out of the box however, you can run Kafka Manager as a service.
Firstly, create the service file under
/etc/systemd/system/kafka-manager.serviceand add the following content:In
/opt/kafka-manager-1.3.3.22/conf/application.conf:In
/opt/kafka-manager-1.3.3.22/conf/application.ini:and finally run
Start the service
Stop the service
Restart the service