@twt-494/nestjs-kafka 8.0.6 → 8.0.7

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.
@@ -112,7 +112,7 @@ class KafkaClient extends kafkajs_1.Kafka {
112
112
  }
113
113
  }
114
114
  }
115
- async createConsumer({ topics, fromStart = true, sessionTimeout = 30000, ...options }, handler) {
115
+ async createConsumer({ topics, fromStart = false, sessionTimeout = 30000, ...options }, handler) {
116
116
  const consumer = this.consumer({ ...options, sessionTimeout });
117
117
  consumer.on(consumer.events.GROUP_JOIN, () => {
118
118
  this.groupedConsumers.set(options.groupId, consumer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twt-494/nestjs-kafka",
3
- "version": "8.0.6",
3
+ "version": "8.0.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",