@dbos-inc/dbos-sdk 1.27.6-preview → 1.28.7-preview.gdb2d0f0508
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/dbos-executor.d.ts +3 -0
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +9 -0
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
- package/dist/src/dbos-runtime/runtime.js.map +1 -1
- package/dist/src/httpServer/server.d.ts +7 -0
- package/dist/src/httpServer/server.d.ts.map +1 -1
- package/dist/src/httpServer/server.js +18 -1
- package/dist/src/httpServer/server.js.map +1 -1
- package/dist/src/kafka/kafka.d.ts +2 -1
- package/dist/src/kafka/kafka.d.ts.map +1 -1
- package/dist/src/kafka/kafka.js +3 -2
- package/dist/src/kafka/kafka.js.map +1 -1
- package/dist/src/scheduler/scheduler.d.ts +3 -1
- package/dist/src/scheduler/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler/scheduler.js +7 -3
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +6 -2
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +17 -14
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -12,6 +12,7 @@ import { UserDatabase, UserDatabaseName } from './user_database';
|
|
12
12
|
import { MethodRegistrationBase, ConfiguredInstance } from './decorators';
|
13
13
|
import { StoredProcedure, StoredProcedureConfig } from './procedure';
|
14
14
|
import { DBOSEventReceiver, DBOSExecutorContext } from ".";
|
15
|
+
import { DBOSScheduler } from './scheduler/scheduler';
|
15
16
|
import { DBOSEventReceiverState, DBOSEventReceiverQuery, DBNotificationCallback, DBNotificationListener } from "./eventreceiver";
|
16
17
|
export interface DBOSNull {
|
17
18
|
}
|
@@ -90,6 +91,7 @@ export declare class DBOSExecutor implements DBOSExecutorContext {
|
|
90
91
|
[key: string]: object;
|
91
92
|
};
|
92
93
|
eventReceivers: DBOSEventReceiver[];
|
94
|
+
scheduler: DBOSScheduler | null;
|
93
95
|
constructor(config: DBOSConfig, systemDatabase?: SystemDatabase);
|
94
96
|
configureDbClient(): void;
|
95
97
|
getRegistrationsFor(obj: DBOSEventReceiver): {
|
@@ -143,6 +145,7 @@ export declare class DBOSExecutor implements DBOSExecutorContext {
|
|
143
145
|
* It runs to completion all pending workflows that were executing when the previous executor failed.
|
144
146
|
*/
|
145
147
|
recoverPendingWorkflows(executorIDs?: string[]): Promise<WorkflowHandle<unknown>[]>;
|
148
|
+
deactivateEventReceivers(): Promise<void>;
|
146
149
|
executeWorkflowUUID(workflowUUID: string, startNewWorkflow?: boolean): Promise<WorkflowHandle<unknown>>;
|
147
150
|
getEventDispatchState(svc: string, wfn: string, key: string): Promise<DBOSEventReceiverState | undefined>;
|
148
151
|
queryEventDispatchState(query: DBOSEventReceiverQuery): Promise<DBOSEventReceiverState[]>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dbos-executor.d.ts","sourceRoot":"","sources":["../../src/dbos-executor.ts"],"names":[],"mappings":";AAEA,OAAO,EAEL,QAAQ,EACR,cAAc,EAEd,cAAc,EACd,cAAc,EAGd,cAAc,EAEd,cAAc,EACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAkB,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAA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AM,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE;IAS3C,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IA4BzG;;;OAGG;IACG,uBAAuB,CAAC,WAAW,GAAE,MAAM,EAAc,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;IAuB9F,wBAAwB;IASxB,mBAAmB,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,GAAE,OAAe,GAAG,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IA8E9G,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC;IAGzG,uBAAuB,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,EAAE,CAAC;IAGzF,wBAAwB,CAAC,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAyB9F;;OAEG;IACG,oBAAoB;IAQpB,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAiDhD,qBAAqB;IAcrB,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS;CAQ3D"}
|
@@ -84,6 +84,7 @@ class DBOSExecutor {
|
|
84
84
|
typeormEntities = [];
|
85
85
|
drizzleEntities = {};
|
86
86
|
eventReceivers = [];
|
87
|
+
scheduler = null;
|
87
88
|
/* WORKFLOW EXECUTOR LIFE CYCLE MANAGEMENT */
|
88
89
|
constructor(config, systemDatabase) {
|
89
90
|
this.config = config;
|
@@ -825,6 +826,14 @@ class DBOSExecutor {
|
|
825
826
|
}
|
826
827
|
return handlerArray;
|
827
828
|
}
|
829
|
+
async deactivateEventReceivers() {
|
830
|
+
this.logger.info("Deactivating event receivers");
|
831
|
+
for (const evtRcvr of this.eventReceivers || []) {
|
832
|
+
await evtRcvr.destroy();
|
833
|
+
}
|
834
|
+
await this.scheduler?.destroyScheduler();
|
835
|
+
wfqueue_1.wfQueueRunner.stop();
|
836
|
+
}
|
828
837
|
async executeWorkflowUUID(workflowUUID, startNewWorkflow = false) {
|
829
838
|
const wfStatus = await this.systemDatabase.getWorkflowStatus(workflowUUID);
|
830
839
|
const inputs = await this.systemDatabase.getWorkflowInputs(workflowUUID);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dbos-executor.js","sourceRoot":"","sources":["../../src/dbos-executor.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAuD;AACvD,mCAA+J;AAC/J,yCAYoB;AAEpB,+CAA+E;AAE/E,qDAA2D;AAC3D,+CAA4C;AAC5C,2CAA0D;AAC1D,qDAA0D;AAE1D,2BAAkE;AAClE,uDAAmG;AACnG,+BAAoC;AACpC,mDAQyB;AACzB,6CAA4P;AAC5P,4CAAoD;AACpD,gDAAkC;AAClC,uCAAyD;AAEzD,8DAAiE;AACjE,qDAAiD;AACjD,mCAA4C;AAC5C,0DAA6B;AAK7B,mCAA6B;AAC7B,uCAAyD;AACzD,6CAAiF;AAKpE,QAAA,QAAQ,GAAa,EAAE,CAAC;AA8CxB,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;CACd,CAAC;AAEX,MAAM,gBAAgB,GAAG;IACvB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;CACJ,CAAC;AAEX,MAAa,YAAY;IAmDF;IAlDrB,WAAW,CAAU;IACrB,gBAAgB;IAChB,YAAY,GAAiB,IAA+B,CAAC;IAC7D,kBAAkB;IACT,cAAc,CAAiB;IAC/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,IAAI;IAOjB;;OAEG;IACG,OAAO;CAmBd"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/dbos-runtime/runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAA4D;AAC5D,iDAAsD;AACtD,uCAAyB;AACzB,mCAAkC;AAClC,oCAAuD;AACvD,0DAA6B;AAE7B,6BAAoC;AACpC,sDAAuD;AACvD,wCAA2C;AAa9B,QAAA,iBAAiB,GAAG,oBAAoB,CAAC;AAEtD,MAAa,IAAI;IACf,MAAM,CAAC,YAAY,CAAgB;IACnC,MAAM,CAAC,UAAU,CAAc;CAChC;AAHD,oBAGC;AAED,MAAa,WAAW;IAO+B;IAN7C,UAAU,CAAa;IACvB,QAAQ,GAAwB,IAAI,CAAC;IACrC,OAAO,CAAyD;IAChE,SAAS,GAAyB,IAAI,CAAC;IACvC,aAAa,GAAyB,IAAI,CAAC;IAEnD,YAAY,UAAsB,EAAmB,aAAgC;QAAhC,kBAAa,GAAb,aAAa,CAAmB;QACnF,gCAAgC;QAChC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,YAAY;QAChB,IAAI,CAAC;
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/dbos-runtime/runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAA4D;AAC5D,iDAAsD;AACtD,uCAAyB;AACzB,mCAAkC;AAClC,oCAAuD;AACvD,0DAA6B;AAE7B,6BAAoC;AACpC,sDAAuD;AACvD,wCAA2C;AAa9B,QAAA,iBAAiB,GAAG,oBAAoB,CAAC;AAEtD,MAAa,IAAI;IACf,MAAM,CAAC,YAAY,CAAgB;IACnC,MAAM,CAAC,UAAU,CAAc;CAChC;AAHD,oBAG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AAK,CAAC,OAAO;QACX,MAAM,IAAI,CAAC,SAAS,EAAE,gBAAgB,EAAE,CAAC;QACzC,IAAI,CAAC;YACH,uBAAa,CAAC,IAAI,EAAE,CAAC;YACrB,MAAM,IAAI,CAAC,aAAa,CAAC;QAC3B,CAAC;QACD,OAAO,GAAG,EAAE,CAAC;YACX,MAAM,CAAC,GAAG,GAAY,CAAC;YACvB,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACrF,CAAC;QACD,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE,cAAc,IAAI,EAAE,EAAE,CAAC;YAC1D,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;QAC1B,CAAC;QACD,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;YAC/B,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACnC,CAAC;QACD,MAAM,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACjC,CAAC;CACF;AAhHD,kCAgHC"}
|
@@ -9,6 +9,7 @@ export declare const WorkflowUUIDHeader = "dbos-idempotency-key";
|
|
9
9
|
export declare const WorkflowRecoveryUrl = "/dbos-workflow-recovery";
|
10
10
|
export declare const HealthUrl = "/dbos-healthz";
|
11
11
|
export declare const PerfUrl = "/dbos-perf";
|
12
|
+
export declare const DeactivateUrl = "/deactivate";
|
12
13
|
export declare class DBOSHttpServer {
|
13
14
|
readonly dbosExec: DBOSExecutor;
|
14
15
|
readonly app: Koa;
|
@@ -45,6 +46,12 @@ export declare class DBOSHttpServer {
|
|
45
46
|
* Returns information on VM performance since last call.
|
46
47
|
*/
|
47
48
|
static registerPerfEndpoint(dbosExec: DBOSExecutor, router: Router): void;
|
49
|
+
/**
|
50
|
+
* Register Deactiviate endpoint.
|
51
|
+
* Deactivate consumers so that they don'nt start new workflows.
|
52
|
+
*
|
53
|
+
*/
|
54
|
+
static registerDeactivateEndpoint(dbosExec: DBOSExecutor, router: Router): void;
|
48
55
|
/**
|
49
56
|
* Register decorated functions as HTTP endpoints.
|
50
57
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/httpServer/server.ts"],"names":[],"mappings":";;;AAAA,OAAO,GAAgB,MAAM,KAAK,CAAC;AACnC,OAAO,MAAM,MAAM,aAAa,CAAC;AAiBjC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAQ3D,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AACzD,eAAO,MAAM,mBAAmB,4BAA4B,CAAA;AAC5D,eAAO,MAAM,SAAS,kBAAkB,CAAA;AACxC,eAAO,MAAM,OAAO,eAAe,CAAA;
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/httpServer/server.ts"],"names":[],"mappings":";;;AAAA,OAAO,GAAgB,MAAM,KAAK,CAAC;AACnC,OAAO,MAAM,MAAM,aAAa,CAAC;AAiBjC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAQ3D,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AACzD,eAAO,MAAM,mBAAmB,4BAA4B,CAAA;AAC5D,eAAO,MAAM,SAAS,kBAAkB,CAAA;AACxC,eAAO,MAAM,OAAO,eAAe,CAAA;AACnC,eAAO,MAAM,aAAa,gBAAgB,CAAA;AAE1C,qBAAa,cAAc;IAYb,QAAQ,CAAC,QAAQ,EAAE,YAAY;IAX3C,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC;IACvB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB;;;;OAIG;gBACkB,QAAQ,EAAE,YAAY;IAmB3C;;;OAGG;IACG,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;;IAmCxC,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBpE;;OAEG;IACD,MAAM,CAAC,sBAAsB,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM;IAUtE;;;OAGG;IACH,MAAM,CAAC,wBAAwB,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM;IAkBtE;;;OAGG;IACH,MAAM,CAAC,oBAAoB,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM;IAalE;;;;OAIG;IACH,MAAM,CAAC,0BAA0B,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM;IAWxE;;OAEG;IACH,MAAM,CAAC,0BAA0B,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG;CAmOnF"}
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.DBOSHttpServer = exports.PerfUrl = exports.HealthUrl = exports.WorkflowRecoveryUrl = exports.WorkflowUUIDHeader = void 0;
|
29
|
+
exports.DBOSHttpServer = exports.DeactivateUrl = exports.PerfUrl = exports.HealthUrl = exports.WorkflowRecoveryUrl = exports.WorkflowUUIDHeader = void 0;
|
30
30
|
const koa_1 = __importDefault(require("koa"));
|
31
31
|
const router_1 = __importDefault(require("@koa/router"));
|
32
32
|
const bodyparser_1 = require("@koa/bodyparser");
|
@@ -42,6 +42,7 @@ exports.WorkflowUUIDHeader = "dbos-idempotency-key";
|
|
42
42
|
exports.WorkflowRecoveryUrl = "/dbos-workflow-recovery";
|
43
43
|
exports.HealthUrl = "/dbos-healthz";
|
44
44
|
exports.PerfUrl = "/dbos-perf";
|
45
|
+
exports.DeactivateUrl = "/deactivate";
|
45
46
|
class DBOSHttpServer {
|
46
47
|
dbosExec;
|
47
48
|
app;
|
@@ -67,6 +68,7 @@ class DBOSHttpServer {
|
|
67
68
|
DBOSHttpServer.registerHealthEndpoint(this.dbosExec, this.adminRouter);
|
68
69
|
DBOSHttpServer.registerRecoveryEndpoint(this.dbosExec, this.adminRouter);
|
69
70
|
DBOSHttpServer.registerPerfEndpoint(this.dbosExec, this.adminRouter);
|
71
|
+
DBOSHttpServer.registerDeactivateEndpoint(this.dbosExec, this.adminRouter);
|
70
72
|
this.adminApp.use(this.adminRouter.routes()).use(this.adminRouter.allowedMethods());
|
71
73
|
DBOSHttpServer.registerDecoratedEndpoints(this.dbosExec, this.applicationRouter, this.app);
|
72
74
|
this.app.use(this.applicationRouter.routes()).use(this.applicationRouter.allowedMethods());
|
@@ -170,6 +172,21 @@ class DBOSHttpServer {
|
|
170
172
|
router.get(exports.PerfUrl, perfHandler);
|
171
173
|
dbosExec.logger.debug(`DBOS Server Registered Perf GET ${exports.HealthUrl}`);
|
172
174
|
}
|
175
|
+
/**
|
176
|
+
* Register Deactiviate endpoint.
|
177
|
+
* Deactivate consumers so that they don'nt start new workflows.
|
178
|
+
*
|
179
|
+
*/
|
180
|
+
static registerDeactivateEndpoint(dbosExec, router) {
|
181
|
+
const deactivateHandler = async (koaCtxt, koaNext) => {
|
182
|
+
await dbosExec.deactivateEventReceivers();
|
183
|
+
dbosExec.logger.info("Deactivating Event Recievers");
|
184
|
+
koaCtxt.body = "Deactivated";
|
185
|
+
await koaNext();
|
186
|
+
};
|
187
|
+
router.get(exports.DeactivateUrl, deactivateHandler);
|
188
|
+
dbosExec.logger.info(`DBOS Server deactivate GET ${exports.DeactivateUrl}`);
|
189
|
+
}
|
173
190
|
/**
|
174
191
|
* Register decorated functions as HTTP endpoints.
|
175
192
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../../src/httpServer/server.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAmC;AACnC,yDAAiC;AACjC,gDAA6C;AAC7C,qDAA6B;AAC7B,uCAImB;AACnB,iDAAsD;AAGtD,oCAKkB;AAIlB,4CAAyE;AAEzE,yCAA2B;AAC3B,2CAAyC;AACzC,oCAA0D;AAE7C,QAAA,kBAAkB,GAAG,sBAAsB,CAAC;AAC5C,QAAA,mBAAmB,GAAG,yBAAyB,CAAA;AAC/C,QAAA,SAAS,GAAG,eAAe,CAAA;AAC3B,QAAA,OAAO,GAAG,YAAY,CAAA;AAEnC,MAAa,cAAc;IAYJ;IAXZ,GAAG,CAAM;IACT,QAAQ,CAAM;IACd,iBAAiB,CAAS;IAC1B,WAAW,CAAS;IACpB,MAAM,CAAS;IAExB;;;;OAIG;IACH,YAAqB,QAAsB;QAAtB,aAAQ,GAAR,QAAQ,CAAc;QACzC,IAAI,CAAC,iBAAiB,GAAG,IAAI,gBAAM,EAAE,CAAC;QACtC,IAAI,CAAC,WAAW,GAAG,IAAI,gBAAM,EAAE,CAAC;QAChC,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;QAC9B,IAAI,CAAC,GAAG,GAAG,IAAI,aAAG,EAAE,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,IAAI,aAAG,EAAE,CAAC;QAC1B,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAA,uBAAU,GAAE,CAAC,CAAC;QAChC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAA,cAAI,GAAE,CAAC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MAAM,EAAE,cAAc,CAAC,CAAC;wBACzC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,iCAAiC,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;wBACpE,MAAM;oBACR;wBACE,IAAA,4BAAoB,EAAC,EAAE,CAAC,OAAO,CAAC,CAAA;gBACpC,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAlYD,wCAkYC"}
|
@@ -14,8 +14,9 @@ export declare class DBOSKafka implements DBOSEventReceiver {
|
|
14
14
|
export interface KafkaRegistrationInfo {
|
15
15
|
kafkaTopics?: string | RegExp | Array<string | RegExp>;
|
16
16
|
consumerConfig?: ConsumerConfig;
|
17
|
+
queueName?: string;
|
17
18
|
}
|
18
|
-
export declare function KafkaConsume(topics: string | RegExp | Array<string | RegExp>, consumerConfig?: ConsumerConfig): <This, Ctx extends DBOSContext, Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: Ctx, ...args: KafkaArgs) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: Ctx, args_1: string, args_2: number, args_3: KafkaMessage) => Promise<Return>>;
|
19
|
+
export declare function KafkaConsume(topics: string | RegExp | Array<string | RegExp>, consumerConfig?: ConsumerConfig, queueName?: string): <This, Ctx extends DBOSContext, Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: Ctx, ...args: KafkaArgs) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: Ctx, args_1: string, args_2: number, args_3: KafkaMessage) => Promise<Return>>;
|
19
20
|
export interface KafkaDefaults {
|
20
21
|
kafkaConfig?: KafkaConfig;
|
21
22
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"kafka.d.ts","sourceRoot":"","sources":["../../../src/kafka/kafka.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAwB,MAAM,SAAS,CAA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BAAsB;CAoBvB;AAQD,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACvD,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,cAAc,CAAC,EAAE,cAAc,EAAE,SAAU,CAAC,EAAE,MAAM,mDAEvH,MAAM,eACD,MAAM,gBACL,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,SAAS,KAAK,QAAQ,MAAM,CAAC,CAAC,8HAavG;AAMD,MAAM,WAAW,aAAa;IAC5B,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,wBAAgB,KAAK,CAAC,WAAW,EAAE,WAAW,4BACH,OAAO,EAAE,KAAG,MAAM,QAAU,CAAC,UAMvE"}
|
package/dist/src/kafka/kafka.js
CHANGED
@@ -66,7 +66,7 @@ class DBOSKafka {
|
|
66
66
|
eachMessage: async ({ topic, partition, message }) => {
|
67
67
|
// This combination uniquely identifies a message for a given Kafka cluster
|
68
68
|
const workflowUUID = `kafka-unique-id-${topic}-${partition}-${message.offset}`;
|
69
|
-
const wfParams = { workflowUUID: workflowUUID, configuredInstance: null };
|
69
|
+
const wfParams = { workflowUUID: workflowUUID, configuredInstance: null, queueName: ro.queueName };
|
70
70
|
// All operations annotated with Kafka decorators must take in these three arguments
|
71
71
|
const args = [topic, partition, message];
|
72
72
|
// We can only guarantee exactly-once-per-message execution of transactions and workflows.
|
@@ -124,7 +124,7 @@ exports.DBOSKafka = DBOSKafka;
|
|
124
124
|
/* Kafka Method Decorators */
|
125
125
|
/////////////////////////////
|
126
126
|
let kafkaInst = undefined;
|
127
|
-
function KafkaConsume(topics, consumerConfig) {
|
127
|
+
function KafkaConsume(topics, consumerConfig, queueName) {
|
128
128
|
function kafkadec(target, propertyKey, inDescriptor) {
|
129
129
|
if (!kafkaInst)
|
130
130
|
kafkaInst = new DBOSKafka();
|
@@ -132,6 +132,7 @@ function KafkaConsume(topics, consumerConfig) {
|
|
132
132
|
const kafkaRegistration = receiverInfo;
|
133
133
|
kafkaRegistration.kafkaTopics = topics;
|
134
134
|
kafkaRegistration.consumerConfig = consumerConfig;
|
135
|
+
kafkaRegistration.queueName = queueName;
|
135
136
|
return descriptor;
|
136
137
|
}
|
137
138
|
return kafkadec;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"kafka.js","sourceRoot":"","sources":["../../../src/kafka/kafka.ts"],"names":[],"mappings":";;;AAAA,qCAAsH;AAEtH,0BAAuF;AAGvF,0BAAwC;AACxC,oCAAmC;AAKnC,wBAAwB;AACxB,uBAAuB;AACvB,uBAAuB;AAEvB,MAAa,SAAS;IACX,SAAS,GAAe,EAAE,CAAC;IAEpC,QAAQ,GAAyB,SAAS,CAAC;IAE3C,gBAAgB,CAAC;IAEjB,KAAK,CAAC,UAAU,CAAC,SAA8B;QAC7C,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;QAC1B,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;QACvD,KAAK,MAAM,mBAAmB,IAAI,MAAM,EAAE,CAAC;YACzC,MAAM,EAAE,GAAG,mBAAmB,CAAC,YAAqC,CAAC;YACrE,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;gBACnB,MAAM,QAAQ,GAAG,mBAAmB,CAAC,WAA4B,CAAC;gBAClE,MAAM,MAAM,GAAG,mBAAmB,CAAC,SAAS,CAAC;gBAC7C,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,CAAC;gBAC/B,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC;gBAC1B,IAAI,CAAC,M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ACpF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;IACtC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAPD,sBAOC"}
|
@@ -8,6 +8,7 @@ export declare enum SchedulerMode {
|
|
8
8
|
export declare class SchedulerConfig {
|
9
9
|
crontab: string;
|
10
10
|
mode?: SchedulerMode;
|
11
|
+
queueName?: string;
|
11
12
|
}
|
12
13
|
export type ScheduledArgs = [Date, Date];
|
13
14
|
export interface SchedulerRegistrationBase extends MethodRegistrationBase {
|
@@ -28,12 +29,13 @@ declare class DetachableLoop {
|
|
28
29
|
readonly crontab: string;
|
29
30
|
readonly schedMode: SchedulerMode;
|
30
31
|
readonly scheduledMethod: SchedulerRegistrationBase;
|
32
|
+
readonly queueName?: string | undefined;
|
31
33
|
private isRunning;
|
32
34
|
private interruptResolve?;
|
33
35
|
private lastExec;
|
34
36
|
private timeMatcher;
|
35
37
|
private scheduledMethodName;
|
36
|
-
constructor(dbosExec: DBOSExecutor, crontab: string, schedMode: SchedulerMode, scheduledMethod: SchedulerRegistrationBase);
|
38
|
+
constructor(dbosExec: DBOSExecutor, crontab: string, schedMode: SchedulerMode, scheduledMethod: SchedulerRegistrationBase, queueName?: string | undefined);
|
37
39
|
startLoop(): Promise<void>;
|
38
40
|
setStopLoopFlag(): void;
|
39
41
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scheduler.d.ts","sourceRoot":"","sources":["../../../src/scheduler/scheduler.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,eAAe,EAAE,MAAM,IAAI,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAA2B,MAAM,eAAe,CAAC;AAQhF,oBAAY,aAAa;IACrB,sBAAsB,2BAA2B;IACjD,gCAAgC,qCAAqC;CACxE;AAED,qBAAa,eAAe;IACxB,OAAO,EAAE,MAAM,CAAe;IAC9B,IAAK,CAAC,EAAE,aAAa,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,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,gBAAgB,CAAC,CAAa;IACtC,OAAO,CAAC,QAAQ,CAAO;IACvB,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,mBAAmB,CAAS;gBAEf,QAAQ,EAAE,YAAY,EAAW,OAAO,EAAE,MAAM,EAAW,SAAS,EAAC,aAAa,EAClF,eAAe,EAAE,yBAAyB,EAAW,SAAS,CAAC,oBAAQ;IAQtF,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IA8EhC,eAAe;CAOlB"}
|
@@ -14,6 +14,7 @@ var SchedulerMode;
|
|
14
14
|
class SchedulerConfig {
|
15
15
|
crontab = '* * * * *'; // Every minute
|
16
16
|
mode = SchedulerMode.ExactlyOncePerIntervalWhenActive;
|
17
|
+
queueName;
|
17
18
|
}
|
18
19
|
exports.SchedulerConfig = SchedulerConfig;
|
19
20
|
function Scheduled(schedulerConfig) {
|
@@ -33,6 +34,7 @@ class DBOSScheduler {
|
|
33
34
|
dbosExec;
|
34
35
|
constructor(dbosExec) {
|
35
36
|
this.dbosExec = dbosExec;
|
37
|
+
dbosExec.scheduler = this;
|
36
38
|
}
|
37
39
|
schedLoops = [];
|
38
40
|
schedTasks = [];
|
@@ -40,7 +42,7 @@ class DBOSScheduler {
|
|
40
42
|
for (const registeredOperation of this.dbosExec.registeredOperations) {
|
41
43
|
const ro = registeredOperation;
|
42
44
|
if (ro.schedulerConfig) {
|
43
|
-
const loop = new DetachableLoop(this.dbosExec, ro.schedulerConfig.crontab ?? '* * * * *', ro.schedulerConfig.mode ?? SchedulerMode.ExactlyOncePerInterval, ro);
|
45
|
+
const loop = new DetachableLoop(this.dbosExec, ro.schedulerConfig.crontab ?? '* * * * *', ro.schedulerConfig.mode ?? SchedulerMode.ExactlyOncePerInterval, ro, ro.schedulerConfig?.queueName);
|
44
46
|
this.schedLoops.push(loop);
|
45
47
|
this.schedTasks.push(loop.startLoop());
|
46
48
|
}
|
@@ -77,16 +79,18 @@ class DetachableLoop {
|
|
77
79
|
crontab;
|
78
80
|
schedMode;
|
79
81
|
scheduledMethod;
|
82
|
+
queueName;
|
80
83
|
isRunning = false;
|
81
84
|
interruptResolve;
|
82
85
|
lastExec;
|
83
86
|
timeMatcher;
|
84
87
|
scheduledMethodName;
|
85
|
-
constructor(dbosExec, crontab, schedMode, scheduledMethod) {
|
88
|
+
constructor(dbosExec, crontab, schedMode, scheduledMethod, queueName) {
|
86
89
|
this.dbosExec = dbosExec;
|
87
90
|
this.crontab = crontab;
|
88
91
|
this.schedMode = schedMode;
|
89
92
|
this.scheduledMethod = scheduledMethod;
|
93
|
+
this.queueName = queueName;
|
90
94
|
this.lastExec = new Date();
|
91
95
|
this.lastExec.setMilliseconds(0);
|
92
96
|
this.timeMatcher = new crontab_1.TimeMatcher(crontab);
|
@@ -136,7 +140,7 @@ class DetachableLoop {
|
|
136
140
|
// Init workflow
|
137
141
|
const workflowUUID = `sched-${this.scheduledMethodName}-${nextExecTime.toISOString()}`;
|
138
142
|
this.dbosExec.logger.debug(`Executing scheduled workflow ${workflowUUID}`);
|
139
|
-
const wfParams = { workflowUUID: workflowUUID, configuredInstance: null };
|
143
|
+
const wfParams = { workflowUUID: workflowUUID, configuredInstance: null, queueName: this.queueName };
|
140
144
|
// All operations annotated with Scheduled decorators must take in these four
|
141
145
|
const args = [nextExecTime, new Date()];
|
142
146
|
// We currently only support scheduled workflows
|