Skip to content

Commit

Permalink
GH-1226: Update snippet to correct return type and misspelling
Browse files Browse the repository at this point in the history
Fixes #1226
  • Loading branch information
justinbaur authored and artembilan committed Sep 4, 2019
1 parent dc03d98 commit f359c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reference/asciidoc/kafka.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2741,9 +2741,9 @@ public ConsumerFactory<Foo, Bar> kafkaConsumerFactory(KafkaProperties properties
@Bean
public ProducerFactory<Foo, Bar> kafkaProducerFactory(KafkaProperties properties,
JsonSserializer customSerializer) {
JsonSerializer customSerializer) {
return new DefaultKafkaConsumerFactory<>(properties.buildProducerProperties(),
return new DefaultKafkaProducerFactory<>(properties.buildProducerProperties(),
customSerializer, customSerializer);
}
----
Expand Down

0 comments on commit f359c6b

Please sign in to comment.