Skip to content

Add option to JsonSerializer to use Spring primary ObjectMapper bean  #680

@yoransabern

Description

@yoransabern

Can we get an option to have the producer value-serializer use the ObjectMapper bean instantiated by Spring boot instead of having to configure a custom JsonSerializer and ProducerFactory bean?

This is usefull to do all kafka configuration through the properties instead of having to do custom code configuration, and I think most spring libraries already get the primary ObjectMapper bean if it is available.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions