fjodor-rybakov

Results 11 comments of fjodor-rybakov

If anyone needs, then there is a workaround for regexp support. You just need to add custom strategy and override `bindEvents` method as shown below. ```typescript import { CustomTransportStrategy, ServerKafka...

> @fjodor-rybakov Was there anything else you had to change? I copy / pasted your class and added it as the strategy for my microservice to just try it and...

@jfelicianiats This should work ```typescript import { CustomTransportStrategy, ServerKafka } from '@nestjs/microservices'; import { Consumer } from 'kafkajs'; export class KafkaCustomTransport extends ServerKafka implements CustomTransportStrategy { override async bindEvents(consumer: Consumer):...

> Hi everybody, > > Thanks for the discussion and posting workarounds. > > My question is: do these workarounds also support topics that get created in future? If my...

Now this is impossible, but maybe in the future

Hi! Registration by http work simple. First you should create a [Subject](https://github.com/fjodor-rybakov/discord-nestjs/blob/master/packages/sample/command-by-http-request/src/register/register.module.ts#L9). After need [send next event](https://github.com/fjodor-rybakov/discord-nestjs/blob/master/packages/sample/command-by-http-request/src/register/register.controller.ts#L15) to your subject. After all the [subscription will call](https://github.com/fjodor-rybakov/discord-nestjs/blob/4d0dd57a82c16c95073b5524f91f448783a7abc2/packages/core/src/services/register-command.service.ts#L64), which will register your...

In new version it will be possible to inject the event with which the collector was created. In `@Filter()` method you can filter the message so that the collector is...

Hi! Can you provide minimal reproduction repository? NestJS and discord.js are not directly related in any way. How would you like to see sharding out of the box?