@opra/kafka 1.0.0-beta.6 → 1.0.2

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.
@@ -86,7 +86,7 @@ class KafkaAdapter extends core_1.PlatformAdapter {
86
86
  await consumer
87
87
  .run({
88
88
  eachMessage: async (payload) => {
89
- await this.emitAsync('message', payload);
89
+ await this.emitAsync('message', payload).catch(() => undefined);
90
90
  const { topic } = payload;
91
91
  const topicCacheKey = groupId + ':' + topic;
92
92
  let handlerArgsArray = topicMap.get(topicCacheKey);
@@ -83,7 +83,7 @@ export class KafkaAdapter extends PlatformAdapter {
83
83
  await consumer
84
84
  .run({
85
85
  eachMessage: async (payload) => {
86
- await this.emitAsync('message', payload);
86
+ await this.emitAsync('message', payload).catch(() => undefined);
87
87
  const { topic } = payload;
88
88
  const topicCacheKey = groupId + ':' + topic;
89
89
  let handlerArgsArray = topicMap.get(topicCacheKey);
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@opra/kafka",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.2",
4
4
  "description": "Opra Kafka package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
- "@opra/common": "^1.0.0-beta.6",
9
- "@opra/core": "^1.0.0-beta.6",
8
+ "@opra/common": "^1.0.2",
9
+ "@opra/core": "^1.0.2",
10
10
  "node-events-async": "^1.0.0",
11
11
  "tslib": "^2.7.0",
12
12
  "valgen": "^5.10.0"