diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/forward/EventForwarderKafka.java | 6 |
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 { |