diff --git a/influxdb-fetcher/pom.xml b/influxdb-fetcher/pom.xml
index 433d581..0f4f50f 100644
--- a/influxdb-fetcher/pom.xml
+++ b/influxdb-fetcher/pom.xml
@@ -75,11 +75,6 @@
influxdb-java
2.21
-
- joda-time
- joda-time
- 2.10.9
-
diff --git a/influxdb-fetcher/src/main/java/com/github/hgomez/influxdb/InfluxDBFetcher.java b/influxdb-fetcher/src/main/java/com/github/hgomez/influxdb/InfluxDBFetcher.java
index 9a5ed84..31d9f32 100644
--- a/influxdb-fetcher/src/main/java/com/github/hgomez/influxdb/InfluxDBFetcher.java
+++ b/influxdb-fetcher/src/main/java/com/github/hgomez/influxdb/InfluxDBFetcher.java
@@ -13,9 +13,6 @@
import org.influxdb.dto.QueryResult;
import org.influxdb.dto.QueryResult.Result;
import org.influxdb.dto.QueryResult.Series;
-import org.joda.time.DateTime;
-import org.joda.time.format.DateTimeFormatter;
-import org.joda.time.format.ISODateTimeFormat;
public class InfluxDBFetcher {
/**
@@ -64,7 +61,7 @@ public static void main(String args[]) {
.readTimeout(120, TimeUnit.SECONDS)
.writeTimeout(120, TimeUnit.SECONDS);
- InfluxDB influxDB = InfluxDBFactory.connect(url, login, password, okHttpClientBuilder);
+ InfluxDB influxDB = InfluxDBFactory.connect(url, login, password, okHttpClientBuilder, InfluxDB.ResponseFormat.MSGPACK);
influxDB.enableGzip();
Query query = new Query(queryString, dbName);
@@ -93,26 +90,9 @@ public static void main(String args[]) {
public static String buildWireString(String serieName, Map tags, List columns,
List