@voltro/plugin-cdc-out 0.89.2 → 0.90.0
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 +1822 -0
- package/dist/index.d.ts +0 -11
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -53,8 +53,6 @@ declare const CdcDeliveryError_base: Schema.Class<CdcDeliveryError, Schema.Tagge
|
|
|
53
53
|
* CAS-guarded per row in the engine.
|
|
54
54
|
*/
|
|
55
55
|
export declare class CdcLeaseManager {
|
|
56
|
-
private readonly opts;
|
|
57
|
-
private held;
|
|
58
56
|
constructor(opts: {
|
|
59
57
|
readonly key: string;
|
|
60
58
|
readonly holder: string;
|
|
@@ -90,18 +88,10 @@ export declare const CDCOUT_OUTBOX_TABLE = "_voltro_cdcout_outbox";
|
|
|
90
88
|
export declare const cdcOutClaimsTable: TableLike;
|
|
91
89
|
|
|
92
90
|
export declare class CdcOutEngine {
|
|
93
|
-
private readonly opts;
|
|
94
|
-
private readonly now;
|
|
95
|
-
/** Rows stuck in `delivering` longer than this are treated as a crashed
|
|
96
|
-
* claimant's and returned to `pending`. A LIVE worker always resolves a
|
|
97
|
-
* batch within `deliveryTimeoutMs`, so 2× (floored) can never steal from
|
|
98
|
-
* a live one. */
|
|
99
|
-
private readonly stuckClaimMs;
|
|
100
91
|
constructor(opts: CdcOutEngineOptions);
|
|
101
92
|
/** One sweep over every pipe. Leader-gated (fail closed): a non-leader
|
|
102
93
|
* replica's workers never touch the outbox. */
|
|
103
94
|
tick(store: DataStore): Promise<void>;
|
|
104
|
-
private pipeTick;
|
|
105
95
|
}
|
|
106
96
|
|
|
107
97
|
export declare interface CdcOutEngineOptions {
|
|
@@ -246,7 +236,6 @@ export declare const enqueueBackfill: (store: DataStore, config: SinkConfig, row
|
|
|
246
236
|
}) => Promise<number>;
|
|
247
237
|
|
|
248
238
|
export declare class HandoffBuffer<T> {
|
|
249
|
-
#private;
|
|
250
239
|
constructor(opts: {
|
|
251
240
|
readonly windowMs: number;
|
|
252
241
|
readonly maxEntries: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/plugin-cdc-out",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.0",
|
|
4
4
|
"description": "Declarative reverse-ETL: mirror framework table changes outward to external sinks (webhook, Kafka via @voltro/plugin-queue's kafkaSink, plus a CdcSink interface for custom sinks) through a durable outbox — ordered per pipe, at-least-once from enqueue, retried with backoff, dead-lettered.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"voltro",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"node": ">=24.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@voltro/database": "0.
|
|
37
|
-
"@voltro/protocol": "0.
|
|
38
|
-
"@voltro/runtime": "0.
|
|
36
|
+
"@voltro/database": "0.90.0",
|
|
37
|
+
"@voltro/protocol": "0.90.0",
|
|
38
|
+
"@voltro/runtime": "0.90.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"effect": "4.1.2"
|