@itentialopensource/adapter-kafkav2 0.6.4 → 0.6.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 +8 -0
- package/README.md +7 -10
- package/package.json +1 -1
- package/refs?service=git-upload-pack +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
## 0.6.5 [05-19-2023]
|
|
3
|
+
|
|
4
|
+
* added support for separate topics files per adapter
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/notification-messaging/adapter-kafkav2!5
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
2
10
|
## 0.6.4 [05-19-2023]
|
|
3
11
|
|
|
4
12
|
* added support for separate topics files per adapter
|
package/README.md
CHANGED
|
@@ -92,6 +92,10 @@ This section defines **all** the properties that are available for the adapter,
|
|
|
92
92
|
"check_ops_manager_status": false,
|
|
93
93
|
"iap_apps_check_interval": 15000,
|
|
94
94
|
"client": {
|
|
95
|
+
"brokers": [
|
|
96
|
+
"broker:9093"
|
|
97
|
+
],
|
|
98
|
+
"clientId": "my-app",
|
|
95
99
|
"connectTimeout": 10000,
|
|
96
100
|
"requestTimeout": 30000,
|
|
97
101
|
"autoConnect": true,
|
|
@@ -240,13 +244,11 @@ Note that you can pass multiple partitions to be consumed under the same subscri
|
|
|
240
244
|
### Connection Properties
|
|
241
245
|
|
|
242
246
|
These base properties are used to connect to Kafka upon the adapter initially coming up. It is important to set these properties appropriately.
|
|
243
|
-
Kafka server location is set either by providing (host, port) tuple or by providing hostList property
|
|
244
247
|
|
|
245
248
|
| Property | Description |
|
|
246
249
|
| ------- | ------- |
|
|
247
250
|
| host | Optional. A fully qualified domain name or IP address.|
|
|
248
251
|
| port | Required if `host` set. Used to connect to the server.|
|
|
249
|
-
| hostList | Optional. A string of kafka broker/host combination delimited by comma|
|
|
250
252
|
| interval_time | Optional. The Kafka adapter keeps information about topics and offsets in memory in order to be more efficient. In order to work across restarts the adapter must persist the data. So the data is written into the .topics.json file. This write time defines how often to write the file.|
|
|
251
253
|
| stub | Optional. Slightlu different meaning than normal, this is just telling the adapter whether to run the write topics interval. This should always be false unless you are running standalone tests.|
|
|
252
254
|
|
|
@@ -261,15 +263,10 @@ The following properties are used to define the Kafka Client. These properties a
|
|
|
261
263
|
|
|
262
264
|
| Property | Description |
|
|
263
265
|
| ------- | ------- |
|
|
264
|
-
|
|
|
265
|
-
|
|
|
266
|
-
| autoConnect | automatically connect when KafkaClient is instantiated otherwise you need to manually call connect.|
|
|
267
|
-
| connectRetryOptions | object hash that applies to the initial connection.|
|
|
268
|
-
| idleConnection | ms before allowing the broker to disconnect an idle connection from a client. |
|
|
269
|
-
| reconnectOnIdle | when the connection is closed due to client idling, client will attempt to auto-reconnect.|
|
|
270
|
-
| maxAsyncRequests | maximum async operations at a time toward the kafka cluster..|
|
|
266
|
+
| brokers | kafka broker:port list |
|
|
267
|
+
| clientId | Client-id is a logical grouping of clients with a meaningful name chosen by the client application |
|
|
271
268
|
| ssl | Object, options to be passed to the tls broker sockets, ex. { rejectUnauthorized: false }.|
|
|
272
|
-
| sasl | Object, SASL authentication configuration (
|
|
269
|
+
| sasl | Object, SASL authentication configuration (Currently, supports PLAIN, SCRAM-SHA-256, SCRAM-SHA-512), ex. { mechanism: 'plain', username: 'foo', password: 'bar' }.|
|
|
273
270
|
|
|
274
271
|
### Producer Properties
|
|
275
272
|
|
package/package.json
CHANGED
|
Binary file
|