Clean up docker environment

This commit is contained in:
2022-10-19 16:45:18 +01:00
parent ed5fccfc66
commit 8c06ec44cb
6 changed files with 70 additions and 89 deletions

2
db.py
View File

@@ -44,6 +44,8 @@ KEYNAME = "queue"
async def store_kafka_batch(data):
print("FAKE STORE KAFKA BATCH")
return
# log.debug(f"Storing Kafka batch of {len(data)} messages")
producer = AIOKafkaProducer(bootstrap_servers="kafka:9092")
await producer.start()