@itentialopensource/adapter-kafkav2 0.22.3 → 0.22.4

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.22.4 [07-29-2024]
3
+
4
+ * Patch/movemigration
5
+
6
+ See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!27
7
+
8
+ ---
9
+
2
10
  ## 0.22.3 [07-29-2024]
3
11
 
4
12
  * 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",
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.4",
4
4
  "description": "Itential adapter to connect to kafka",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.35.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",