airtai / fastkafka

FastKafka is a powerful and easy-to-use Python library for building asynchronous web services that interact with Kafka topics. Built on top of Pydantic, AIOKafka and AsyncAPI, FastKafka simplifies the process of writing producers and consumers for Kafka topics.
https://fastkafka.airt.ai
Apache License 2.0
42 stars 2 forks source link

Support bytes type #10

Open sternakt opened 1 year ago

sternakt commented 1 year ago

Check 001_ConsumerLoop _decode_msgs_and_send function.

NOTE: If type bytes, the message should not be decoded but sent to consumer callback as is so that the user can then manually decode the message inside consumer callback