recieve_message_1.py 202 B

123456789
  1. def main():
  2. consumer = kafka_consumer(bootstrap_servers="localhost:9092", topic="VideoStream")
  3. for message in consumer.consume():
  4. print(message)
  5. if __name__ == '__main__':
  6. main()