aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/MainModule.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-02 16:14:34 -0800
committerAnton Tananaev <anton@traccar.org>2023-03-02 16:14:34 -0800
commit6019dd4996fd19fdc9cc52d0e16d66b0397988a0 (patch)
treefb3b54288900b217d11a79a4b52c989ea965c1e4 /src/main/java/org/traccar/MainModule.java
parent847e581a4846994474a3116fc17fc16bde658f00 (diff)
downloadtrackermap-server-6019dd4996fd19fdc9cc52d0e16d66b0397988a0.tar.gz
trackermap-server-6019dd4996fd19fdc9cc52d0e16d66b0397988a0.tar.bz2
trackermap-server-6019dd4996fd19fdc9cc52d0e16d66b0397988a0.zip
Support Redis forwarding
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r--src/main/java/org/traccar/MainModule.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index ae637b455..96928b295 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -41,6 +41,7 @@ import org.traccar.forward.EventForwarderMqtt;
import org.traccar.forward.PositionForwarder;
import org.traccar.forward.PositionForwarderJson;
import org.traccar.forward.PositionForwarderKafka;
+import org.traccar.forward.PositionForwarderRedis;
import org.traccar.forward.PositionForwarderUrl;
import org.traccar.geocoder.AddressFormat;
import org.traccar.geocoder.BanGeocoder;
@@ -348,6 +349,8 @@ public class MainModule extends AbstractModule {
return new PositionForwarderJson(config, client, objectMapper);
case "kafka":
return new PositionForwarderKafka(config, objectMapper);
+ case "redis":
+ return new PositionForwarderRedis(config, objectMapper);
default:
return new PositionForwarderUrl(config, client, objectMapper);
}