Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7258

Overflow in PutAzureEventHub when not configured correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0, 1.11.4
    • Extensions
    • None

    Description

      When PutAzureEventHub is not correctly configured, the processor will keep retrying without yielding causing resources consumption on the NiFi node. The log message is also not correctly formatted:

      2020-03-16 15:53:25,613 ERROR [Timer-Driven Process Thread-5] o.a.n.p.azure.eventhub.PutAzureEventHub PutAzureEventHub[id=e346dfcc-0170-1000-ffff-ffffad338113] Failed to create EventHubClient due to com.microsoft.azure.eventhubs.CommunicationException: A communication error has occurred. This may be due to an incorrect host name in your connection string or a problem with your network connection.: {}
      2020-03-16 15:53:25,613 ERROR [Timer-Driven Process Thread-5] o.a.n.p.azure.eventhub.PutAzureEventHub PutAzureEventHub[id=e346dfcc-0170-1000-ffff-ffffad338113] Failed to process session due to org.apache.nifi.processor.exception.ProcessException: com.microsoft.azure.eventhubs.CommunicationException: A communication error has occurred. This may be due to an incorrect host name in your connection string or a problem with your network connection.: org.apache.nifi.processor.exception.ProcessException: com.microsoft.azure.eventhubs.CommunicationException: A communication error has occurred. This may be due to an incorrect host name in your connection string or a problem with your network connection.
      2020-03-16 15:53:25,617 ERROR [Timer-Driven Process Thread-5] o.a.n.p.azure.eventhub.PutAzureEventHub PutAzureEventHub[id=e346dfcc-0170-1000-ffff-ffffad338113] Failed to create EventHubClient due to com.microsoft.azure.eventhubs.CommunicationException: A communication error has occurred. This may be due to an incorrect host name in your connection string or a problem with your network connection.: {}
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h