Class AzureEventHubUtils
java.lang.Object
org.apache.nifi.processors.azure.eventhub.utils.AzureEventHubUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.nifi.components.AllowableValuestatic final org.apache.nifi.components.AllowableValuestatic final org.apache.nifi.components.AllowableValuestatic final org.apache.nifi.components.AllowableValuestatic final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.apache.nifi.components.ValidationResult> customValidate(org.apache.nifi.components.PropertyDescriptor accessPolicyDescriptor, org.apache.nifi.components.PropertyDescriptor policyKeyDescriptor, org.apache.nifi.components.ValidationContext context) getApplicationProperties(Map<String, Object> eventProperties) private static ProxygetProxy(ProxyConfiguration proxyConfiguration) static Optional<com.azure.core.amqp.ProxyOptions> getProxyOptions(org.apache.nifi.context.PropertyContext propertyContext) Creates theproxy options.
-
Field Details
-
AZURE_ENDPOINT
public static final org.apache.nifi.components.AllowableValue AZURE_ENDPOINT -
AZURE_CHINA_ENDPOINT
public static final org.apache.nifi.components.AllowableValue AZURE_CHINA_ENDPOINT -
AZURE_GERMANY_ENDPOINT
public static final org.apache.nifi.components.AllowableValue AZURE_GERMANY_ENDPOINT -
AZURE_US_GOV_ENDPOINT
public static final org.apache.nifi.components.AllowableValue AZURE_US_GOV_ENDPOINT -
POLICY_PRIMARY_KEY
public static final org.apache.nifi.components.PropertyDescriptor POLICY_PRIMARY_KEY -
USE_MANAGED_IDENTITY
public static final org.apache.nifi.components.PropertyDescriptor USE_MANAGED_IDENTITY -
SERVICE_BUS_ENDPOINT
public static final org.apache.nifi.components.PropertyDescriptor SERVICE_BUS_ENDPOINT
-
-
Constructor Details
-
AzureEventHubUtils
public AzureEventHubUtils()
-
-
Method Details
-
customValidate
public static List<org.apache.nifi.components.ValidationResult> customValidate(org.apache.nifi.components.PropertyDescriptor accessPolicyDescriptor, org.apache.nifi.components.PropertyDescriptor policyKeyDescriptor, org.apache.nifi.components.ValidationContext context) -
getApplicationProperties
-
getProxyOptions
public static Optional<com.azure.core.amqp.ProxyOptions> getProxyOptions(org.apache.nifi.context.PropertyContext propertyContext) Creates theproxy options.- Parameters:
propertyContext- to supply Proxy configurations- Returns:
proxy options, null if Proxy is not set
-
getProxy
-