UNPKG

kafka-nestjs

Version:

A structured Kafka integration for NestJS inspired by BullMQ, offering decorators, modular configuration, and a scalable consumer/producer architecture.

16 lines 837 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.KafkaDuplicateGroupIdServerException = void 0; const server_exception_1 = require("./server.exception"); class KafkaDuplicateGroupIdServerException extends server_exception_1.ServerException { constructor(methodDescription) { super({ information: { message: `Duplicate Kafka consumer groupId detected in the same process. Cannot bind multiple consumers with the same groupId.\n${methodDescription.module} > ${methodDescription.provider} > ${methodDescription.name}`, identifier: 'kafka.duplicate-group-id', }, }); } } exports.KafkaDuplicateGroupIdServerException = KafkaDuplicateGroupIdServerException; //# sourceMappingURL=kafka.duplicate-group-id.server.exception.js.map