Skip to content

Commit 0565285

Browse files
committed
Doc Polishing for DelegatingByTopicSerializer
1 parent 8f9028f commit 0565285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka-docs/src/main/asciidoc/kafka.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4406,7 +4406,7 @@ Use `KEY_SERIALIZATION_TOPIC_CONFIG` when using this for keys.
44064406
@Bean
44074407
public ProducerFactory<Integer, Object> producerFactory(Map<String, Object> config) {
44084408
return new DefaultKafkaProducerFactory<>(config,
4409-
null,
4409+
new IntegerSerializer(),
44104410
new DelegatingByTopicSerializer(Map.of(
44114411
Pattern.compile("topic[0-4]"), new ByteArraySerializer(),
44124412
Pattern.compile("topic[5-9]"), new StringSerializer())),

0 commit comments

Comments
 (0)