@itentialopensource/adapter-kafkav2 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/adapter.js +8 -0
- package/package.json +1 -1
- package/refs?service=git-upload-pack +0 -0
package/CHANGELOG.md
CHANGED
package/adapter.js
CHANGED
|
@@ -423,6 +423,14 @@ class Kafkav2 extends AdapterBaseCl {
|
|
|
423
423
|
this.emit('OFFLINE', { id: this.id });
|
|
424
424
|
this.alive = true;
|
|
425
425
|
|
|
426
|
+
if (this.props && this.props.stub === true) {
|
|
427
|
+
this.emit('ONLINE', {
|
|
428
|
+
id: this.id
|
|
429
|
+
});
|
|
430
|
+
log.info('EMITTED ONLINE ON STUB MODE');
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
|
|
426
434
|
try {
|
|
427
435
|
// Create a kafka client
|
|
428
436
|
const combinedProps = this.props.client || {};
|
package/package.json
CHANGED
|
Binary file
|