Skip to content

Commit

Permalink
Merge pull request #44 from jbellister-slac/fix_pydm_plugin
Browse files Browse the repository at this point in the history
FIX: Set kafka topic list correctly in the pydm plugin
  • Loading branch information
jbellister-slac authored Mar 2, 2023
2 parents 4181881 + c30ee02 commit a53a6a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydm_alarm_plugin/alarm_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ def __init__(self, *args, **kwargs):
return

self.alarm_severities = dict() # Mapping from alarm name to current alarm severity
self.kafka_reader = KafkaReader(kafka_topics.split(','),
self.kafka_topics = kafka_topics.split(',')
self.kafka_reader = KafkaReader(self.kafka_topics,
kafka_bootstrap_servers.split(','),
self.process_message)
self.kafka_topics = kafka_topics
self.processing_thread = QThread()
self.kafka_reader.moveToThread(self.processing_thread)
self.processing_thread.started.connect(self.kafka_reader.run)
Expand Down

0 comments on commit a53a6a1

Please sign in to comment.