@itentialopensource/adapter-kafkav2 0.6.9 → 0.7.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 +16 -0
- package/adapter.js +2 -0
- package/package.json +1 -1
- package/refs?service=git-upload-pack +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
## 0.7.0 [05-19-2023]
|
|
3
|
+
|
|
4
|
+
* Add topic name to message
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!6
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 0.6.10 [05-19-2023]
|
|
11
|
+
|
|
12
|
+
* Bug fixes and performance improvements
|
|
13
|
+
|
|
14
|
+
See commit b0a14b5
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
2
18
|
## 0.6.9 [05-19-2023]
|
|
3
19
|
|
|
4
20
|
* added support for separate topics files per adapter
|
package/adapter.js
CHANGED
|
@@ -587,10 +587,12 @@ class Kafkav2 extends AdapterBaseCl {
|
|
|
587
587
|
messageObj = { [wrapper]: newMsg.value.toString() };
|
|
588
588
|
}
|
|
589
589
|
for (let j = 0; j < desiredTopic.length; j += 1) {
|
|
590
|
+
messageObj.topic = topic;
|
|
590
591
|
eventSystem.publish(desiredTopic[j], messageObj);
|
|
591
592
|
}
|
|
592
593
|
} else {
|
|
593
594
|
for (let j = 0; j < desiredTopic.length; j += 1) {
|
|
595
|
+
newMsg.topic = topic;
|
|
594
596
|
eventSystem.publish(desiredTopic[j], newMsg);
|
|
595
597
|
}
|
|
596
598
|
}
|
package/package.json
CHANGED
|
Binary file
|