Skip to content

KafkaListener annotation for batch consumption does not work with Kotlin #699

@zach-schoenberger

Description

@zach-schoenberger

https://github.com/spring-projects/spring-kafka/blob/master/spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/MessagingMessageListenerAdapter.java#L428

This does not work when using a kotlin function to consumer a batch list, as the parameter is not of ConsumerRecord.class. It is a WildcardTemplateImpl.class that exends ConsumerRecord.class

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions