Skip to content

Commit ad44931

Browse files
committed
Removes unused key in integration test for Kafka.
1 parent 84961d4 commit ad44931

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

integration/microservices/src/kafka/kafka.controller.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { Logger } from '@nestjs/common/services/logger.service';
1111
import * as util from 'util';
1212

1313
import { Observable } from 'rxjs';
14-
import * as uuid from 'uuid';
1514
import * as Bluebird from 'bluebird';
1615

1716
@Controller()
@@ -41,8 +40,6 @@ export class KafkaController implements OnModuleInit {
4140
@Query('command') cmd,
4241
@Body() data: number[],
4342
): Promise<Observable<any>> {
44-
const key = uuid.v4(); // stick to a single partition
45-
4643
const result = await this.client.send('math.sum', {
4744
key: '1',
4845
value: {

0 commit comments

Comments
 (0)