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
# Conflicts:
#	src/reference/asciidoc/kafka.adoc
  • Loading branch information
justinbaur authored and artembilan committed Sep 26, 2019
1 parent 43ddbf1 commit a52f415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reference/asciidoc/kafka.adoc
Expand Up @@ -2216,9 +2216,9 @@ public ConsumerFactory<Foo, Bar> kafkaConsumerFactory(KafkaProperties properties
@Bean
public ProducererFactory<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 a52f415

Please sign in to comment.