mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
Formatting and general fixes for tests.
This commit is contained in:
@@ -85,7 +85,7 @@ export class KafkaController implements OnModuleInit {
|
||||
}),
|
||||
}).toPromise();
|
||||
|
||||
await Bluebird.delay(30000);
|
||||
// await Bluebird.delay(30000);
|
||||
|
||||
// this.logger.error(util.format('@Query math.sum result %o', result));
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ export class ClientKafka extends ClientProxy {
|
||||
}, this.options.send || {}));
|
||||
}
|
||||
|
||||
private getReplyPartition(topic: string): number {
|
||||
private getReplyPartition(topic: string): string {
|
||||
// this.consumer.describeGroup().then((description) => {
|
||||
// // this.logger.error(util.format('getReplyTopicPartition(): groupDescription: %o', description));
|
||||
|
||||
@@ -235,7 +235,7 @@ export class ClientKafka extends ClientProxy {
|
||||
throw new Error(`Unable to send the message request because the client consumer subscribed to the topic (${topic}) is not assigned any partitions.`);
|
||||
}
|
||||
|
||||
return topicAssignments[0];
|
||||
return topicAssignments[0].toString();
|
||||
}
|
||||
|
||||
protected publish(
|
||||
|
||||
Reference in New Issue
Block a user