Skip to content

Commit

Permalink
feat(nodejs-kafka-client-lib): Fixed consume continue call in MLKafka…
Browse files Browse the repository at this point in the history
…RawConsumer
  • Loading branch information
pedrosousabarreto committed Apr 12, 2024
1 parent c4834ae commit d11fdb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export class MLKafkaRawConsumer extends EventEmitter implements IRawMessageConsu
if (!this._client.isConnected() || this._consuming) return;

const callContinue = ()=>{
process.nextTick(() => {
setImmediate(() => {
this._consumeLoop();
});
this._consuming = false;
Expand Down

0 comments on commit d11fdb9

Please sign in to comment.