<?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: Nifi ConsumeKafka_2_6 (nifi 1.16.3) is reading from only 2 partition out 3 partitions from a kafka topic in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-ConsumeKafka-2-6-nifi-1-16-3-is-reading-from-only-2/m-p/383150#M244839</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/37332"&gt;@hegdemahendra&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Curious about the differences between your prod and uat environments here.&lt;BR /&gt;1. Same number of nodes in each environments NiFi cluster?&lt;BR /&gt;2. Same exact configurations on the ConsumeKafka processor (except consumer group ID) ?&lt;BR /&gt;3. Screenshot of scheduling tab for consumeKafka processor?&lt;BR /&gt;4. Versions of NiFi (Apache, CFM, HDF) used in both environments?&lt;BR /&gt;5. Any observed rebalancing or consumer group related exceptions in the logs?&lt;BR /&gt;&lt;BR /&gt;Having more consumers in a consumer group than the number of partitions can lead to constant rebalance occurring.&amp;nbsp; &amp;nbsp;The number of consumers in the consumer group is calculated by multiplying the number of nodes in your NiFi cluster by the number of concurrent tasks configured on the ConsumeKafka processor.&amp;nbsp; So if you have a 3 node cluster, you should have only 1 concurrent task, so number of consumers is equal to or less the the number of partitions.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 14:38:11 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-02-05T14:38:11Z</dc:date>
    <item>
      <title>Nifi ConsumeKafka_2_6 (nifi 1.16.3) is reading from only 2 partition out 3 partitions from a kafka topic</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-ConsumeKafka-2-6-nifi-1-16-3-is-reading-from-only-2/m-p/383139#M244836</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;We are facing an issue, where preprod Nifi server is able to read a kafka topic correctly.&lt;BR /&gt;It is able to read all 3 partitions data.&lt;/P&gt;&lt;P&gt;At the same time UAT Nifi server is connecting to same topic with different consumer group id and which is reading only the partition 0 &amp;amp; partition 1 but not partition 2.&lt;/P&gt;&lt;P&gt;Screen shot from Lenses abt the same consumer group which is facing issue&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hegdemahendra_0-1707138486136.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39646iB1B5FCED18AD453D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hegdemahendra_0-1707138486136.png" alt="hegdemahendra_0-1707138486136.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what could be the possible reasons?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 13:13:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-ConsumeKafka-2-6-nifi-1-16-3-is-reading-from-only-2/m-p/383139#M244836</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2024-02-05T13:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi ConsumeKafka_2_6 (nifi 1.16.3) is reading from only 2 partition out 3 partitions from a kafka topic</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-ConsumeKafka-2-6-nifi-1-16-3-is-reading-from-only-2/m-p/383150#M244839</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/37332"&gt;@hegdemahendra&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Curious about the differences between your prod and uat environments here.&lt;BR /&gt;1. Same number of nodes in each environments NiFi cluster?&lt;BR /&gt;2. Same exact configurations on the ConsumeKafka processor (except consumer group ID) ?&lt;BR /&gt;3. Screenshot of scheduling tab for consumeKafka processor?&lt;BR /&gt;4. Versions of NiFi (Apache, CFM, HDF) used in both environments?&lt;BR /&gt;5. Any observed rebalancing or consumer group related exceptions in the logs?&lt;BR /&gt;&lt;BR /&gt;Having more consumers in a consumer group than the number of partitions can lead to constant rebalance occurring.&amp;nbsp; &amp;nbsp;The number of consumers in the consumer group is calculated by multiplying the number of nodes in your NiFi cluster by the number of concurrent tasks configured on the ConsumeKafka processor.&amp;nbsp; So if you have a 3 node cluster, you should have only 1 concurrent task, so number of consumers is equal to or less the the number of partitions.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 14:38:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-ConsumeKafka-2-6-nifi-1-16-3-is-reading-from-only-2/m-p/383150#M244839</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-02-05T14:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi ConsumeKafka_2_6 (nifi 1.16.3) is reading from only 2 partition out 3 partitions from a kafka topic</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-ConsumeKafka-2-6-nifi-1-16-3-is-reading-from-only-2/m-p/383162#M244841</link>
      <description>&lt;P&gt;Thanks for the quick reply&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;We found the issue.&lt;BR /&gt;&lt;BR /&gt;It was due to firewall setup for the partition-2 on broker side.&lt;BR /&gt;When they fixed it started working&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 15:13:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-ConsumeKafka-2-6-nifi-1-16-3-is-reading-from-only-2/m-p/383162#M244841</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2024-02-05T15:13:09Z</dc:date>
    </item>
  </channel>
</rss>

