<?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: PublishKafkaProcessor , request is not going to failure relation when kafka broker value is wrong in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381365#M244293</link>
    <description>&lt;P&gt;&lt;SPAN&gt;My&amp;nbsp; "error" topic&amp;nbsp; is on different Kafka cluster . So i wanted my data which is failing due to connection error should move to failure and then to error topic .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to do so ??&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2023 06:46:21 GMT</pubDate>
    <dc:creator>Rohit1997jio</dc:creator>
    <dc:date>2023-12-28T06:46:21Z</dc:date>
    <item>
      <title>PublishKafkaProcessor , request is not going to failure relation when kafka broker value is wrong</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381257#M244271</link>
      <description>&lt;P&gt;In my flow iam publishing data to kafka topic , if there is failure , that request should go to failure relation where iam publishing that data to error topic , but in my case when there is not connectivity with kafka or kafka broker value is not correct request is getting queue in PublishKafka processor not moving to failure relation .&lt;/P&gt;&lt;P&gt;This queue will effect my other requests any even my error handling logic .Please suggest some solution&lt;/P&gt;&lt;P&gt;Attaching the image of error and my nifi flow-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="publishError.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39272i9938591A12D1E2D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="publishError.png" alt="publishError.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="publishError1.png" style="width: 900px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39273iEBED4445C97EC789/image-size/large?v=v2&amp;amp;px=999" role="button" title="publishError1.png" alt="publishError1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 17:05:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381257#M244271</guid>
      <dc:creator>Rohit1997jio</dc:creator>
      <dc:date>2023-12-26T17:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: PublishKafkaProcessor , request is not going to failure relation when kafka broker value is wrong</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381346#M244288</link>
      <description>&lt;P&gt;PublishKafka must have an active connection to Kafka before it even attempts to send a FlowFile which mean it never even gets into the block of code that sends it and routes it to "success" or "failure" accordingly. Making sure your Kafka cluster is up and running should be the focus if this is what you're experiencing. My guess if this "error" topic you have is on the same Kafka cluster then, even if PublishKafka was able to route a FlowFile to "failure" when it's unable to connect to Kafka, it wouldn't work anyways.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 22:01:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381346#M244288</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2023-12-27T22:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: PublishKafkaProcessor , request is not going to failure relation when kafka broker value is wrong</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381365#M244293</link>
      <description>&lt;P&gt;&lt;SPAN&gt;My&amp;nbsp; "error" topic&amp;nbsp; is on different Kafka cluster . So i wanted my data which is failing due to connection error should move to failure and then to error topic .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any way to do so ??&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 06:46:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381365#M244293</guid>
      <dc:creator>Rohit1997jio</dc:creator>
      <dc:date>2023-12-28T06:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: PublishKafkaProcessor , request is not going to failure relation when kafka broker value is wrong</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381398#M244296</link>
      <description>&lt;P&gt;Looking at the thread, Ans is No, that's not the way NiFi Processor is meant to handle relationships, The Client Processor has to initialize /start properly with the given configuration then only it can try to write and then based on the write results flow files can be routed to failure or success, Here Processor can't even start properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:23:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PublishKafkaProcessor-request-is-not-going-to-failure/m-p/381398#M244296</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2023-12-28T13:23:53Z</dc:date>
    </item>
  </channel>
</rss>

