Github user josephxsxn commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1167#discussion_r85647660
--- Diff:
nifi-nar-bundles/nifi-azure-bundle/nifi-azure-processors/src/main/java/org/apache/nifi/processors/azure/eventhub/GetAzureEventHub.java
---
@@ -264,6 +285,16 @@ public void onScheduled(final ProcessContext context)
throws ProcessException {
} else {
configuredEnqueueTime = null;
}
+ if(context.getProperty(RECEIVER_FETCH_SIZE).isSet()) {
+ receiverFetchSize =
context.getProperty(RECEIVER_FETCH_SIZE).asInteger();
+ } else {
+ receiverFetchSize = 100;
+ }
+ if(context.getProperty(RECEIVER_FETCH_TIMEOUT).isSet()) {
+ receiverFetchTimeout =
Duration.ofSeconds(context.getProperty(RECEIVER_FETCH_TIMEOUT).asLong());
--- End diff --
This should be ofMils not ofSeconds
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---