We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f55e5a commit a0c04cbCopy full SHA for a0c04cb
README.md
@@ -300,7 +300,9 @@ $producer = new \RdKafka\Producer($conf);
300
$consumer = new \RdKafka\Consumer($conf);
301
```
302
303
-Polling after producing can also be important to reduce termination times:
+It is advised to call poll at regular intervals to serve callbacks. In `php-rdkafka:3.x`
304
+poll was also called during shutdown, so not calling it in regular intervals might
305
+lead to a slightly longer shutdown. The example below polls until there are no more events in the queue:
306
307
308
$producer->produce(...);
0 commit comments