Skip to content

Commit

Permalink
Added exception message
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Kondaka <[email protected]>
  • Loading branch information
Krishna Kondaka committed Aug 17, 2023
1 parent 4c9501e commit 7f33cd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public <T> void consumeRecords() throws Exception {
LOG.warn("Deserialization error - topic {} partition {} offset {}",
e.topicPartition().topic(), e.topicPartition().partition(), e.offset());
if (e.getCause() instanceof AWSSchemaRegistryException) {
LOG.warn("AWSSchemaRegistryException. Retrying after 30 seconds");
LOG.warn("AWSSchemaRegistryException: {}. Retrying after 30 seconds", e.getMessage());
Thread.sleep(30000);
} else {
LOG.warn("Seeking past the error record", e);
Expand Down

0 comments on commit 7f33cd3

Please sign in to comment.