@valkey/valkey-glide-darwin-arm64 1.2.0-rc2 → 1.2.0-rc20
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 +8 -4
- package/build-ts/index.d.ts +2 -0
- package/build-ts/index.js +2 -0
- package/build-ts/index.js.map +1 -1
- package/build-ts/src/BaseClient.d.ts +164 -11
- package/build-ts/src/BaseClient.js +129 -20
- package/build-ts/src/BaseClient.js.map +1 -1
- package/build-ts/src/GlideClient.d.ts +84 -2
- package/build-ts/src/GlideClient.js +50 -0
- package/build-ts/src/GlideClient.js.map +1 -1
- package/build-ts/src/GlideClusterClient.d.ts +265 -4
- package/build-ts/src/GlideClusterClient.js +50 -2
- package/build-ts/src/GlideClusterClient.js.map +1 -1
- package/build-ts/src/ProtobufMessage.js +281 -3
- package/build-ts/src/ProtobufMessage.js.map +1 -1
- package/build-ts/src/server-modules/GlideFt.d.ts +412 -0
- package/build-ts/src/server-modules/GlideFt.js +664 -0
- package/build-ts/src/server-modules/GlideFt.js.map +1 -0
- package/build-ts/src/server-modules/GlideFtOptions.d.ts +244 -0
- package/build-ts/src/server-modules/GlideFtOptions.js +6 -0
- package/build-ts/src/server-modules/GlideFtOptions.js.map +1 -0
- package/build-ts/src/server-modules/GlideJson.d.ts +746 -17
- package/build-ts/src/server-modules/GlideJson.js +886 -17
- package/build-ts/src/server-modules/GlideJson.js.map +1 -1
- package/index.ts +2 -0
- package/node_modules/glide-rs/glide-rs.darwin-arm64.node +0 -0
- package/node_modules/glide-rs/index.d.ts +1 -0
- package/node_modules/glide-rs/index.js +2 -0
- package/npm/glide/index.ts +48 -0
- package/npm/glide/package.json +2 -2
- package/package.json +18 -9
- package/.ort.yml +0 -9
- package/.prettierignore +0 -7
- package/DEVELOPER.md +0 -191
- package/THIRD_PARTY_LICENSES_NODE +0 -35625
- package/npm/glide/tsconfig.json +0 -30
- package/tsconfig.json +0 -31
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
|
|
3
3
|
*/
|
|
4
4
|
import { ClusterScanCursor, Script } from "glide-rs";
|
|
5
|
-
import * as net from "net";
|
|
6
5
|
import { BaseClient, BaseClientConfiguration, DecoderOption, GlideReturnType, GlideString, PubSubMsg } from "./BaseClient";
|
|
7
6
|
import { FlushMode, FunctionListOptions, FunctionListResponse, FunctionRestorePolicy, FunctionStatsSingleResponse, InfoOptions, LolwutOptions, ScanOptions } from "./Commands";
|
|
8
7
|
import { ClusterTransaction } from "./Transaction";
|
|
@@ -58,6 +57,9 @@ export declare namespace GlideClusterClientConfiguration {
|
|
|
58
57
|
*/
|
|
59
58
|
Sharded = 2
|
|
60
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Configuration for Pub/Sub subscriptions that the client will establish upon connection.
|
|
62
|
+
*/
|
|
61
63
|
interface PubSubSubscriptions {
|
|
62
64
|
/**
|
|
63
65
|
* Channels and patterns by modes.
|
|
@@ -73,6 +75,39 @@ export declare namespace GlideClusterClientConfiguration {
|
|
|
73
75
|
context?: any;
|
|
74
76
|
}
|
|
75
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Configuration options for creating a {@link GlideClusterClient | GlideClusterClient}.
|
|
80
|
+
*
|
|
81
|
+
* Extends `BaseClientConfiguration` with properties specific to `GlideClusterClient`, such as periodic topology checks
|
|
82
|
+
* and Pub/Sub subscription settings.
|
|
83
|
+
*
|
|
84
|
+
* @remarks
|
|
85
|
+
* This configuration allows you to tailor the client's behavior when connecting to a Valkey GLIDE Cluster.
|
|
86
|
+
*
|
|
87
|
+
* - **Periodic Topology Checks**: Use `periodicChecks` to configure how the client performs periodic checks to detect changes in the cluster's topology.
|
|
88
|
+
* - `"enabledDefaultConfigs"`: Enables periodic checks with default configurations.
|
|
89
|
+
* - `"disabled"`: Disables periodic topology checks.
|
|
90
|
+
* - `{ duration_in_sec: number }`: Manually configure the interval for periodic checks.
|
|
91
|
+
* - **Pub/Sub Subscriptions**: Predefine Pub/Sub channels and patterns to subscribe to upon connection establishment.
|
|
92
|
+
* - Supports exact channels, patterns, and sharded channels (available since Valkey version 7.0).
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```typescript
|
|
96
|
+
* const config: GlideClusterClientConfiguration = {
|
|
97
|
+
* periodicChecks: {
|
|
98
|
+
* duration_in_sec: 30, // Perform periodic checks every 30 seconds
|
|
99
|
+
* },
|
|
100
|
+
* pubsubSubscriptions: {
|
|
101
|
+
* channelsAndPatterns: {
|
|
102
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Pattern]: new Set(['cluster.*']),
|
|
103
|
+
* },
|
|
104
|
+
* callback: (msg) => {
|
|
105
|
+
* console.log(`Received message on ${msg.channel}:`, msg.payload);
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* };
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
76
111
|
export type GlideClusterClientConfiguration = BaseClientConfiguration & {
|
|
77
112
|
/**
|
|
78
113
|
* Configure the periodic topology checks.
|
|
@@ -92,6 +127,37 @@ export type GlideClusterClientConfiguration = BaseClientConfiguration & {
|
|
|
92
127
|
* otherwise, we will get a dictionary of address: nodeResponse, address is of type string and nodeResponse is of type T.
|
|
93
128
|
*/
|
|
94
129
|
export type ClusterResponse<T> = T | Record<string, T>;
|
|
130
|
+
/**
|
|
131
|
+
* Routing configuration for commands based on a specific slot ID in a Valkey cluster.
|
|
132
|
+
*
|
|
133
|
+
* @remarks
|
|
134
|
+
* This interface allows you to specify routing of a command to a node responsible for a particular slot ID in the cluster.
|
|
135
|
+
* Valkey clusters use hash slots to distribute data across multiple shards. There are 16,384 slots in total, and each shard
|
|
136
|
+
* manages a range of slots.
|
|
137
|
+
*
|
|
138
|
+
* - **Slot ID**: A number between 0 and 16383 representing a hash slot.
|
|
139
|
+
* - **Routing Type**:
|
|
140
|
+
* - `"primarySlotId"`: Routes the command to the primary node responsible for the specified slot ID.
|
|
141
|
+
* - `"replicaSlotId"`: Routes the command to a replica node responsible for the specified slot ID, overriding the `readFrom` configuration.
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```typescript
|
|
145
|
+
* // Route command to the primary node responsible for slot ID 12345
|
|
146
|
+
* const routeBySlotId: SlotIdTypes = {
|
|
147
|
+
* type: "primarySlotId",
|
|
148
|
+
* id: 12345,
|
|
149
|
+
* };
|
|
150
|
+
*
|
|
151
|
+
* // Route command to a replica node responsible for slot ID 12345
|
|
152
|
+
* const routeToReplicaBySlotId: SlotIdTypes = {
|
|
153
|
+
* type: "replicaSlotId",
|
|
154
|
+
* id: 12345,
|
|
155
|
+
* };
|
|
156
|
+
*
|
|
157
|
+
* // Use the routing configuration when executing a command
|
|
158
|
+
* const result = await client.get("mykey", { route: routeBySlotId });
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
95
161
|
export interface SlotIdTypes {
|
|
96
162
|
/**
|
|
97
163
|
* `replicaSlotId` overrides the `readFrom` configuration. If it's used the request
|
|
@@ -104,6 +170,36 @@ export interface SlotIdTypes {
|
|
|
104
170
|
*/
|
|
105
171
|
id: number;
|
|
106
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* Routing configuration for commands based on a key in a Valkey cluster.
|
|
175
|
+
*
|
|
176
|
+
* @remarks
|
|
177
|
+
* This interface allows you to specify routing of a command to a node responsible for the slot that a specific key hashes to.
|
|
178
|
+
* Valkey clusters use consistent hashing to map keys to hash slots, which are then managed by different shards in the cluster.
|
|
179
|
+
*
|
|
180
|
+
* - **Key**: The key whose hash slot will determine the routing of the command.
|
|
181
|
+
* - **Routing Type**:
|
|
182
|
+
* - `"primarySlotKey"`: Routes the command to the primary node responsible for the key's slot.
|
|
183
|
+
* - `"replicaSlotKey"`: Routes the command to a replica node responsible for the key's slot, overriding the `readFrom` configuration.
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* ```typescript
|
|
187
|
+
* // Route command to the primary node responsible for the key's slot
|
|
188
|
+
* const routeByKey: SlotKeyTypes = {
|
|
189
|
+
* type: "primarySlotKey",
|
|
190
|
+
* key: "user:1001",
|
|
191
|
+
* };
|
|
192
|
+
*
|
|
193
|
+
* // Route command to a replica node responsible for the key's slot
|
|
194
|
+
* const routeToReplicaByKey: SlotKeyTypes = {
|
|
195
|
+
* type: "replicaSlotKey",
|
|
196
|
+
* key: "user:1001",
|
|
197
|
+
* };
|
|
198
|
+
*
|
|
199
|
+
* // Use the routing configuration when executing a command
|
|
200
|
+
* const result = await client.get("user:1001", { route: routeByKey });
|
|
201
|
+
* ```
|
|
202
|
+
*/
|
|
107
203
|
export interface SlotKeyTypes {
|
|
108
204
|
/**
|
|
109
205
|
* `replicaSlotKey` overrides the `readFrom` configuration. If it's used the request
|
|
@@ -115,6 +211,39 @@ export interface SlotKeyTypes {
|
|
|
115
211
|
*/
|
|
116
212
|
key: string;
|
|
117
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Routing configuration to send a command to a specific node by its address and port.
|
|
216
|
+
*
|
|
217
|
+
* @remarks
|
|
218
|
+
* This interface allows you to specify routing of a command to a node in the Valkey cluster by providing its network address and port.
|
|
219
|
+
* It's useful when you need to direct a command to a particular node.
|
|
220
|
+
*
|
|
221
|
+
* - **Type**: Must be set to `"routeByAddress"` to indicate that the routing should be based on the provided address.
|
|
222
|
+
* - **Host**: The endpoint of the node.
|
|
223
|
+
* - If `port` is not provided, `host` should be in the format `${address}:${port}`, where `address` is the preferred endpoint as shown in the output of the `CLUSTER SLOTS` command.
|
|
224
|
+
* - If `port` is provided, `host` should be the address or hostname of the node without the port.
|
|
225
|
+
* - **Port**: (Optional) The port to access on the node.
|
|
226
|
+
* - If `port` is not provided, `host` is assumed to include the port number.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* ```typescript
|
|
230
|
+
* // Route command to a node at '192.168.1.10:6379'
|
|
231
|
+
* const routeByAddress: RouteByAddress = {
|
|
232
|
+
* type: "routeByAddress",
|
|
233
|
+
* host: "192.168.1.10",
|
|
234
|
+
* port: 6379,
|
|
235
|
+
* };
|
|
236
|
+
*
|
|
237
|
+
* // Alternatively, include the port in the host string
|
|
238
|
+
* const routeByAddressWithPortInHost: RouteByAddress = {
|
|
239
|
+
* type: "routeByAddress",
|
|
240
|
+
* host: "192.168.1.10:6379",
|
|
241
|
+
* };
|
|
242
|
+
*
|
|
243
|
+
* // Use the routing configuration when executing a command
|
|
244
|
+
* const result = await client.ping({ route: routeByAddress });
|
|
245
|
+
* ```
|
|
246
|
+
*/
|
|
118
247
|
export interface RouteByAddress {
|
|
119
248
|
type: "routeByAddress";
|
|
120
249
|
/**
|
|
@@ -126,6 +255,52 @@ export interface RouteByAddress {
|
|
|
126
255
|
*/
|
|
127
256
|
port?: number;
|
|
128
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* Defines the routing configuration for a command in a Valkey cluster.
|
|
260
|
+
*
|
|
261
|
+
* @remarks
|
|
262
|
+
* The `Routes` type allows you to specify how a command should be routed in a Valkey cluster.
|
|
263
|
+
* Commands can be routed to a single node or broadcast to multiple nodes depending on the routing strategy.
|
|
264
|
+
*
|
|
265
|
+
* **Routing Options**:
|
|
266
|
+
*
|
|
267
|
+
* - **Single Node Routing** (`SingleNodeRoute`):
|
|
268
|
+
* - **"randomNode"**: Route the command to a random node in the cluster.
|
|
269
|
+
* - **`SlotIdTypes`**: Route based on a specific slot ID.
|
|
270
|
+
* - **`SlotKeyTypes`**: Route based on the slot of a specific key.
|
|
271
|
+
* - **`RouteByAddress`**: Route to a specific node by its address and port.
|
|
272
|
+
* - **Broadcast Routing**:
|
|
273
|
+
* - **"allPrimaries"**: Route the command to all primary nodes in the cluster.
|
|
274
|
+
* - **"allNodes"**: Route the command to all nodes (both primaries and replicas) in the cluster.
|
|
275
|
+
*
|
|
276
|
+
* @example
|
|
277
|
+
* ```typescript
|
|
278
|
+
* // Route command to a random node
|
|
279
|
+
* const routeRandom: Routes = "randomNode";
|
|
280
|
+
*
|
|
281
|
+
* // Route command to all primary nodes
|
|
282
|
+
* const routeAllPrimaries: Routes = "allPrimaries";
|
|
283
|
+
*
|
|
284
|
+
* // Route command to all nodes
|
|
285
|
+
* const routeAllNodes: Routes = "allNodes";
|
|
286
|
+
*
|
|
287
|
+
* // Route command to a node by slot key
|
|
288
|
+
* const routeByKey: Routes = {
|
|
289
|
+
* type: "primarySlotKey",
|
|
290
|
+
* key: "myKey",
|
|
291
|
+
* };
|
|
292
|
+
*
|
|
293
|
+
* // Route command to a specific node by address
|
|
294
|
+
* const routeByAddress: Routes = {
|
|
295
|
+
* type: "routeByAddress",
|
|
296
|
+
* host: "192.168.1.10",
|
|
297
|
+
* port: 6379,
|
|
298
|
+
* };
|
|
299
|
+
*
|
|
300
|
+
* // Use the routing configuration when executing a command
|
|
301
|
+
* const result = await client.ping({ route: routeByAddress });
|
|
302
|
+
* ```
|
|
303
|
+
*/
|
|
129
304
|
export type Routes = SingleNodeRoute
|
|
130
305
|
/**
|
|
131
306
|
* Route request to all primary nodes.
|
|
@@ -135,6 +310,48 @@ export type Routes = SingleNodeRoute
|
|
|
135
310
|
* Route request to all nodes.
|
|
136
311
|
*/
|
|
137
312
|
| "allNodes";
|
|
313
|
+
/**
|
|
314
|
+
* Defines the routing configuration to a single node in the Valkey cluster.
|
|
315
|
+
*
|
|
316
|
+
* @remarks
|
|
317
|
+
* The `SingleNodeRoute` type allows you to specify routing of a command to a single node in the cluster.
|
|
318
|
+
* This can be based on various criteria such as a random node, a node responsible for a specific slot, or a node identified by its address.
|
|
319
|
+
*
|
|
320
|
+
* **Options**:
|
|
321
|
+
*
|
|
322
|
+
* - **"randomNode"**: Route the command to a random node in the cluster.
|
|
323
|
+
* - **`SlotIdTypes`**: Route to the node responsible for a specific slot ID.
|
|
324
|
+
* - **`SlotKeyTypes`**: Route to the node responsible for the slot of a specific key.
|
|
325
|
+
* - **`RouteByAddress`**: Route to a specific node by its address and port.
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* ```typescript
|
|
329
|
+
* // Route to a random node
|
|
330
|
+
* const routeRandomNode: SingleNodeRoute = "randomNode";
|
|
331
|
+
*
|
|
332
|
+
* // Route based on slot ID
|
|
333
|
+
* const routeBySlotId: SingleNodeRoute = {
|
|
334
|
+
* type: "primarySlotId",
|
|
335
|
+
* id: 12345,
|
|
336
|
+
* };
|
|
337
|
+
*
|
|
338
|
+
* // Route based on key
|
|
339
|
+
* const routeByKey: SingleNodeRoute = {
|
|
340
|
+
* type: "primarySlotKey",
|
|
341
|
+
* key: "myKey",
|
|
342
|
+
* };
|
|
343
|
+
*
|
|
344
|
+
* // Route to a specific node by address
|
|
345
|
+
* const routeByAddress: SingleNodeRoute = {
|
|
346
|
+
* type: "routeByAddress",
|
|
347
|
+
* host: "192.168.1.10",
|
|
348
|
+
* port: 6379,
|
|
349
|
+
* };
|
|
350
|
+
*
|
|
351
|
+
* // Use the routing configuration when executing a command
|
|
352
|
+
* const result = await client.get("myKey", { route: routeByKey });
|
|
353
|
+
* ```
|
|
354
|
+
*/
|
|
138
355
|
export type SingleNodeRoute =
|
|
139
356
|
/**
|
|
140
357
|
* Route request to a random node.
|
|
@@ -154,8 +371,52 @@ export type SingleNodeRoute =
|
|
|
154
371
|
* @see For full documentation refer to {@link https://github.com/valkey-io/valkey-glide/wiki/NodeJS-wrapper#cluster|Valkey Glide Wiki}.
|
|
155
372
|
*/
|
|
156
373
|
export declare class GlideClusterClient extends BaseClient {
|
|
374
|
+
/**
|
|
375
|
+
* Creates a new `GlideClusterClient` instance and establishes connections to a Valkey GLIDE Cluster.
|
|
376
|
+
*
|
|
377
|
+
* @param options - The configuration options for the client, including cluster addresses, authentication credentials, TLS settings, periodic checks, and Pub/Sub subscriptions.
|
|
378
|
+
* @returns A promise that resolves to a connected `GlideClusterClient` instance.
|
|
379
|
+
*
|
|
380
|
+
* @remarks
|
|
381
|
+
* Use this static method to create and connect a `GlideClusterClient` to a Valkey GLIDE Cluster. The client will automatically handle connection establishment, including cluster topology discovery and handling of authentication and TLS configurations.
|
|
382
|
+
*
|
|
383
|
+
* ### Example - Connecting to a Cluster
|
|
384
|
+
* ```typescript
|
|
385
|
+
* import { GlideClusterClient, GlideClusterClientConfiguration } from '@valkey/valkey-glide';
|
|
386
|
+
*
|
|
387
|
+
* const client = await GlideClusterClient.createClient({
|
|
388
|
+
* addresses: [
|
|
389
|
+
* { host: 'address1.example.com', port: 6379 },
|
|
390
|
+
* { host: 'address2.example.com', port: 6379 },
|
|
391
|
+
* ],
|
|
392
|
+
* credentials: {
|
|
393
|
+
* username: 'user1',
|
|
394
|
+
* password: 'passwordA',
|
|
395
|
+
* },
|
|
396
|
+
* useTLS: true,
|
|
397
|
+
* periodicChecks: {
|
|
398
|
+
* duration_in_sec: 30, // Perform periodic checks every 30 seconds
|
|
399
|
+
* },
|
|
400
|
+
* pubsubSubscriptions: {
|
|
401
|
+
* channelsAndPatterns: {
|
|
402
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Exact]: new Set(['updates']),
|
|
403
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Sharded]: new Set(['sharded_channel']),
|
|
404
|
+
* },
|
|
405
|
+
* callback: (msg) => {
|
|
406
|
+
* console.log(`Received message: ${msg.payload}`);
|
|
407
|
+
* },
|
|
408
|
+
* },
|
|
409
|
+
* });
|
|
410
|
+
* ```
|
|
411
|
+
*
|
|
412
|
+
* @remarks
|
|
413
|
+
* - **Cluster Topology Discovery**: The client will automatically discover the cluster topology based on the seed addresses provided.
|
|
414
|
+
* - **Authentication**: If `credentials` are provided, the client will attempt to authenticate using the specified username and password.
|
|
415
|
+
* - **TLS**: If `useTLS` is set to `true`, the client will establish secure connections using TLS.
|
|
416
|
+
* - **Periodic Checks**: The `periodicChecks` setting allows you to configure how often the client checks for cluster topology changes.
|
|
417
|
+
* - **Pub/Sub Subscriptions**: Any channels or patterns specified in `pubsubSubscriptions` will be subscribed to upon connection.
|
|
418
|
+
*/
|
|
157
419
|
static createClient(options: GlideClusterClientConfiguration): Promise<GlideClusterClient>;
|
|
158
|
-
static __createClient(options: BaseClientConfiguration, connectedSocket: net.Socket): Promise<GlideClusterClient>;
|
|
159
420
|
/**
|
|
160
421
|
* Incrementally iterates over the keys in the Cluster.
|
|
161
422
|
*
|
|
@@ -431,7 +692,7 @@ export declare class GlideClusterClient extends BaseClient {
|
|
|
431
692
|
* @example
|
|
432
693
|
* ```typescript
|
|
433
694
|
* // Example usage of configSet method to set multiple configuration parameters
|
|
434
|
-
* const result = await client.configSet({ timeout: "1000", maxmemory
|
|
695
|
+
* const result = await client.configSet({ timeout: "1000", maxmemory: "1GB" });
|
|
435
696
|
* console.log(result); // Output: 'OK'
|
|
436
697
|
* ```
|
|
437
698
|
*/
|
|
@@ -982,7 +1243,7 @@ export declare class GlideClusterClient extends BaseClient {
|
|
|
982
1243
|
* @example
|
|
983
1244
|
* ```typescript
|
|
984
1245
|
* const luaScript = new Script("return { ARGV[1] }");
|
|
985
|
-
* const result = await invokeScript(luaScript, { args: ["bar"] });
|
|
1246
|
+
* const result = await client.invokeScript(luaScript, { args: ["bar"] });
|
|
986
1247
|
* console.log(result); // Output: ['bar']
|
|
987
1248
|
* ```
|
|
988
1249
|
*/
|
|
@@ -98,6 +98,51 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
98
98
|
this.configurePubsub(options, configuration);
|
|
99
99
|
return configuration;
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Creates a new `GlideClusterClient` instance and establishes connections to a Valkey GLIDE Cluster.
|
|
103
|
+
*
|
|
104
|
+
* @param options - The configuration options for the client, including cluster addresses, authentication credentials, TLS settings, periodic checks, and Pub/Sub subscriptions.
|
|
105
|
+
* @returns A promise that resolves to a connected `GlideClusterClient` instance.
|
|
106
|
+
*
|
|
107
|
+
* @remarks
|
|
108
|
+
* Use this static method to create and connect a `GlideClusterClient` to a Valkey GLIDE Cluster. The client will automatically handle connection establishment, including cluster topology discovery and handling of authentication and TLS configurations.
|
|
109
|
+
*
|
|
110
|
+
* ### Example - Connecting to a Cluster
|
|
111
|
+
* ```typescript
|
|
112
|
+
* import { GlideClusterClient, GlideClusterClientConfiguration } from '@valkey/valkey-glide';
|
|
113
|
+
*
|
|
114
|
+
* const client = await GlideClusterClient.createClient({
|
|
115
|
+
* addresses: [
|
|
116
|
+
* { host: 'address1.example.com', port: 6379 },
|
|
117
|
+
* { host: 'address2.example.com', port: 6379 },
|
|
118
|
+
* ],
|
|
119
|
+
* credentials: {
|
|
120
|
+
* username: 'user1',
|
|
121
|
+
* password: 'passwordA',
|
|
122
|
+
* },
|
|
123
|
+
* useTLS: true,
|
|
124
|
+
* periodicChecks: {
|
|
125
|
+
* duration_in_sec: 30, // Perform periodic checks every 30 seconds
|
|
126
|
+
* },
|
|
127
|
+
* pubsubSubscriptions: {
|
|
128
|
+
* channelsAndPatterns: {
|
|
129
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Exact]: new Set(['updates']),
|
|
130
|
+
* [GlideClusterClientConfiguration.PubSubChannelModes.Sharded]: new Set(['sharded_channel']),
|
|
131
|
+
* },
|
|
132
|
+
* callback: (msg) => {
|
|
133
|
+
* console.log(`Received message: ${msg.payload}`);
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
138
|
+
*
|
|
139
|
+
* @remarks
|
|
140
|
+
* - **Cluster Topology Discovery**: The client will automatically discover the cluster topology based on the seed addresses provided.
|
|
141
|
+
* - **Authentication**: If `credentials` are provided, the client will attempt to authenticate using the specified username and password.
|
|
142
|
+
* - **TLS**: If `useTLS` is set to `true`, the client will establish secure connections using TLS.
|
|
143
|
+
* - **Periodic Checks**: The `periodicChecks` setting allows you to configure how often the client checks for cluster topology changes.
|
|
144
|
+
* - **Pub/Sub Subscriptions**: Any channels or patterns specified in `pubsubSubscriptions` will be subscribed to upon connection.
|
|
145
|
+
*/
|
|
101
146
|
static createClient(options) {
|
|
102
147
|
const _super = Object.create(null, {
|
|
103
148
|
createClientInternal: { get: () => super.createClientInternal }
|
|
@@ -106,6 +151,9 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
106
151
|
return yield _super.createClientInternal.call(this, options, (socket, options) => new GlideClusterClient(socket, options));
|
|
107
152
|
});
|
|
108
153
|
}
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
109
157
|
static __createClient(options, connectedSocket) {
|
|
110
158
|
const _super = Object.create(null, {
|
|
111
159
|
__createClientInternal: { get: () => super.__createClientInternal }
|
|
@@ -454,7 +502,7 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
454
502
|
* @example
|
|
455
503
|
* ```typescript
|
|
456
504
|
* // Example usage of configSet method to set multiple configuration parameters
|
|
457
|
-
* const result = await client.configSet({ timeout: "1000", maxmemory
|
|
505
|
+
* const result = await client.configSet({ timeout: "1000", maxmemory: "1GB" });
|
|
458
506
|
* console.log(result); // Output: 'OK'
|
|
459
507
|
* ```
|
|
460
508
|
*/
|
|
@@ -1092,7 +1140,7 @@ class GlideClusterClient extends BaseClient_1.BaseClient {
|
|
|
1092
1140
|
* @example
|
|
1093
1141
|
* ```typescript
|
|
1094
1142
|
* const luaScript = new Script("return { ARGV[1] }");
|
|
1095
|
-
* const result = await invokeScript(luaScript, { args: ["bar"] });
|
|
1143
|
+
* const result = await client.invokeScript(luaScript, { args: ["bar"] });
|
|
1096
1144
|
* console.log(result); // Output: ['bar']
|
|
1097
1145
|
* ```
|
|
1098
1146
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlideClusterClient.js","sourceRoot":"","sources":["../../src/GlideClusterClient.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;AAIH,6CAUsB;AACtB,yCA4CoB;AACpB,uDAAwE;AAuCxE,8DAA8D;AAC9D,IAAiB,+BAA+B,CAwC/C;AAxCD,WAAiB,+BAA+B;IAC5C;;;OAGG;IACH,IAAY,kBA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