What happens if message schema is not present in AvroDeserializer local cache?

A consumer application is using KafkaAvroDeserializer to deserialize Avro messages .

What happens if message schema is not present in AvroDeserializer local cache?
A . Throws SerializationException
B . Fails silently
C . Throws DeserializationException
D . Fetches schema from Schema Registry

Answer: D

Explanation:

First local cache is checked for the message schema. In case of cache miss, schema is pulled from the schema registry. An exception will be thrown in the Schema Registry does not have the schema (which should never happen if you set it up properly)

Latest CCDAK Dumps Valid Version with 150 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments