Created
November 20, 2018 20:19
-
-
Save brachi-wernick/a648285eb91be2a8873645c55df47e23 to your computer and use it in GitHub Desktop.
GnericAvroSerde,java
This file contains hidden or 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
Serde<GenericRecord> genericAvroSerde = new GenericAvroSerde(); | |
boolean isKeySerde = false; | |
genericAvroSerde.configure( | |
Collections.singletonMap( | |
AbstractKafkaAvroSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG, | |
"http://localhost:8081"), | |
isKeySerde); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment