mccode-plumber 0.14.2__py3-none-any.whl → 0.14.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -367,7 +367,8 @@ def main():
367
367
  monitor_names = [s[1] for s in streams if s[0] == monitor_topic]
368
368
 
369
369
  broker = 'localhost:9092'
370
- register_topics(broker, [s[0] for s in streams]) # ensure all topics are known to Kafka
370
+ topics = list({s[0] for s in streams}) # ensure all topics are known to Kafka
371
+ register_topics(broker, topics)
371
372
 
372
373
  # Configure the callback to send monitor data to Kafka, using the common topic with source names as monitor names
373
374
  callback, callback_args = monitors_to_kafka_callback_with_arguments(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mccode-plumber
3
- Version: 0.14.2
3
+ Version: 0.14.4
4
4
  Author-email: Gregory Tucker <gregory.tucker@ess.eu>
5
5
  Classifier: License :: OSI Approved :: BSD License
6
6
  Description-Content-Type: text/markdown
@@ -8,7 +8,7 @@ Requires-Dist: p4p
8
8
  Requires-Dist: kafka-python>=2.2.11
9
9
  Requires-Dist: ess-streaming-data-types>=0.14.0
10
10
  Requires-Dist: restage>=0.9.0
11
- Requires-Dist: mccode-to-kafka>=0.3.0
11
+ Requires-Dist: mccode-to-kafka>=0.3.1
12
12
  Requires-Dist: moreniius>=0.6.1
13
13
  Requires-Dist: icecream
14
14
  Requires-Dist: ephemeral-port-reserve
@@ -27,10 +27,10 @@ mccode_plumber/manage/ensure.py,sha256=0HaxcHYzvcDs6hBvBI39EZsIDt_rVA9CjHm5_yvOZ
27
27
  mccode_plumber/manage/epics.py,sha256=oQt_hL-7KgtI9Kmwyw8L7a7RxQe7YJWRbmHnKIqMLpQ,1310
28
28
  mccode_plumber/manage/forwarder.py,sha256=YYvHaOJ4djBXM7PFF2NBbnNDO6nnrwNOfSHaVOh16Ro,2876
29
29
  mccode_plumber/manage/manager.py,sha256=zzrduroUL-jwQ9BrPTdAm1IW4dGv5bi8-ieIQ6qiQ6M,4141
30
- mccode_plumber/manage/orchestrate.py,sha256=4KaMP0TRqejDYHyx1ZITaeXlnaOfJiWHDNehwxWr7VY,17884
30
+ mccode_plumber/manage/orchestrate.py,sha256=BvtkoBwWuW6wFncblfQA_XmQnONvkhLm0Apx3bFJ_84,17910
31
31
  mccode_plumber/manage/writer.py,sha256=SEv1U14L01Y9-BcaJKPei4Ah2LFfwexDy9FTjpvtSEs,2245
32
- mccode_plumber-0.14.2.dist-info/METADATA,sha256=n2l08lAN2SYeKXtujHBBMTx2vky87Yn6ZgWhZ0FktoY,594
33
- mccode_plumber-0.14.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
- mccode_plumber-0.14.2.dist-info/entry_points.txt,sha256=k3LDo_9HG2v4-IgMYlNukphdMmaAT6zkJZYaB1zJh3c,900
35
- mccode_plumber-0.14.2.dist-info/top_level.txt,sha256=kCCIpYtKHCKWxiPEqX9J1UaGEm-ze0Qb-cemBCEPhDA,15
36
- mccode_plumber-0.14.2.dist-info/RECORD,,
32
+ mccode_plumber-0.14.4.dist-info/METADATA,sha256=VzfFqhXRs0XqYZ0PXfuYV6llrEwNtgjcrPAFWZr6ZE0,594
33
+ mccode_plumber-0.14.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
+ mccode_plumber-0.14.4.dist-info/entry_points.txt,sha256=k3LDo_9HG2v4-IgMYlNukphdMmaAT6zkJZYaB1zJh3c,900
35
+ mccode_plumber-0.14.4.dist-info/top_level.txt,sha256=kCCIpYtKHCKWxiPEqX9J1UaGEm-ze0Qb-cemBCEPhDA,15
36
+ mccode_plumber-0.14.4.dist-info/RECORD,,