Cucumber/GreenhouseManager/manager.py

8 lines
166 B
Python
Raw Normal View History

2024-10-28 14:47:20 +04:00
from kafka import KafkaProducer, KafkaConsumer
import kafka
import socket
consumer = KafkaConsumer(bootstrap_servers = ['localhost:9092'])
print(consumer.topics())