Skip to content
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.

Commit

Permalink
feat: update NiFi to 1.12.1, InfluxDB v1 to 1.8, Chronograf to 1.7, i…
Browse files Browse the repository at this point in the history
…nfluxdb-client-java to 1.11.0 and influxdb-java to 2.20 (#38)
  • Loading branch information
bednar authored Oct 1, 2020
1 parent ed2c293 commit 42ee05b
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 46 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
### API
* [#36](https://github.com/influxdata/nifi-influxdb-bundle/pull/36): Default port changed from 9999 -> 8086

### Others
* [38](https://github.com/influxdata/nifi-influxdb-bundle/pull/38): Updated NiFi to 1.12.1, InfluxDB v1 to 1.8, Chronograf to 1.7, influxdb-client-java to 1.11.0 and influxdb-java to 2.20

## v1.7.0 [2020-04-17]

### Others
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The Nar compatibility matrix:

Nar Version | NiFi Version
----------------------------------------------------------------------------------------------------------------------------------------| ------------
[nifi-influx-database-nar-1.8.0-SNAPSHOT.nar](https://github.com/influxdata/nifi-influxdb-bundle/releases/download/v1.8.0-SNAPSHOT/nifi-influx-database-nar-1.8.0-SNAPSHOT.nar) | 1.11.4
[nifi-influx-database-nar-1.8.0-SNAPSHOT.nar](https://github.com/influxdata/nifi-influxdb-bundle/releases/download/v1.8.0-SNAPSHOT/nifi-influx-database-nar-1.8.0-SNAPSHOT.nar) | 1.12.1
[nifi-influx-database-nar-1.7.0.nar](https://github.com/influxdata/nifi-influxdb-bundle/releases/download/v1.7.0/nifi-influx-database-nar-1.7.0.nar) | 1.11.4
[nifi-influx-database-nar-1.6.0.nar](https://github.com/influxdata/nifi-influxdb-bundle/releases/download/v1.6.0/nifi-influx-database-nar-1.6.0.nar) | 1.11.3
[nifi-influx-database-nar-1.5.0.nar](https://github.com/influxdata/nifi-influxdb-bundle/releases/download/v1.5.0/nifi-influx-database-nar-1.5.0.nar) | 1.11.1
Expand Down
10 changes: 6 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-nar-bundles</artifactId>
<version>1.11.4</version>
<version>1.12.1</version>
</parent>

<artifactId>nifi-influx-database-bundle</artifactId>
Expand Down Expand Up @@ -100,8 +100,10 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- skip until remove org.json from Java client -->
<enforcer.skip>true</enforcer.skip>

<nifi.version>1.11.4</nifi.version>
<nifi.version>1.12.1</nifi.version>

<plugin.surefire.version>2.22.0</plugin.surefire.version>
<plugin.jacoco.version>0.8.2</plugin.jacoco.version>
Expand Down Expand Up @@ -204,13 +206,13 @@
<dependency>
<groupId>org.influxdb</groupId>
<artifactId>influxdb-java</artifactId>
<version>2.17</version>
<version>2.20</version>
</dependency>

<dependency>
<groupId>com.influxdb</groupId>
<artifactId>influxdb-client-java</artifactId>
<version>1.4.0</version>
<version>1.11.0</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
#

ARG NIFI_IMAGE=apache/nifi:1.11.4
ARG NIFI_IMAGE=apache/nifi:1.12.1

FROM $NIFI_IMAGE

Expand Down
76 changes: 40 additions & 36 deletions scripts/flow.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -245,7 +245,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -281,7 +281,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -382,7 +382,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -429,7 +429,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -468,7 +468,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -501,7 +501,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -537,7 +537,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -570,7 +570,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -657,7 +657,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -744,7 +744,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -780,7 +780,7 @@ Set as Line Protocol.</value>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -1190,7 +1190,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-http-context-map-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand All @@ -1210,7 +1210,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-record-serialization-services-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -1286,7 +1286,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-http-context-map-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand All @@ -1306,7 +1306,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-record-serialization-services-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -1343,7 +1343,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-record-serialization-services-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -1438,7 +1438,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-record-serialization-services-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -1507,7 +1507,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-record-serialization-services-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -1655,7 +1655,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -1707,7 +1707,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-social-media-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -2042,7 +2042,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>5 sec</schedulingPeriod>
Expand Down Expand Up @@ -2099,7 +2099,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -2143,15 +2143,15 @@ curl -i -X GET -G http://localhost:8234 \
</processor>
<processor>
<id>0da4cb96-016b-1000-471a-93377cc20d0d</id>
<name>PublishKafka_0_10</name>
<name>PublishKafka_0_11</name>
<position x="1047.893615619313" y="682.185540679174"/>
<styles/>
<comment/>
<class>org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10</class>
<class>org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_11</class>
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-kafka-0-10-nar</artifact>
<version>1.11.4</version>
<artifact>nifi-kafka-0-11-nar</artifact>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -2194,6 +2194,10 @@ curl -i -X GET -G http://localhost:8234 \
<name>acks</name>
<value>0</value>
</property>
<property>
<name>use-transactions</name>
<value>false</value>
</property>
<property>
<name>kafka-key</name>
</property>
Expand Down Expand Up @@ -2236,7 +2240,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-update-attribute-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -2394,7 +2398,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -2659,7 +2663,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-record-serialization-services-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -2781,7 +2785,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-record-serialization-services-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -2826,7 +2830,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-registry-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<enabled>true</enabled>
<property>
Expand Down Expand Up @@ -2868,7 +2872,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -2921,7 +2925,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -3069,7 +3073,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down Expand Up @@ -3192,7 +3196,7 @@ curl -i -X GET -G http://localhost:8234 \
<bundle>
<group>org.apache.nifi</group>
<artifact>nifi-standard-nar</artifact>
<version>1.11.4</version>
<version>1.12.1</version>
</bundle>
<maxConcurrentTasks>1</maxConcurrentTasks>
<schedulingPeriod>0 sec</schedulingPeriod>
Expand Down
2 changes: 1 addition & 1 deletion scripts/influxdb-restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set -e
DEFAULT_DOCKER_REGISTRY="quay.io/influxdb/"
DOCKER_REGISTRY="${DOCKER_REGISTRY:-$DEFAULT_DOCKER_REGISTRY}"

DEFAULT_INFLUXDB_VERSION="1.7"
DEFAULT_INFLUXDB_VERSION="1.8"
INFLUXDB_VERSION="${INFLUXDB_VERSION:-$DEFAULT_INFLUXDB_VERSION}"
INFLUXDB_IMAGE=influxdb:${INFLUXDB_VERSION}-alpine

Expand Down
Loading

0 comments on commit 42ee05b

Please sign in to comment.