@nestjstools/messaging-google-pubsub-extension
Version:
Extension to handle messages and dispatch them over Google PubSub
13 lines (12 loc) • 519 B
TypeScript
import { ChannelConfig } from '@nestjstools/messaging';
export declare class GooglePubSubChannelConfig extends ChannelConfig {
readonly credentials?: Credentials;
readonly topicName: string;
readonly subscriptionName: string;
readonly autoCreate?: boolean;
constructor({ name, credentials, topicName, subscriptionName, autoCreate, enableConsumer, avoidErrorsForNotExistedHandlers, middlewares, normalizer, }: GooglePubSubChannelConfig);
}
interface Credentials {
projectId: string;
}
export {};