<?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 Apache NiFi GetAzureEventHub connection error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393240#M248391</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been facing an issue with building a flow in Apache NiFi (version 1.18) to receive events from Azure EventHub.&lt;/P&gt;&lt;P&gt;We had a Process Group that would read events from Azure EventHub using ‘GetAzureEventHub’ processor. It was running successfully, but in March 2024 it stopped working without any changes to NiFi server or on the Azure EventHub. We received the following error - “&lt;EM&gt;Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException: reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException - Caused by: java.lang.InterruptedException&lt;/EM&gt;”&lt;/P&gt;&lt;P&gt;Since then, we have not been able to connect to Azure EventHub from NiFi. We have tried ‘ConsumeAzureEventHub’ processor as well, but received “&lt;EM&gt;Connection is disposed. Cannot get management instance&lt;/EM&gt;” error. Azure EventHub is public, and we’re able to successfully connect to it from outside NiFi (local machine).&lt;/P&gt;&lt;P&gt;While processing some logs, we noticed that GetAzureEventHub processor was sending requests to port 33514 (correct IP address), however, Azure EventHub needs requests in port 5671/5672. As per the NiFi documentation (&lt;A href="https://urldefense.com/v3/__https:/nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-azure-nar/1.27.0/org.apache.nifi.processors.azure.eventhub.GetAzureEventHub/index.html__;!!KtbpKd1p8A!uS-U6ABa8-nyXekMi5dmM9xZGzHOFjOxQNQPhvmccWK9seGPpJ_pjP6CMxZkltr6lR8p_yBbD4OvpsIWiXA9WUxLmViNzkwsdg$" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-azure-nar/1.27.0/org.apache.nifi.processors.azure.eventhub.GetAzureEventHub/index.html&lt;/A&gt;) as well, default “Transport Type” is “AMQP” which is supposed to send requests to 5671/5672.&lt;/P&gt;&lt;P&gt;So, we’re looking for help to understand 1) why the requests are not being sent to the correct ports? and 2) How can we change the ports, because we do not see any option to change the property “Transport Type”?&lt;/P&gt;&lt;P&gt;Any help or suggestion would be greatly appreciated. Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 17:05:18 GMT</pubDate>
    <dc:creator>DataEngineer07</dc:creator>
    <dc:date>2024-09-09T17:05:18Z</dc:date>
    <item>
      <title>Apache NiFi GetAzureEventHub connection error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393240#M248391</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been facing an issue with building a flow in Apache NiFi (version 1.18) to receive events from Azure EventHub.&lt;/P&gt;&lt;P&gt;We had a Process Group that would read events from Azure EventHub using ‘GetAzureEventHub’ processor. It was running successfully, but in March 2024 it stopped working without any changes to NiFi server or on the Azure EventHub. We received the following error - “&lt;EM&gt;Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException: reactor.core.Exceptions$ReactiveException: java.lang.InterruptedException - Caused by: java.lang.InterruptedException&lt;/EM&gt;”&lt;/P&gt;&lt;P&gt;Since then, we have not been able to connect to Azure EventHub from NiFi. We have tried ‘ConsumeAzureEventHub’ processor as well, but received “&lt;EM&gt;Connection is disposed. Cannot get management instance&lt;/EM&gt;” error. Azure EventHub is public, and we’re able to successfully connect to it from outside NiFi (local machine).&lt;/P&gt;&lt;P&gt;While processing some logs, we noticed that GetAzureEventHub processor was sending requests to port 33514 (correct IP address), however, Azure EventHub needs requests in port 5671/5672. As per the NiFi documentation (&lt;A href="https://urldefense.com/v3/__https:/nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-azure-nar/1.27.0/org.apache.nifi.processors.azure.eventhub.GetAzureEventHub/index.html__;!!KtbpKd1p8A!uS-U6ABa8-nyXekMi5dmM9xZGzHOFjOxQNQPhvmccWK9seGPpJ_pjP6CMxZkltr6lR8p_yBbD4OvpsIWiXA9WUxLmViNzkwsdg$" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-azure-nar/1.27.0/org.apache.nifi.processors.azure.eventhub.GetAzureEventHub/index.html&lt;/A&gt;) as well, default “Transport Type” is “AMQP” which is supposed to send requests to 5671/5672.&lt;/P&gt;&lt;P&gt;So, we’re looking for help to understand 1) why the requests are not being sent to the correct ports? and 2) How can we change the ports, because we do not see any option to change the property “Transport Type”?&lt;/P&gt;&lt;P&gt;Any help or suggestion would be greatly appreciated. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 17:05:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393240#M248391</guid>
      <dc:creator>DataEngineer07</dc:creator>
      <dc:date>2024-09-09T17:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi GetAzureEventHub connection error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393253#M248400</link>
      <description>&lt;P&gt;Welcome to the community&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/116213"&gt;@DataEngineer07&lt;/a&gt;&amp;nbsp;Perhaps&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;can point you in the right direction.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 20:56:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393253#M248400</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2024-09-09T20:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi GetAzureEventHub connection error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393288#M248421</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/116213"&gt;@DataEngineer07&lt;/a&gt;&amp;nbsp; This seems like something external interrupting this process (ie:&lt;EM&gt;InterruptedException).&amp;nbsp;&lt;/EM&gt;I would try a separate nifi instance with updated version to test basic connectivty to Azure Event Hub.&amp;nbsp; &amp;nbsp;That will confirm if its something specific to that original host or nifi version/config.&amp;nbsp; Considering the port difference you notice, i would also investigate that on the affected host as well (proxy or other).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 12:52:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393288#M248421</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2024-09-10T12:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Apache NiFi GetAzureEventHub connection error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393524#M248465</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/116213"&gt;@DataEngineer07&lt;/a&gt;&amp;nbsp;Have you been able to resolved your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark as solution button" style="width: 331px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5960i4EC112CCAAC11427/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-08-06 at 1.54.47 PM.png" alt="Screen Shot 2019-08-06 at 1.54.47 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 12:05:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-NiFi-GetAzureEventHub-connection-error/m-p/393524#M248465</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2024-09-16T12:05:56Z</dc:date>
    </item>
  </channel>
</rss>

