Github user MikeThomsen commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2896#discussion_r218059033
  
    --- Diff: 
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java
 ---
    @@ -270,20 +291,10 @@ public final void closeClient() {
             }
         }
     
    -    protected MongoDatabase getDatabase(final ProcessContext context) {
    -        return getDatabase(context, null);
    -    }
    -
         protected MongoDatabase getDatabase(final ProcessContext context, 
final FlowFile flowFile) {
             final String databaseName = 
context.getProperty(DATABASE_NAME).evaluateAttributeExpressions(flowFile).getValue();
    --- End diff --
    
    @zenfenan This is how we would be doing the database/collection 
configuration.


---

Reply via email to