@Singleton
public class KafkaHeaderConverter
extends java.lang.Object
implements io.micronaut.core.convert.TypeConverter<org.apache.kafka.common.header.Header,java.lang.Object>
Constructor and Description |
---|
KafkaHeaderConverter() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Object> |
convert(org.apache.kafka.common.header.Header object,
java.lang.Class<java.lang.Object> targetType,
io.micronaut.core.convert.ConversionContext context) |
public java.util.Optional<java.lang.Object> convert(org.apache.kafka.common.header.Header object, java.lang.Class<java.lang.Object> targetType, io.micronaut.core.convert.ConversionContext context)
convert
in interface io.micronaut.core.convert.TypeConverter<org.apache.kafka.common.header.Header,java.lang.Object>