tchiotludo / akhq

Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
https://akhq.io/
Apache License 2.0
3.34k stars 646 forks source link

Handle SIGINT #5

Closed rdohms closed 5 years ago

rdohms commented 5 years ago

First of all, thank you, this is an awesome tool.

I'm running it on demand, so instead of -d in docker run we just run it. However if i send a SIGINT it simply does not stop, i need to forcefully docker stop it.

Is there anything you can do about this in the code?

tchiotludo commented 5 years ago

Thanks for your feedback ! Glad to see people using it :smile:

I just try : docker run -ti tchiotludo/kafkahq

After hiting ctrl+c, the server stop gracefully : 2019-01-04 10:31:46,435 INFO Thread-1 org.kafkahq.App Stopped

How do you send the SIGINT signal ?

rdohms commented 5 years ago

Oh boy, please ignore me, I must be hungover from New Years still, i forgot to add the -ti.

And yeah, its a pretty handy app to look into kafka quickly, the json parsing is pretty useful.