Skip to content

Commit

Permalink
Sync documentation of main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 8, 2024
1 parent 9bcf72c commit db90a71
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _versions/main/guides/kafka.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2453,6 +2453,20 @@ public class OrderProcessorTest {
<3> Create consumer task which subscribes to 'orders-processed' topic and consumes 10 records.
<4> Await completion of the consumer task.


[TIP]
====
You need to configure
[source,properties]
----
mp.messaging.incoming.orders.connector=smallrye-kafka
mp.messaging.incoming.orders.auto.offset.reset=earliest
----
otherwise you will get an `java.lang.AssertionError: No completion (or failure) event received in the last 10000 ms` in <4>
====

[TIP]
====
If the Kafka Dev Service is available during tests, `KafkaCompanionResource` uses the created Kafka broker, otherwise it creates a Kafka broker using https://github.com/strimzi/test-container[Strimzi Test Container].
Expand Down

0 comments on commit db90a71

Please sign in to comment.