<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Why consumerKafka_0_10 Processor receives flowfile less than total flowfile? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203687#M62612</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18385/kiemnguyenxuan1.html" nodeid="18385"&gt;@Kiem Nguyen&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;On the Consumer_Kafka_0_10 processors, configure them with 2 concurrent tasks, and see if that resolves the issue.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 19:53:25 GMT</pubDate>
    <dc:creator>Wynner</dc:creator>
    <dc:date>2017-06-13T19:53:25Z</dc:date>
    <item>
      <title>Why consumerKafka_0_10 Processor receives flowfile less than total flowfile?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203684#M62609</link>
      <description>&lt;P&gt;I have 1 producers (PublishKafka_0_10 processor) and 1 consumer (ConsumerKafka_0_10 processor) to receive flowfile from Kafka cluster.&lt;/P&gt;&lt;P&gt;I see on Nifi UI admin, the total out of producers is 7 packages but the consumer just receives only 4 packages. I also use kafka_console_consumer.sh to view the packages from producer and it displays whole 7 packages.&lt;/P&gt;&lt;P&gt;I don't know why and where I lost 3 packages from consumerKafka_0_10 processor.&lt;/P&gt;&lt;P&gt;I use kafka cluster with 3 nodes and nifi cluster with 3 nodes too.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 13:25:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203684#M62609</guid>
      <dc:creator>kiemnguyenxuan1</dc:creator>
      <dc:date>2017-06-09T13:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why consumerKafka_0_10 Processor receives flowfile less than total flowfile?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203685#M62610</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18385/kiemnguyenxuan1.html" nodeid="18385"&gt;@Kiem Nguyen&lt;/A&gt; &lt;/P&gt;&lt;P&gt;How many partitions are on the Kafka topic?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 19:35:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203685#M62610</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-06-09T19:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why consumerKafka_0_10 Processor receives flowfile less than total flowfile?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203686#M62611</link>
      <description>&lt;P&gt;@Wynnwe&lt;/P&gt;&lt;P&gt;I have 3 topics in Kafka cluster: aa, bb, cc. I use this syntax to check number of partitions. It seems have 4 partition.&lt;/P&gt;&lt;PRE&gt;./bin/kafka-topics.sh --describe --zookeeper 10.42.53.16:2181,10.42.53.17:2181,10.42.53.18:2181 --topic aa&lt;/PRE&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;PRE&gt;Topic:aa        PartitionCount:4        ReplicationFactor:1     Configs:
        Topic: aa       Partition: 0    Leader: 17      Replicas: 17    Isr: 17
        Topic: aa       Partition: 1    Leader: 18      Replicas: 18    Isr: 18
        Topic: aa       Partition: 2    Leader: 17      Replicas: 17    Isr: 17
        Topic: aa       Partition: 3    Leader: 18      Replicas: 18    Isr: 18
&lt;/PRE&gt;&lt;P&gt;It is same result when I check with topic bb and cc.&lt;/P&gt;&lt;P&gt;However, the loss of the package just occurs in ConsumerKafka_0_10 processor that receives data from topic aa or bb.&lt;/P&gt;&lt;P&gt;The ConsumerKafka_0_10 processor that receives data from topic cc is always enough.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 14:09:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203686#M62611</guid>
      <dc:creator>kiemnguyenxuan1</dc:creator>
      <dc:date>2017-06-13T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why consumerKafka_0_10 Processor receives flowfile less than total flowfile?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203687#M62612</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18385/kiemnguyenxuan1.html" nodeid="18385"&gt;@Kiem Nguyen&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;On the Consumer_Kafka_0_10 processors, configure them with 2 concurrent tasks, and see if that resolves the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 19:53:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203687#M62612</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-06-13T19:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why consumerKafka_0_10 Processor receives flowfile less than total flowfile?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203688#M62613</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/286/dwynne.html" nodeid="286"&gt;@Wynner&lt;/A&gt;
 &lt;/P&gt;&lt;P&gt;Yes. I think problem is about configure number of concurrent task on Consumer_Kafka_0_10 processors.&lt;/P&gt;&lt;P&gt;I will accept your answer as you determine right problem. But  Can you help me configure number of concurrent task with my case:&lt;/P&gt;&lt;P&gt;In my case, I have 3 PublishKafka_0_10 processors A, B, C. A push data to topic aa, B to topic bb and C to topic cc.&lt;/P&gt;&lt;P&gt;Each PublishKafka_0_10 processor has number of concurrent task is default 1.&lt;/P&gt;&lt;P&gt;As you see, my Kafka cluster has 4 partitions for all 3 topics.&lt;/P&gt;&lt;P&gt;Then I have 3 Consumer_Kafka_0_10 processors D, E, F. D receives data from topic aa, E receives data from topic bb, F  receives data from topic cc.&lt;/P&gt;&lt;P&gt;How many concurrent task need to configure for each Consumer_Kafka_0_10 processors D, E, F?&lt;/P&gt;&lt;P&gt;Please help me understand relation between partition and concurrent task.&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 09:49:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203688#M62613</guid>
      <dc:creator>kiemnguyenxuan1</dc:creator>
      <dc:date>2017-06-14T09:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why consumerKafka_0_10 Processor receives flowfile less than total flowfile?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203689#M62614</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/18385/kiemnguyenxuan1.html" nodeid="18385"&gt;@Kiem Nguyen&lt;/A&gt;&lt;P&gt;The configuration is to have the same number of concurrent tasks and partitions. So, with 4 partitions on the topics, you want 4 concurrent tasks.  Since you have a 3 node cluster, configure your PublishKafka and Consume_Kafka processors with 2 concurrent tasks and you should be good.&lt;/P&gt;&lt;P&gt;For an ideal situation, it would be better if they matched exactly. So, if possible, I would configure the Kafka topics with 6 partitions, or some multiple of three.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 21:20:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Why-consumerKafka-0-10-Processor-receives-flowfile-less-than/m-p/203689#M62614</guid>
      <dc:creator>Wynner</dc:creator>
      <dc:date>2017-06-14T21:20:41Z</dc:date>
    </item>
  </channel>
</rss>

