Skip to content

Commit f359c6b

Browse files
justinbaurartembilan
authored andcommitted
GH-1226: Update snippet to correct return type and misspelling
Fixes #1226
1 parent dc03d98 commit f359c6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reference/asciidoc/kafka.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,9 +2741,9 @@ public ConsumerFactory<Foo, Bar> kafkaConsumerFactory(KafkaProperties properties
27412741
27422742
@Bean
27432743
public ProducerFactory<Foo, Bar> kafkaProducerFactory(KafkaProperties properties,
2744-
JsonSserializer customSerializer) {
2744+
JsonSerializer customSerializer) {
27452745
2746-
return new DefaultKafkaConsumerFactory<>(properties.buildProducerProperties(),
2746+
return new DefaultKafkaProducerFactory<>(properties.buildProducerProperties(),
27472747
customSerializer, customSerializer);
27482748
}
27492749
----

0 commit comments

Comments
 (0)