How to implement Kafka Serializers and Deserializers? #39565
Replies: 2 comments
-
What effectively means no access to the rest of the framework in these (de)serializers. And no control over how many instances of these deserializers are created due to Kafka doing it on its own. FWIW allows for injection of custom deserializer as a (shared) object through one of its constructors. So that could be a workaround. |
Beta Was this translation helpful? Give feedback.
-
Also, we are dealing with Kafka-level conversions, so in our receiver code we either work with How would one provide a simple (framework-aware, e.g. for metrics) converter that can take both key and value and pass them to the channel? Effectively it means putting some kind of conversion hook between the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How to implement Kafka Serializers and Deserializers?
Quarkus: Supersonic Subatomic Java
https://quarkus.io/blog/kafka-serde/
Beta Was this translation helpful? Give feedback.
All reactions