Class ConsumerRecordsConverter
- java.lang.Object
-
- io.smallrye.reactive.messaging.kafka.converters.ConsumerRecordsConverter
-
- All Implemented Interfaces:
io.smallrye.reactive.messaging.MessageConverter
,jakarta.enterprise.inject.spi.Prioritized
@ApplicationScoped public class ConsumerRecordsConverter extends Object implements io.smallrye.reactive.messaging.MessageConverter
Convert an incoming Kafka batch message into aConsumerRecords
.
-
-
Constructor Summary
Constructors Constructor Description ConsumerRecordsConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConvert(org.eclipse.microprofile.reactive.messaging.Message<?> in, Type target)
org.eclipse.microprofile.reactive.messaging.Message<?>
convert(org.eclipse.microprofile.reactive.messaging.Message<?> in, Type target)
-
-
-
Method Detail
-
canConvert
public boolean canConvert(org.eclipse.microprofile.reactive.messaging.Message<?> in, Type target)
- Specified by:
canConvert
in interfaceio.smallrye.reactive.messaging.MessageConverter
-
convert
public org.eclipse.microprofile.reactive.messaging.Message<?> convert(org.eclipse.microprofile.reactive.messaging.Message<?> in, Type target)
- Specified by:
convert
in interfaceio.smallrye.reactive.messaging.MessageConverter
-
-