abhishekrb19 commented on code in PR #14183:
URL: https://github.com/apache/druid/pull/14183#discussion_r1184104339
##########
extensions-core/avro-extensions/src/main/java/org/apache/druid/data/input/avro/SchemaRegistryBasedAvroBytesDecoder.java:
##########
@@ -140,7 +140,10 @@ public GenericRecord parse(ByteBuffer bytes)
schema = parsedSchema instanceof AvroSchema ? ((AvroSchema)
parsedSchema).rawSchema() : null;
}
catch (IOException | RestClientException ex) {
- throw new ParseException(null, ex, "Failed to fetch Avro schema from
registry: %s", id);
+ throw new ParseException(null, ex, "Failed to fetch Avro schema from
registry: %s. Check if the id "
+ + "exists in the schema registry.
Otherwise it could mean that there is "
+ + "malformed data in the stream or
data that doesn’t conform to the schema "
Review Comment:
Good spot! Fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]