Skip to content

Commit 39bf605

Browse files
daehokimmgaryrussell
authored andcommitted
Fix wrong method name
This is code block for explaining methods to set up producer and consumer properties. So 'consumerProps()' and 'producerProps()' are must be here. But there is 'senderProps()' method instead of 'producerProps(). API ref. `org.springframework.kafka.test.utils.KafkaTestUtils#producerProps`
1 parent e326722 commit 39bf605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference/asciidoc/testing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static Map<String, Object> consumerProps(String group, String autoCommit,
2626
* @param embeddedKafka a {@link EmbeddedKafkaBroker} instance.
2727
* @return the properties.
2828
*/
29-
public static Map<String, Object> senderProps(EmbeddedKafkaBroker embeddedKafka) { ... }
29+
public static Map<String, Object> producerProps(EmbeddedKafkaBroker embeddedKafka) { ... }
3030
----
3131
====
3232

0 commit comments

Comments
 (0)