Skip to content
Snippets Groups Projects
Commit 014fdcac authored by Geoffrey Mo's avatar Geoffrey Mo Committed by Cody Messick
Browse files

Give kafka its own worker and add its stop

parent ac9abc77
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,10 @@ arguments = "gwcelery worker -l info -n gwcelery-worker@%h -f %n.log -Q celery -
description = gwcelery-worker
queue
arguments = "gwcelery worker -l info -n gwcelery-kafka-worker@%h -f %n.log -Q kafka --kafka -c 1 --prefetch-multiplier 1"
description = gwcelery-kafka-worker
queue
arguments = "gwcelery worker -l info -n gwcelery-exttrig-worker@%h -f %n.log -Q exttrig -c 1"
description = gwcelery-exttrig-worker
queue
......
......@@ -27,6 +27,7 @@ class KafkaBootStep(bootsteps.ConsumerStep):
log.info(f'Starting {self.name}, topic: {self.topic_url}')
def stop(self, parent):
super().stop(parent)
log.info(f'Closing connection to topic: {self.topic_url}')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment