Skip to content

Commit

Permalink
log kafka consume call
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerkesni committed Sep 28, 2023
1 parent 761cf0d commit a8146e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/BackbeatConsumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ class BackbeatConsumer extends EventEmitter {
}
this._nConsumePendingRequests += nNewConsumeRequests;
return this._consumer.consume(nNewConsumeRequests, (err, entries) => {
this._log.debug('Kafka consumer called', { time: Date.now() });
this._nConsumePendingRequests -= nNewConsumeRequests;
if (!err) {
entries.forEach(entry => {
Expand Down

0 comments on commit a8146e4

Please sign in to comment.