counter: 1.2.6 - Removed unused explicit references to `ObjectMapper`
[demos/kafka/wordcount] / src / main / java / de / juplo / kafka / wordcount / counter / CounterApplicationConfiguriation.java
index 3e2d2e7..409c035 100644 (file)
@@ -1,6 +1,5 @@
 package de.juplo.kafka.wordcount.counter;
 
-import com.fasterxml.jackson.databind.ObjectMapper;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.kafka.clients.consumer.ConsumerConfig;
 import org.apache.kafka.streams.StreamsConfig;
@@ -55,15 +54,13 @@ public class CounterApplicationConfiguriation
                        CounterApplicationProperties properties,
                        Properties propertyMap,
                        KeyValueBytesStoreSupplier storeSupplier,
-                       ObjectMapper objectMapper,
                        ConfigurableApplicationContext context)
        {
                CounterStreamProcessor streamProcessor = new CounterStreamProcessor(
                                properties.getInputTopic(),
                                properties.getOutputTopic(),
                                propertyMap,
-                               storeSupplier,
-                               objectMapper);
+                               storeSupplier);
 
                streamProcessor.streams.setUncaughtExceptionHandler((Throwable e) ->
                {