loopbackio / loopback4-example-kafka

A LoopBack 4 example application for Kafka integration
MIT License
11 stars 4 forks source link

No get value of "topics" and "consumer" #5

Open thangtranse opened 3 years ago

thangtranse commented 3 years ago
 async consumeMessagesOnTopics(
    @param.path.string('topic') topic: string,
    @param.query.string('limit') limit: number,
    @inject(RestBindings.Http.RESPONSE) response: Response,
  ) {

I had edit from param.query.string to param.query.number