Skip to content

Relaxing replying KafkaTemplate in AbstractKafkaListenerContainerFactory #723

@nyilmaz

Description

@nyilmaz

Since KafkaTemplate has its own message converter, shouldn't we relax that instance property to wildcard types such as: private KafkaTemplate<?, ?> replyTemplate;.

Otherwise spring-kafka forces users of listener container factory to reply exactly the same semantics as listener ie. <K, V>.

What would you think?

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