[ 
https://issues.apache.org/jira/browse/NIFI-4656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284187#comment-16284187
 ] 

ASF GitHub Bot commented on NIFI-4656:
--------------------------------------

Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2330#discussion_r155873429
  
    --- Diff: 
nifi-nar-bundles/nifi-kafka-bundle/nifi-kafka-0-11-processors/src/main/java/org/apache/nifi/processors/kafka/pubsub/ConsumerLease.java
 ---
    @@ -520,6 +520,14 @@ private void writeRecordData(final ProcessSession 
session, final List<ConsumerRe
                         try {
                             reader = 
readerFactory.createRecordReader(attributes, in, logger);
                         } catch (final Exception e) {
    +                        if (e instanceof IOException) {
    --- End diff --
    
    Blurgh, yes, sorry. Will address & push.


> ConsumeKafkaRecord reports incorrect number of received records (by a lot)
> --------------------------------------------------------------------------
>
>                 Key: NIFI-4656
>                 URL: https://issues.apache.org/jira/browse/NIFI-4656
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Joseph Witt
>            Assignee: Mark Payne
>             Fix For: 1.5.0
>
>
> When creating a simple flow to consume kafka records to test the kafka 1 
> processors it was observed that the counters show far too many records 
> received.  The behavior appears correct but the record count counters is way 
> off.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to