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): # Mətnlərin təhlili və verilənlər bazasına qeydiyyatı təxminən 10 saniyə çəkir parse_text_and_save_to_postgres(text_data)