Skip to content
Snippets Groups Projects
Commit a981c8f2 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

feature_extractor.py: enforce that kafka topics are also tied to a specific job id

parent bf39f6d2
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ class MultiChannelHandler(simplehandler.Handler):
elif self.save_format == 'kafka':
self.data_transfer = options.data_transfer
self.kafka_partition = options.kafka_partition
self.kafka_topic = options.kafka_topic
self.kafka_topic = '_'.join([options.kafka_topic, self.job_id])
self.kafka_conf = {'bootstrap.servers': options.kafka_server}
self.producer = Producer(self.kafka_conf)
......
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