aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/forward/EventForwarderKafka.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/forward/EventForwarderKafka.java b/src/main/java/org/traccar/forward/EventForwarderKafka.java
index db97d22de..e65c3a51b 100644
--- a/src/main/java/org/traccar/forward/EventForwarderKafka.java
+++ b/src/main/java/org/traccar/forward/EventForwarderKafka.java
@@ -43,12 +43,6 @@ public class EventForwarderKafka implements EventForwarder {
topic = config.getString(Keys.EVENT_FORWARD_TOPIC);
}
- @SuppressWarnings("deprecation")
- @Override
- protected void finalize() {
- producer.close();
- }
-
@Override
public void forward(EventData eventData, ResultHandler resultHandler) {
try {