You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading the code it seems that I was naive in thinking that from_structured would deserialize directly from an AIOKafka ConsumerRecord. But instead I need to do something like this:
Yes, the connector is generic and does not provide support for a specific library. This is intentional behavior. We may wanna add extras that provide library-specific API like we did with Pydantic.
Expected Behavior
from_structured/1
on a KafkaMessage i.e.ConsumerRecord
inaiokafka
correctly deserialize the event into a CloudEvent.Actual Behavior
Crash:
Steps to Reproduce the Problem
There seems to be a discrepancy between:
Specifications
The text was updated successfully, but these errors were encountered: