dehora / nakadi-java

🌀 Client library for the Nakadi Event Broker (examples: http://bit.ly/njc-examples, site: https://dehora.github.io/nakadi-java/)
MIT License
30 stars 19 forks source link

Abstract payload serialization logic #378

Open samizzy opened 2 years ago

samizzy commented 2 years ago

Abstracting the payload serialization logic by adding PayloadSerialization interface.

This will enable support for further serialization types in the future like Avro. Currently, existing json serializaton logic has been moved to JsonPayloadSerializer class.

adyach commented 2 years ago

it looks like a nice split from the bigger PR 👍

adyach commented 2 years ago

@samizzy do we have a PR for PayloadSerializer implementation ?