@itentialopensource/adapter-kafkav2 0.16.4 → 0.16.6

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.16.6 [09-18-2023]
3
+
4
+ * Big fixes logLevel and adapter restart
5
+
6
+ See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!15
7
+
8
+ ---
9
+
10
+ ## 0.16.5 [09-08-2023]
11
+
12
+ * Big fixes logLevel and adapter restart
13
+
14
+ See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!15
15
+
16
+ ---
17
+
2
18
  ## 0.16.4 [09-08-2023]
3
19
 
4
20
  * Big fixes logLevel and adapter restart
package/README.md CHANGED
@@ -156,6 +156,7 @@ Sample SSL and SASL properties that go under client props. In the below example
156
156
  }
157
157
  ```
158
158
 
159
+
159
160
  ### Topic Properties
160
161
 
161
162
  Operator can configure message filtering per topic by providing filters in `topics[*].subscriberInfo[*].filters` property.
@@ -301,6 +302,8 @@ The following properties are used to define the Kafka Client. These properties a
301
302
  | ssl | Object, options to be passed to the tls broker sockets, ex. { rejectUnauthorized: false }.|
302
303
  | sasl | Object, SASL authentication configuration (Currently, supports PLAIN, SCRAM-SHA-256, SCRAM-SHA-512), ex. { mechanism: 'plain', username: 'foo', password: 'bar' }.|
303
304
 
305
+ For all client config options see [Client Config](https://kafka.js.org/docs/configuration)
306
+
304
307
  ### Producer Properties
305
308
 
306
309
  The following properties are used to define the Kafka Producer. These properties all have default values in Kafka. Definitions are taken from kafka-node page as these properties are directly passed to Kafka.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-kafkav2",
3
- "version": "0.16.4",
3
+ "version": "0.16.6",
4
4
  "description": "Itential adapter to connect to kafka",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.35.0",
Binary file
@@ -11,15 +11,15 @@
11
11
  "client": {
12
12
  "brokers": [
13
13
  "localhost:9092"
14
- ]
14
+ ],
15
+ "clientId": "my-app"
15
16
  },
16
17
  "producer": {
17
- "allowAutoTopicCreation": true
18
+ "requireAcks": 1,
19
+ "ackTimeoutMs": 100
18
20
  },
19
21
  "consumer": {
20
22
  "groupId": "kafka-node-group"
21
23
  }
22
- },
23
- "logLevel": "none",
24
- "timeout": 60000
24
+ }
25
25
  }