@itentialopensource/adapter-kafkav2 0.23.2 → 0.23.3

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/README.md CHANGED
@@ -301,6 +301,14 @@ The following properties are used to define the Kafka Client. These properties a
301
301
  | brokers | kafka broker:port list |
302
302
  | clientId | Client-id is a logical grouping of clients with a meaningful name chosen by the client application |
303
303
  | logLevel | There are 5 log levels available: NOTHING, ERROR, WARN, INFO, and DEBUG. INFO is configured by default |
304
+ | connectionTimeout | Time in milliseconds to wait for a successful connection. The default value is: 1000. |
305
+ | requestTimeout | The request timeout can be disabled by setting enforceRequestTimeout to false. |
306
+ | enforceRequestTimeout | Maximum wait time for a retry in milliseconds. default: 30000 |
307
+ | retry -> maxRetryTime | Maximum wait time for a retry in milliseconds. default: 30000 |
308
+ | retry -> initialRetryTime | Initial value used to calculate the retry in milliseconds (This is still randomized following the randomization factor). default: 300 |
309
+ | retry -> factor | Randomization factor. default: 0.2 |
310
+ | retry -> multiplier | Exponential factor. default: 2 |
311
+ | retry -> retries | Max number of retries per call. default: 5 |
304
312
  | ssl | Object, options to be passed to the tls broker sockets, ex. { rejectUnauthorized: false }.|
305
313
  | sasl | Object, SASL authentication configuration (Currently, supports PLAIN, SCRAM-SHA-256, SCRAM-SHA-512), ex. { mechanism: 'plain', username: 'foo', password: 'bar' }.|
306
314
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-kafkav2",
3
- "version": "0.23.2",
3
+ "version": "0.23.3",
4
4
  "description": "Itential adapter to connect to kafka",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.35.0",
@@ -18,6 +18,16 @@
18
18
  ],
19
19
  "clientId": "my-app",
20
20
  "logLevel": "INFO",
21
+ "connectionTimeout": 1000,
22
+ "requestTimeout": 30000,
23
+ "enforceRequestTimeout": true,
24
+ "retry": {
25
+ "maxRetryTime": 30000,
26
+ "initialRetryTime": 300,
27
+ "factor": 0.2,
28
+ "multiplier": 2,
29
+ "retries": 5
30
+ },
21
31
  "ssl": {
22
32
  "enableTrace": true,
23
33
  "ca": "/path/to/crt.pem",