We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c02b57d commit b1a0bbcCopy full SHA for b1a0bbc
pkg/rdkafka/Tests/Spec/RdKafkaSendToAndReceiveFromTopicTest.php
@@ -30,7 +30,8 @@ public function test()
30
31
$context->createProducer()->send($topic, $context->createMessage($expectedBody));
32
33
- $message = $consumer->receive(10000); // 10 sec
+ // Initial balancing can take some time, so we want to make sure the timeout is high enough
34
+ $message = $consumer->receive(15000); // 15 sec
35
36
$this->assertInstanceOf(Message::class, $message);
37
$consumer->acknowledge($message);
@@ -47,7 +48,7 @@ protected function createContext()
47
48
'enable.auto.commit' => 'false',
49
],
50
'topic' => [
- 'auto.offset.reset' => 'beginning',
51
+ 'auto.offset.reset' => 'earliest',
52
53
];
54
0 commit comments