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`
This commit is contained in:
donald-dh
2019-12-10 12:27:34 +09:00
committed by Gary Russell
parent e326722c55
commit 39bf605bb3

View File

@@ -26,7 +26,7 @@ public static Map<String, Object> consumerProps(String group, String autoCommit,
* @param embeddedKafka a {@link EmbeddedKafkaBroker} instance.
* @return the properties.
*/
public static Map<String, Object> senderProps(EmbeddedKafkaBroker embeddedKafka) { ... }
public static Map<String, Object> producerProps(EmbeddedKafkaBroker embeddedKafka) { ... }
----
====