Skip to content

Commit

Permalink
fix callback (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-zh authored Dec 30, 2020
1 parent bffe801 commit 993e9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Consumer/KafkaConsumerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private function registerCallbacks(KafkaConfiguration $conf): void
}

if (null !== $this->offsetCommitCallback) {
$conf->setOffsetCommitCb($this->rebalanceCallback);
$conf->setOffsetCommitCb($this->offsetCommitCallback);
}
}
}

0 comments on commit 993e9b9

Please sign in to comment.