Skip to content

Allow SerDe preconfiguration in consumer and producer builders#428

Draft
jkbe wants to merge 8 commits intomasterfrom
feat/preconfigured-consumer-and-producer-builder
Draft

Allow SerDe preconfiguration in consumer and producer builders#428
jkbe wants to merge 8 commits intomasterfrom
feat/preconfigured-consumer-and-producer-builder

Conversation

@jkbe
Copy link
Member

@jkbe jkbe commented Mar 11, 2026

  • Serializers can be preconfigured via new createProducer() overload

@jkbe jkbe force-pushed the feat/preconfigured-consumer-and-producer-builder branch 2 times, most recently from 1885d80 to 5519ace Compare March 12, 2026 10:21
@jkbe jkbe force-pushed the feat/preconfigured-consumer-and-producer-builder branch from 5519ace to 42a75dc Compare March 12, 2026 13:31
@jkbe jkbe changed the title Allow preconfiguration of consumer builder and producer builder Allow SerDe preconfiguration in consumer and producer builders Mar 13, 2026

@Override
public SerializerConfig defaultSerializationConfig() {
// Important: Do not set SpecificAvroSerializer as default so that schema.registry.url is not yet
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default would be ignored even if it was avro. The most important thing is to set the serializer in createProducer

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, thanks for the hint!

@jkbe jkbe force-pushed the feat/preconfigured-consumer-and-producer-builder branch from 33d0a68 to 88bf674 Compare March 13, 2026 10:47
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants