aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-04-10 19:40:22 -0700
committerAnton Tananaev <anton@traccar.org>2023-04-10 19:40:22 -0700
commitdd8c46eec3282e344eeea5e27d084448c85e1518 (patch)
tree6e82515d28493ec506d250c282b07bbf96d16f34 /src/main/java/org/traccar/config
parentee39f67d21078da595a819255b59d88c30e66d7a (diff)
downloadtrackermap-server-dd8c46eec3282e344eeea5e27d084448c85e1518.tar.gz
trackermap-server-dd8c46eec3282e344eeea5e27d084448c85e1518.tar.bz2
trackermap-server-dd8c46eec3282e344eeea5e27d084448c85e1518.zip
Add raw data forwarding
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index b97acfd66..8ced32153 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -806,6 +806,13 @@ public final class Keys {
"max-age=3600,public");
/**
+ * Host for raw data forwarding.
+ */
+ public static final ConfigKey<String> SERVER_FORWARD = new StringConfigKey(
+ "server.forward",
+ List.of(KeyType.CONFIG));
+
+ /**
* Position forwarding format. Available options are "url", "json" and "kafka". Default is "url".
*/
public static final ConfigKey<String> FORWARD_TYPE = new StringConfigKey(