turcsanyip commented on a change in pull request #4213: NIFI-7280 Use Atlas
metadata namespace in Atlas Reporting Task
URL: https://github.com/apache/nifi/pull/4213#discussion_r409531548
##########
File path:
nifi-nar-bundles/nifi-atlas-bundle/nifi-atlas-reporting-task/src/main/java/org/apache/nifi/atlas/reporting/ReportLineageToAtlas.java
##########
@@ -333,30 +339,34 @@
@Override
protected List<PropertyDescriptor> getSupportedPropertyDescriptors() {
final List<PropertyDescriptor> properties = new ArrayList<>();
+ // Basic atlas config
properties.add(ATLAS_URLS);
- properties.add(ATLAS_CONNECT_TIMEOUT);
- properties.add(ATLAS_READ_TIMEOUT);
- properties.add(ATLAS_AUTHN_METHOD);
- properties.add(ATLAS_USER);
- properties.add(ATLAS_PASSWORD);
- properties.add(ATLAS_CONF_DIR);
- properties.add(ATLAS_NIFI_URL);
properties.add(ATLAS_DEFAULT_CLUSTER_NAME);
- properties.add(NIFI_LINEAGE_STRATEGY);
- properties.add(PROVENANCE_START_POSITION);
- properties.add(PROVENANCE_BATCH_SIZE);
- properties.add(SSL_CONTEXT_SERVICE);
+ properties.add(ATLAS_CONF_DIR);
+ properties.add(ATLAS_CONF_CREATE);
// Following properties are required if ATLAS_CONF_CREATE is enabled.
// Otherwise should be left blank.
- properties.add(ATLAS_CONF_CREATE);
+ // Will be used by the atlas client by reading the values from the
atlas config file
+ properties.add(ATLAS_CONNECT_TIMEOUT);
+ properties.add(ATLAS_READ_TIMEOUT);
+ properties.add(SSL_CONTEXT_SERVICE);
properties.add(KERBEROS_CREDENTIALS_SERVICE);
properties.add(NIFI_KERBEROS_PRINCIPAL);
properties.add(NIFI_KERBEROS_KEYTAB);
properties.add(KAFKA_KERBEROS_SERVICE_NAME);
Review comment:
This property depends on KAFKA_SECURITY_PROTOCOL property so I would rather
move it after that one.
----------------------------------------------------------------
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]
With regards,
Apache Git Services