Update apache-kafka-2/src/main/java/com/baeldung/kafka/message/ordering/serialization/JacksonSerializer.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
This commit is contained in:
parent
ddc5e0a5ef
commit
cb274a7ed4
@ -6,7 +6,6 @@ import org.apache.kafka.common.serialization.Serializer;
|
||||
/**
|
||||
* Configured via {@link org.apache.kafka.clients.producer.ProducerConfig#VALUE_SERIALIZER_CLASS_CONFIG}
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class JacksonSerializer<T> implements Serializer<T> {
|
||||
private final ObjectMapper objectMapper = new ObjectMapper();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user