Class 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 a ConsumerRecords.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.smallrye.reactive.messaging.MessageConverter

        io.smallrye.reactive.messaging.MessageConverter.IdentityConverter
    • Field Summary

      • Fields inherited from interface io.smallrye.reactive.messaging.MessageConverter

        CONVERTER_DEFAULT_PRIORITY
    • Constructor Detail

      • ConsumerRecordsConverter

        public ConsumerRecordsConverter()
    • Method Detail

      • canConvert

        public boolean canConvert​(org.eclipse.microprofile.reactive.messaging.Message<?> in,
                                  Type target)
        Specified by:
        canConvert in interface io.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 interface io.smallrye.reactive.messaging.MessageConverter