Skip to content

Optionally configure serialisers #2274

@gurpiarbassi

Description

@gurpiarbassi

Expected Behavior

Sometimes you have already configured your serialiser by calling configure() on it and do not want the spring framework to reconfigure it.

Current Behavior

In version 2.8.4, if you have already configured your serialiser, the DefaultKafkaProducerFactory attempts to reconfigure it from scratch and all your settings are lost.

Context

It would be nice to have a flag/switch to indicate whether you want spring to configure your serialiser for you or not as discussed in this Stackoverflow thread: https://stackoverflow.com/questions/72228636/spring-kafka-serialiser-config/72231032?noredirect=1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions