MikeThomsen commented on code in PR #7212:
URL: https://github.com/apache/nifi/pull/7212#discussion_r1181840352
##########
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java:
##########
@@ -373,6 +374,11 @@ protected Collection<ValidationResult>
customValidate(ValidationContext context)
boolean clientIsSet = context.getProperty(CLIENT_SERVICE).isSet();
boolean uriIsSet = context.getProperty(URI).isSet();
+ if (uriIsSet) {
+
DeprecationLoggerFactory.getLogger(AbstractMongoProcessor.class).warn("The
MongoDB URI and other client " +
+ "configuration properties on this proessor are deprecated
and will be removed in NiFi 2.0");
Review Comment:
Resolved by @exceptionfactory's suggestions.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]