Skip to content

Commit

Permalink
Move to latest InfluxDB Java lib and activate Gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
hgomez-sonarsource committed Sep 4, 2018
1 parent f951d25 commit f2dfbe7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions influxdb-fetcher/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.hgomez.influxdb</groupId>
<artifactId>influxdb-fetcher</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<name>InfluxDB Fetcher</name>
<description>Simple InfluxDB Fetcher</description>

Expand Down Expand Up @@ -73,7 +73,7 @@
<dependency>
<groupId>org.influxdb</groupId>
<artifactId>influxdb-java</artifactId>
<version>2.2</version>
<version>2.12</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static void main(String args[]) {
}

InfluxDB influxDB = InfluxDBFactory.connect(url, login, password);
influxDB.enableGzip();
Query query = new Query(queryString, dbName);

QueryResult queryResult = influxDB.query(query);
Expand Down

0 comments on commit f2dfbe7

Please sign in to comment.