Skip to content

Commit

Permalink
Fix streams.adoc for streamsBuilderFB sample
Browse files Browse the repository at this point in the history
* Change `streamsBuilderFactoryBean.setListener() to `addListener()`
  • Loading branch information
michalkowol authored Dec 7, 2021
1 parent 60e21e0 commit fbb38aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spring-kafka-docs/src/main/asciidoc/streams.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Introduced in version 2.5.3, you can configure a `KafkaStreamsMicrometerListener
====
[source, java]
----
streamsBuilderFactoryBean.setListener(new KafkaStreamsMicrometerListener(meterRegistry,
streamsBuilderFactoryBean.addListener(new KafkaStreamsMicrometerListener(meterRegistry,
Collections.singletonList(new ImmutableTag("customTag", "customTagValue"))));
----
====
Expand Down

0 comments on commit fbb38aa

Please sign in to comment.