Member since
11-12-2016
71
Posts
11
Kudos Received
0
Solutions
10-02-2019
02:11 AM
The prefetch (fetch value) option of jdbc can improve your perfomance a lot. You can add this options as dynamic option in the connection pool. My performance improves with a factor 20 when I raised it to 2000. JDBC uses a default value 10 when you don't specify a value.
... View more
01-07-2019
02:43 PM
No problem, glad the advice was helpful. For others following this thread, the Jira filed is: https://issues.apache.org/jira/browse/NIFI-5934
... View more
01-05-2019
09:24 PM
Thanks a lot. Jira submitted
... View more
12-17-2018
09:38 PM
Thank you @Otto Fowler I changed it as per your advice. However, I still face the same issue. For some reason, project doesnt include all the pom jar/nar Below is my pom.xml <?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>nifi</groupId>
<artifactId>custom1</artifactId>
<version>1.8.0</version>
</parent>
<artifactId>nifi-nifi-processors</artifactId>
<packaging>nar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-api</artifactId>
<version>1.8.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-utils</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-mock</artifactId>
<version>1.8.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-mongodb-client-service-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-mongodb-client-service-api-nar</artifactId>
<version>1.8.0</version>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-ssl-context-service-api</artifactId>
<version>1.8.0</version>
<type>jar</type>
</dependency>
</dependencies>
<version>1.8.0</version>
</project>
... View more
10-28-2017
07:01 PM
One silly question plz.. where can I find the below import source files ? which folder if I need to check the content or add more imports to them ? import org.apache.nifi.controller.ControllerService
import groovy.sql.Sql
... View more
06-19-2017
06:24 PM
You can annotate a method (with zero or one arguments, the one being a ProcessContext) with @OnStopped that will get called when the processor is stopped. See the Component Lifecycle section of the Developer Guide for more details.
... View more
04-17-2017
12:50 PM
1 Kudo
Hi @Yahya Najjar You can use ExtractText processor to extract these field as attributes. Below a test I did. This configuration will extract your CSV fields as myfields.1, myfields.2, etc As you can see in the provenance, these informations are added to the flow files as attributes Below the complete flow
... View more
11-03-2017
11:43 AM
1 Kudo
@Bryan Bende do you mean delete all below directories to empty the queue? will the job flow be delete too? content_repository flowfile_repository provenance_repository
... View more
12-14-2016
02:47 PM
Yes you can add a dynamic property whose value is a regular expression (see the documentation for more details).
... View more