@itentialopensource/adapter-kafkav2 0.6.7 → 0.6.8

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 CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 0.6.8 [05-19-2023]
3
+
4
+ * added support for separate topics files per adapter
5
+
6
+ See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!5
7
+
8
+ ---
9
+
2
10
  ## 0.6.7 [05-19-2023]
3
11
 
4
12
  * added support for separate topics files per adapter
package/README.md CHANGED
@@ -324,11 +324,12 @@ The `parseMessage` property allows the user to define how they want the Kafka me
324
324
  {
325
325
  topic: 'topic-name',
326
326
  messages: [
327
- { key: 'key1', value: 'hello world' },
328
- { key: 'key2', value: 'hey hey!' }
327
+ { value: 'hello world' },
328
+ { value: 'hey hey!' }
329
329
  ],
330
330
  }
331
331
  ```
332
+ For all options of messages array please follow [kafkajs documentation](https://kafka.js.org/docs/producing#producing-messages)
332
333
 
333
334
  ## Testing an Itential Product Adapter
334
335
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-kafkav2",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Itential adapter to connect to kafka",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.35.0",
Binary file