Skip to main content
EuroPython logo

Building Event-Driven Python service using FastStream and AsyncAPI

Track:
Python Libraries & Tooling
Type:
Talk
Level:
beginner
Room:
Terrace 2B
Start:
14:35 on 12 July 2024
Duration:
30 minutes

Abstract

In this talk, we dive into the world of Event Driven Architecture and Message Streaming, using Python and FastStream.

You’ll learn to integrate FastStream, a python framework, into your projects and leverage AsyncAPI to define contracts for asynchronous communication and event streaming. Through practical examples and insights, you’ll discover the art of building scalable, responsive Python applications that thrive in real-time environments.

About AsyncAPI

AsyncAPI is an open standard/specification and growing set of open-source tools to help developers define, build, and maintain asynchronous APIs and Event-Driven Architectures. It describes message-driven APIs in a machine-readable format, and is protocol-agnostic.

About FastStream

FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis. FastStream simplifies the process of writing producers and consumers for message queues, handling all the parsing, networking and documentation generation automatically. FastStream provides unified API across multiple brokers, built-in Pydantic validations, automatic AsyncAPI documentation, FastAPI like Dependency Injection System, built-in support for test and extensions.


Resources