-
-
Save dotemacs/44d148ea1e68e6c34171d4f41e60fc3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns er-model.connectors.kafka.serde | |
(:require | |
[er-model.connectors.kafka.serializers :as k.ser] | |
[er-model.connectors.kafka.deserializers :as k.deser]) | |
(:import | |
[org.apache.kafka.common.serialization | |
Serde | |
Serdes | |
Serdes$StringSerde | |
Serdes$WrapperSerde])) | |
(defn string-serde | |
[] | |
(Serdes$StringSerde.)) | |
(defn edn-serde | |
[] | |
(Serdes$WrapperSerde. | |
(k.ser/edn-serializer) | |
(k.deser/edn-deserializer))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment