Skip to content

Commit

Permalink
fixup! first implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
macno committed Dec 19, 2023
1 parent a2ccf3a commit 8b76974
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kafka/kafka-consumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class KafkaConsumer implements GenericConsumer {
if (!this.connected) return;
try {
await this.consumer.disconnect();
this.connected = false;
} catch (err) {
this.logger.error(`Error on disconnect due to: ${err}`);
}
Expand Down

0 comments on commit 8b76974

Please sign in to comment.