Skip to content

Commit a52f415

Browse files
justinbaurartembilan
authored andcommitted
GH-1226: Update snippet to correct return type and misspelling
Fixes #1226 # Conflicts: # src/reference/asciidoc/kafka.adoc
1 parent 43ddbf1 commit a52f415

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
@@ -2216,9 +2216,9 @@ public ConsumerFactory<Foo, Bar> kafkaConsumerFactory(KafkaProperties properties
22162216
22172217
@Bean
22182218
public ProducererFactory<Foo, Bar> kafkaProducerFactory(KafkaProperties properties,
2219-
JsonSserializer customSerializer) {
2219+
JsonSerializer customSerializer) {
22202220
2221-
return new DefaultKafkaConsumerFactory<>(properties.buildProducerProperties(),
2221+
return new DefaultKafkaProducerFactory<>(properties.buildProducerProperties(),
22222222
customSerializer, customSerializer);
22232223
}
22242224
----

0 commit comments

Comments
 (0)