public class WrappedSerializerInstance<T>
extends java.lang.Object
implements org.apache.kafka.common.serialization.Serializer<T>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_SERIALIZER_INSTANCE_CONFIG |
static java.lang.String |
VALUE_SERIALIZER_INSTANCE_CONFIG |
| Constructor and Description |
|---|
WrappedSerializerInstance() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(java.util.Map<java.lang.String,?> configs,
boolean isKey) |
byte[] |
serialize(java.lang.String topic,
T object) |
public static final java.lang.String KEY_SERIALIZER_INSTANCE_CONFIG
public static final java.lang.String VALUE_SERIALIZER_INSTANCE_CONFIG
public void configure(java.util.Map<java.lang.String,?> configs,
boolean isKey)
configure in interface org.apache.kafka.common.serialization.Serializer<T>public byte[] serialize(java.lang.String topic,
T object)
serialize in interface org.apache.kafka.common.serialization.Serializer<T>public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in interface org.apache.kafka.common.serialization.Serializer<T>Copyright © 2020–2022 Axual B.V.. All rights reserved.