Pierre Villard created NIFI-7258:
------------------------------------

             Summary: Overflow in PutAzureEventHub when not configured correctly
                 Key: NIFI-7258
                 URL: https://issues.apache.org/jira/browse/NIFI-7258
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Pierre Villard


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:
{code:java}
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.: {}
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to