Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kafka-node

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kafka-node - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

5

lib/highLevelProducer.js

@@ -54,2 +54,3 @@ 'use strict';

this.client.on('error', function (err) {
self.emit('error', err);
});

@@ -123,2 +124,6 @@ this.client.on('close', function () {

HighLevelProducer.prototype.close = function (cb) {
this.client.close(cb);
}
function noAcks() {

@@ -125,0 +130,0 @@ return 'Not require ACK';

@@ -54,2 +54,3 @@ 'use strict';

this.client.on('error', function (err) {
self.emit('error', err);
});

@@ -117,2 +118,6 @@ this.client.on('close', function () {

Producer.prototype.close = function (cb) {
this.client.close(cb);
}
function noAcks() {

@@ -119,0 +124,0 @@ return 'Not require ACK';

2

package.json
{
"name": "kafka-node",
"description": "node client for Apache kafka, only support kafka 0.8 and above",
"version": "0.2.9",
"version": "0.2.10",
"main": "kafka.js",

@@ -6,0 +6,0 @@ "dependencies": {

@@ -69,3 +69,9 @@ 'use strict';

});
});
});
describe('#close', function () {
it('should close successfully', function (done) {
producer.close(done);
});
});
});
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