Lehel44 commented on a change in pull request #5136:
URL: https://github.com/apache/nifi/pull/5136#discussion_r648499618



##########
File path: 
nifi-nar-bundles/nifi-azure-bundle/nifi-azure-processors/src/main/java/org/apache/nifi/processors/azure/eventhub/ConsumeAzureEventHub.java
##########
@@ -332,6 +347,26 @@ public void setWriterFactory(RecordSetWriterFactory 
writerFactory) {
                     .valid(false)
                     .build());
         }
+
+        if (!StringUtils.isNotBlank(storageAccountKey) && 
!StringUtils.isNotBlank(storageSasToken)) {

Review comment:
       I think !StringUtils::isNotBlank can be replaced with 
StringUtils::isBlank.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to