mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
fix(microservices): Changed visibility of Kafka variables for extension
This commit is contained in:
@@ -43,13 +43,13 @@ export class ClientKafka extends ClientProxy {
|
||||
protected client: Kafka = null;
|
||||
protected consumer: Consumer = null;
|
||||
protected producer: Producer = null;
|
||||
protected readonly logger = new Logger(ClientKafka.name);
|
||||
protected readonly responsePatterns: string[] = [];
|
||||
protected logger = new Logger(ClientKafka.name);
|
||||
protected responsePatterns: string[] = [];
|
||||
protected consumerAssignments: { [key: string]: number[] } = {};
|
||||
|
||||
private readonly brokers: string[];
|
||||
private readonly clientId: string;
|
||||
private readonly groupId: string;
|
||||
protected brokers: string[];
|
||||
protected clientId: string;
|
||||
protected groupId: string;
|
||||
|
||||
constructor(protected readonly options: KafkaOptions['options']) {
|
||||
super();
|
||||
|
||||
@@ -33,13 +33,14 @@ let kafkaPackage: any = {};
|
||||
export class ServerKafka extends Server implements CustomTransportStrategy {
|
||||
public readonly transportId = Transport.KAFKA;
|
||||
|
||||
protected readonly logger = new Logger(ServerKafka.name);
|
||||
protected logger = new Logger(ServerKafka.name);
|
||||
protected client: Kafka = null;
|
||||
protected consumer: Consumer = null;
|
||||
protected producer: Producer = null;
|
||||
private readonly brokers: string[];
|
||||
private readonly clientId: string;
|
||||
private readonly groupId: string;
|
||||
|
||||
protected brokers: string[];
|
||||
protected clientId: string;
|
||||
protected groupId: string;
|
||||
|
||||
constructor(private readonly options: KafkaOptions['options']) {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user