awelless commented on code in PR #10100:
URL: https://github.com/apache/nifi/pull/10100#discussion_r2215395678
##########
nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-processors/src/main/java/org/apache/nifi/kafka/processors/consumer/convert/AbstractRecordStreamKafkaMessageConverter.java:
##########
@@ -110,6 +110,8 @@ public void toFlowFiles(final ProcessSession session, final
Iterator<ByteRecord>
processSingleRecord(session, recordGroups, consumerRecord,
record, attributes, extraAttrs, topic, partition);
}
} catch (final MalformedRecordException | IOException |
SchemaNotFoundException e) {
+ logger.debug("Reader or writer failed to process Kafka message
from topic {} partition {} offset {}",
Review Comment:
From the code it seems `MalformedRecordException`, `IOException` and
`SchemaNotFoundException` can occur when interacting with reader/writer only.
I'm concerned that "Failed to process Kafka Record" might be too generic for
the users, as it doesn't mention serde or IO operations.
The log format was adjusted.
--
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]