<?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: How to consume kafka messages from a specific offset in nifi ConsumeKafka processors? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-consume-kafka-messages-from-a-specific-offset-in-nifi/m-p/387017#M246220</link>
    <description>&lt;P&gt;Not possible, there is a reason for that&amp;nbsp;&lt;SPAN&gt;if we allow to add a property to set an initial offset, every time that processor was stopped and started we would again start at that configured offset,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;with console consumer, you only pass the initial offset on the first execution&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="c-virtual_list__item"&gt;&lt;DIV class="c-message_kit__background c-message_kit__background--hovered p-message_pane_message__message c-message_kit__message"&gt;&lt;DIV class="c-message_kit__hover c-message_kit__hover--hovered"&gt;&lt;DIV class="c-message_kit__actions c-message_kit__actions--above"&gt;&lt;DIV class="c-message_kit__gutter"&gt;&lt;DIV class="c-message_kit__gutter__right"&gt;&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text"&gt;&lt;DIV class="p-block_kit_renderer"&gt;&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;&lt;DIV class="p-rich_text_block"&gt;&lt;DIV class="p-rich_text_section"&gt;then subsequent executions use the last stored offset in Kafka, which is not the case here with the processor.&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;Thus only two options are&amp;nbsp;&lt;SPAN&gt;"earliest" or "latest".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&lt;SPAN&gt;Thank you &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 Apr 2024 08:46:04 GMT</pubDate>
    <dc:creator>ckumar</dc:creator>
    <dc:date>2024-04-23T08:46:04Z</dc:date>
    <item>
      <title>How to consume kafka messages from a specific offset in nifi ConsumeKafka processors?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-consume-kafka-messages-from-a-specific-offset-in-nifi/m-p/386960#M246197</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I am using Apache Nifi 1.25 now and have a requirement to consume data from a specific offset of a topic partition.&lt;/P&gt;&lt;P&gt;I see in Nifi ConsumeKafka processor to configure only "earliest" or "latest" but not specific offset number, is there any way to achieve this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any info/suggestion would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 17:05:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-consume-kafka-messages-from-a-specific-offset-in-nifi/m-p/386960#M246197</guid>
      <dc:creator>hegdemahendra</dc:creator>
      <dc:date>2024-04-22T17:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to consume kafka messages from a specific offset in nifi ConsumeKafka processors?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-consume-kafka-messages-from-a-specific-offset-in-nifi/m-p/387017#M246220</link>
      <description>&lt;P&gt;Not possible, there is a reason for that&amp;nbsp;&lt;SPAN&gt;if we allow to add a property to set an initial offset, every time that processor was stopped and started we would again start at that configured offset,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;with console consumer, you only pass the initial offset on the first execution&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="c-virtual_list__item"&gt;&lt;DIV class="c-message_kit__background c-message_kit__background--hovered p-message_pane_message__message c-message_kit__message"&gt;&lt;DIV class="c-message_kit__hover c-message_kit__hover--hovered"&gt;&lt;DIV class="c-message_kit__actions c-message_kit__actions--above"&gt;&lt;DIV class="c-message_kit__gutter"&gt;&lt;DIV class="c-message_kit__gutter__right"&gt;&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text"&gt;&lt;DIV class="p-block_kit_renderer"&gt;&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;&lt;DIV class="p-rich_text_block"&gt;&lt;DIV class="p-rich_text_section"&gt;then subsequent executions use the last stored offset in Kafka, which is not the case here with the processor.&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;Thus only two options are&amp;nbsp;&lt;SPAN&gt;"earliest" or "latest".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&lt;SPAN&gt;Thank you &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Apr 2024 08:46:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-consume-kafka-messages-from-a-specific-offset-in-nifi/m-p/387017#M246220</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2024-04-23T08:46:04Z</dc:date>
    </item>
  </channel>
</rss>

