@dtu-olp-2024/kafka-nocobase
Version:
A NocoBase plugin for Apache Kafka integration, supporting message publishing, topic management, and event-driven workflows. Built for the DTU GreenHope project.
13 lines (12 loc) • 572 B
TypeScript
import Application, { DefaultContext, DefaultState } from '@nocobase/server';
export declare class MessageHandlers {
static transactionResponse(message: any, appInstance: Application<DefaultState, DefaultContext>): Promise<{
status: string;
message: string;
}>;
static compileResponse(message: any, appInstance: Application<DefaultState, DefaultContext>): Promise<void>;
}
export declare const topicHandlers: {
transactionResponse: typeof MessageHandlers.transactionResponse;
compileResponse: typeof MessageHandlers.compileResponse;
};