You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/reference/asciidoc/testing.adoc
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,16 @@
3
3
4
4
The `spring-kafka-test` jar contains some useful utilities to assist with testing your applications.
5
5
6
+
[[ktu]]
7
+
==== KafkaTestUtils
8
+
9
+
`o.s.kafka.test.utils.KafkaTestUtils` provides a number of static helper methods to consume records, retrieve various record offsets, and others.
10
+
Refer to its https://docs.spring.io/spring-kafka/docs/current/api/org/springframework/kafka/test/utils/KafkaTestUtils.html[Javadocs] for complete details.
11
+
6
12
[[junit]]
7
13
==== JUnit
8
14
9
-
`o.s.kafka.test.utils.KafkaTestUtils` provides some static methods to set up producer and consumer properties.
15
+
`o.s.kafka.test.utils.KafkaTestUtils` also provides some static methods to set up producer and consumer properties.
10
16
The following listing shows those method signatures:
0 commit comments