@itentialopensource/adapter-kafkav2 0.20.0 → 0.22.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 CHANGED
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 0.22.0 [01-22-2024]
3
+
4
+ * Minor/topic db dedupe
5
+
6
+ See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!16
7
+
8
+ ---
9
+
10
+ ## 0.21.0 [01-22-2024]
11
+
12
+ * Minor/topic db dedupe
13
+
14
+ See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!16
15
+
16
+ ---
17
+
2
18
  ## 0.20.0 [01-22-2024]
3
19
 
4
20
  * Minor/topic db dedupe
package/adapter.js CHANGED
@@ -574,7 +574,7 @@ class Kafkav2 extends AdapterBaseCl {
574
574
  })
575
575
  .catch((err) => {
576
576
  databaseIsAlive = false;
577
- log.error(`Database Connection error: ${err}`);
577
+ log.debug(`Database Connection error: ${err}`);
578
578
  this.allow_connect = true;
579
579
  });
580
580
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-kafkav2",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "Itential adapter to connect to kafka",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.35.0",
package/pronghorn.json CHANGED
@@ -9,9 +9,7 @@
9
9
  "admin"
10
10
  ],
11
11
  "topics": {
12
- "kafka": {},
13
- "test-topic": {},
14
- "test_topic": {}
12
+ "kafka": {}
15
13
  },
16
14
  "methods": [
17
15
  {
Binary file
package/utils/dbUtil.js CHANGED
@@ -745,7 +745,7 @@ class DBUtil {
745
745
  if (useCallback) return callback(this.alive, mongoClient);
746
746
  return { isAlive: this.alive, mongoClient };
747
747
  } catch (err) {
748
- log.error(`${origin}: Error! Exiting... Must start MongoDB first ${err}`);
748
+ log.debug(`${origin}: Error! Exiting... Must start MongoDB first ${err}`);
749
749
  this.alive = false;
750
750
  if (useCallback) return callback(this.alive, mongoClient);
751
751
  return { isAlive: this.alive, mongoClient };