@itentialopensource/adapter-kafkav2 0.22.3 → 0.22.5

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.5 [08-07-2024]
3
+
4
+ * Changes made at 2024.08.06_18:45PM
5
+
6
+ See merge request itentialopensource/adapters/adapter-kafkav2!28
7
+
8
+ ---
9
+
10
+ ## 0.22.4 [07-29-2024]
11
+
12
+ * Patch/movemigration
13
+
14
+ See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!27
15
+
16
+ ---
17
+
2
18
  ## 0.22.3 [07-29-2024]
3
19
 
4
20
  * Manual migration updates
package/TAB2.md CHANGED
@@ -53,8 +53,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
53
53
 
54
54
  ```json
55
55
  "properties": {
56
- "host": "localhost",
57
- "port": 9092,
56
+ "registry_url": "",
58
57
  "interval_time": 5000,
59
58
  "stub": false,
60
59
  "parseMessage": true,
@@ -69,7 +68,17 @@ Sample Properties can be used to help you configure the adapter in the Itential
69
68
  "broker:9093"
70
69
  ],
71
70
  "clientId": "my-app",
72
- "logLevel": "INFO"
71
+ "logLevel": "INFO",
72
+ "ssl": {
73
+ "enableTrace": true,
74
+ "ca": "/path/to/crt.pem",
75
+ "rejectUnauthorized": true
76
+ },
77
+ "sasl": {
78
+ "username": "my-user",
79
+ "password": "my-password",
80
+ "mechanism": "scram-sha-512"
81
+ }
73
82
  },
74
83
  "producer": {
75
84
  "requireAcks": 1,
@@ -79,16 +88,6 @@ Sample Properties can be used to help you configure the adapter in the Itential
79
88
  "consumer": {
80
89
  "groupId": "kafka-node-group"
81
90
  },
82
- "ssl": {
83
- "enableTrace": true,
84
- "ca": "/path/to/crt.pem",
85
- "rejectUnauthorized": true
86
- },
87
- "sasl": {
88
- "username": "my-user",
89
- "password": "my-password",
90
- "mechanism": "scram-sha-512"
91
- },
92
91
  "topics": [
93
92
  {
94
93
  "name": "t1",
@@ -114,5 +113,5 @@ Sample Properties can be used to help you configure the adapter in the Itential
114
113
  ### Swagger
115
114
 
116
115
  Note: The content for this section may be missing as its corresponding .json file is unavailable. This sections will be updated once adapter-openapi.json file is added.
117
- ## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/notification-messaging/adapter-kafkav2/-/blob/master/README.md)
116
+ ## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/adapter-kafkav2/-/blob/master/README.md)
118
117
 
package/metadata.json CHANGED
@@ -98,5 +98,6 @@
98
98
  ],
99
99
  "transformationProjects": [],
100
100
  "exampleProjects": []
101
- }
101
+ },
102
+ "supportLevel": "community"
102
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-kafkav2",
3
- "version": "0.22.3",
3
+ "version": "0.22.5",
4
4
  "description": "Itential adapter to connect to kafka",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.35.0",
@@ -43,10 +43,10 @@
43
43
  "author": "Itential",
44
44
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-kafkav2",
45
45
  "dependencies": {
46
- "ajv": "^8.12.0",
46
+ "ajv": "^8.17.1",
47
47
  "avro-schema-registry": "^2.1.0",
48
48
  "avsc": "^5.4.21",
49
- "fs-extra": "^11.1.1",
49
+ "fs-extra": "^11.2.0",
50
50
  "json-query": "^2.2.2",
51
51
  "kafkajs": "2.2.3",
52
52
  "mongodb": "^6.2.0",
@@ -2,71 +2,6 @@
2
2
  "$id": "adapter-kafkav2",
3
3
  "type": "object",
4
4
  "$schema": "http://json-schema.org/draft-07/schema#",
5
- "oneOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "host": {
10
- "type": "string",
11
- "description": "hostname of the server",
12
- "default": "localhost",
13
- "examples": [
14
- "systemx.customer.com"
15
- ]
16
- },
17
- "port": {
18
- "type": "integer",
19
- "description": "port on which to connect to the server",
20
- "default": 9092,
21
- "minimum": 1,
22
- "maximum": 65535
23
- }
24
- },
25
- "required": [
26
- "host",
27
- "port"
28
- ]
29
- },
30
- {
31
- "type": "object",
32
- "properties": {
33
- "hostList": {
34
- "type": "string",
35
- "description": "A string of kafka broker/host combination delimited by comma",
36
- "default": "localhost:9092",
37
- "examples": [
38
- "kafka-1.us-east-1.myapp.com:9093,kafka-2.us-east-1.myapp.com:9093,kafka-3.us-east-1.myapp.com:9093",
39
- "kafka-1.us-east-1.myapp.com:9093"
40
- ]
41
- }
42
- },
43
- "required": [
44
- "hostList"
45
- ]
46
- }
47
- ],
48
- "if": {
49
- "not": {
50
- "anyOf": [
51
- {
52
- "required": ["host"]
53
- },
54
- {
55
- "required": ["hostList"]
56
- }
57
- ]
58
- }
59
- },
60
- "then": {
61
- "properties": {
62
- "host": {
63
- "default": "localhost"
64
- },
65
- "port": {
66
- "default": 9092
67
- }
68
- }
69
- },
70
5
  "properties": {
71
6
  "registry_url": {
72
7
  "type": "string",
Binary file
@@ -2,8 +2,7 @@
2
2
  "type": "Kafkav2",
3
3
  "id": "kafkav2",
4
4
  "properties": {
5
- "host": "localhost",
6
- "port": 9092,
5
+ "registry_url": "",
7
6
  "interval_time": 5000,
8
7
  "stub": false,
9
8
  "parseMessage": true,
@@ -18,7 +17,17 @@
18
17
  "broker:9093"
19
18
  ],
20
19
  "clientId": "my-app",
21
- "logLevel": "INFO"
20
+ "logLevel": "INFO",
21
+ "ssl": {
22
+ "enableTrace": true,
23
+ "ca": "/path/to/crt.pem",
24
+ "rejectUnauthorized": true
25
+ },
26
+ "sasl": {
27
+ "username": "my-user",
28
+ "password": "my-password",
29
+ "mechanism": "scram-sha-512"
30
+ }
22
31
  },
23
32
  "producer": {
24
33
  "requireAcks": 1,
@@ -28,16 +37,6 @@
28
37
  "consumer": {
29
38
  "groupId": "kafka-node-group"
30
39
  },
31
- "ssl": {
32
- "enableTrace": true,
33
- "ca": "/path/to/crt.pem",
34
- "rejectUnauthorized": true
35
- },
36
- "sasl": {
37
- "username": "my-user",
38
- "password": "my-password",
39
- "mechanism": "scram-sha-512"
40
- },
41
40
  "topics": [
42
41
  {
43
42
  "name": "t1",