Skip to content

Commit

Permalink
change default kafka consumer params
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerkesni committed Sep 28, 2023
1 parent 1137b8f commit 1ff82cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/BackbeatConsumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ class BackbeatConsumer extends EventEmitter {
'offset_commit_cb': this._onOffsetCommit.bind(this),
// automatically create topic
'allow.auto.create.topics': true,
'auto.commit.interval.ms': 2000,
'max.poll.interval.ms': 600000,
'session.timeout.ms': 60000,
};
const topicParams = {};
if (this._fromOffset !== undefined) {
Expand Down

0 comments on commit 1ff82cf

Please sign in to comment.