diff --git a/src/TopicHandler/ConfigOptions/Consumer.php b/src/TopicHandler/ConfigOptions/Consumer.php index b89dca15..2d1e173a 100644 --- a/src/TopicHandler/ConfigOptions/Consumer.php +++ b/src/TopicHandler/ConfigOptions/Consumer.php @@ -138,7 +138,7 @@ public function toArray(): array 'auto_commit' => $this->isAutoCommit(), 'commit_async' => $this->isCommitASync(), 'offset_reset' => $this->getOffsetReset(), - 'max_poll_interval' => $this->getMaxPollInterval(), + 'max_poll_interval_ms' => $this->getMaxPollInterval(), ]; if ($avroSchema = $this->getAvroSchema()) {