Incomplete - dockerizing kafka streaming

This commit is contained in:
Akash Sivakumar
2024-11-14 18:32:17 -07:00
parent 5ade3d90fc
commit 35881893f6
3 changed files with 23 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ dbg_print = lambda *x: DEBUG and print(f"[DEBUG] {x}")
# Kafka Configuration
KAFKA_TOPIC = 'pcap_stream'
KAFKA_SERVER = 'localhost:9092' # Adjust to your Kafka server
#KAFKA_SERVER = 'kafka_service:9092'
# Initialize Kafka Producer
producer = KafkaProducer(