We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dfde15 commit 9b5f6b0Copy full SHA for 9b5f6b0
spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/serdes.adoc
@@ -376,7 +376,7 @@ Use `KEY_SERIALIZATION_TOPIC_CONFIG` when using this for keys.
376
@Bean
377
public ProducerFactory<Integer, Object> producerFactory(Map<String, Object> config) {
378
return new DefaultKafkaProducerFactory<>(config,
379
- null,
+ new IntegerSerializer(),
380
new DelegatingByTopicSerializer(Map.of(
381
Pattern.compile("topic[0-4]"), new ByteArraySerializer(),
382
Pattern.compile("topic[5-9]"), new StringSerializer())),
0 commit comments