New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kafka-observe

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kafka-observe - npm Package Compare versions

Comparing version 2.0.1-alpha-2 to 2.0.1-alpha-3

4

IO/consumer.js

@@ -38,5 +38,3 @@ const Kafkajs = require("kafkajs");

await consumer.connect();
this.options.topicsToFollow.forEach(topic => {
await this.consumer.subscribe({ topic })
});
await Promise.all(this.options.topicsToFollow.map(topic => this.consumer.subscribe({ topic })));
logging.report(`Listening to kafka topics in all partions mode to the following topics: ${this.options.topicsToFollow.toString()}`);

@@ -43,0 +41,0 @@ await consumer.run({

@@ -38,5 +38,3 @@ const Kafkajs = require("kafkajs");

await consumer.connect();
this.options.topicsToFollow.forEach(topic => {
await this.consumer.subscribe({ topic })
});
await Promise.all(this.options.topicsToFollow.map(topic => this.consumer.subscribe({ topic })));
logging.report(`Listening to kafka topics in grouped mode to the following topics: ${this.options.topicsToFollow.toString()}`);

@@ -43,0 +41,0 @@ await consumer.run({

{
"name": "kafka-observe",
"version": "2.0.1-alpha-2",
"version": "2.0.1-alpha-3",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc