From c1a0490364a50654b7f5350569e34503864a0531 Mon Sep 17 00:00:00 2001 From: hcdias Date: Mon, 16 Oct 2023 16:56:50 -0300 Subject: [PATCH] chore: add max poll interval on toArray from consumer --- src/TopicHandler/ConfigOptions/Consumer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TopicHandler/ConfigOptions/Consumer.php b/src/TopicHandler/ConfigOptions/Consumer.php index 2019ed68..b89dca15 100644 --- a/src/TopicHandler/ConfigOptions/Consumer.php +++ b/src/TopicHandler/ConfigOptions/Consumer.php @@ -138,6 +138,7 @@ public function toArray(): array 'auto_commit' => $this->isAutoCommit(), 'commit_async' => $this->isCommitASync(), 'offset_reset' => $this->getOffsetReset(), + 'max_poll_interval' => $this->getMaxPollInterval(), ]; if ($avroSchema = $this->getAvroSchema()) {