Sobes.tech
Middle+

broker = KafkaBroker("localhost:9092") app = FastStream(broker) @broker.subscriber("raw_texts_topic", group_id="text_parsers") async def handle_text(text_data: dict): # Parsing und Speichern in der Datenbank dauert ca. 10 Sekunden parse_text_and_save_to_postgres(text_data)