Neha Pawar
Priyank Bagrecha
11/02/2021, 6:26 PMNeha Pawar
Neha Pawar
SimpleAvroMessageDecoder
code if you’re interested in seeing exactly where this is happening
@Override
public void init(Map<String, String> props, Set<String> fieldsToRead, String topicName)
throws Exception {
Preconditions.checkState(props.containsKey(SCHEMA), "Avro schema must be provided");
_avroSchema = new org.apache.avro.Schema.Parser().parse(props.get(SCHEMA));
Neha Pawar
Priyank Bagrecha
11/02/2021, 6:29 PM