Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka Service Stop Clean Shutdown #169

Open
shauryagarg2006 opened this issue Nov 10, 2019 · 0 comments
Open

Kafka Service Stop Clean Shutdown #169

shauryagarg2006 opened this issue Nov 10, 2019 · 0 comments
Assignees
Labels
Bug Something isn't working hacktoberfest An issue highlighted for the digital ocean Hacktoberfest Event

Comments

@shauryagarg2006
Copy link

The systemd service configuration does not have a ExecStop for kafka service.
When we stop the run the command sudo systemctl stop kafka and the start it back up It recovers from snapshots and is not a clean shutdown.
I think we need to replace/update the service file from:

ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG

to:

ExecStart=/opt/kafka/bin/kafka-server-start.sh $KAFKA_CONFIG
ExecStop=/opt/kafka/bin/kafka-server-stop.sh

I will also test this and update here.

@MarkGibbons MarkGibbons self-assigned this Jul 27, 2020
@ramereth ramereth added Bug Something isn't working hacktoberfest An issue highlighted for the digital ocean Hacktoberfest Event labels Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working hacktoberfest An issue highlighted for the digital ocean Hacktoberfest Event
Projects
None yet
Development

No branches or pull requests

3 participants