rzepinskip commented on code in PR #11857:
URL: https://github.com/apache/nifi/pull/11857#discussion_r4389933898


##########
nifi-extension-bundles/nifi-kafka-bundle/nifi-kafka-3-integration/src/test/java/org/apache/nifi/kafka/processors/ConsumeKafkaRecordTombstoneIT.java:
##########


Review Comment:
   | Kafka value | Reader | Before | After |
   | --- | --- | --- | --- |
   | null | JSON | No FlowFile on `success` or `parse.failure`. The value was 
rewritten to empty bytes. `JsonTreeReader` returned no records and did not 
throw. | No FlowFile on `success` or `parse.failure`. Skipped before the 
reader. |
   | null | Avro | `parse.failure` with empty content. The value was rewritten 
to empty bytes. Opening the Avro container threw because there was no header. | 
No FlowFile on `success` or `parse.failure`. Skipped before the reader. |
   | empty | JSON | No FlowFile on `success` or `parse.failure`. The reader 
returned no records and did not throw. | Same as before. |
   | empty | Avro | `parse.failure` with empty content. | Same as before. |
   | non-empty | JSON | `success` with the parsed record. | Same as before. |
   | non-empty | Avro | `success` with the parsed record. | Same as before. |



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