kafka-node
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -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'; |
{ | ||
"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); | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132088
3077