exceptionfactory commented on code in PR #10100:
URL: https://github.com/apache/nifi/pull/10100#discussion_r2213667754


##########
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:
   I recommend adjusting the message slightly, making it more generic since 
there are a number of possible causes:
   ```suggestion
                   logger.debug("Failed to process Kafka Record with Topic [{}] 
Partition [{}] Offset [{}]",
   ```



-- 
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]

Reply via email to