ConsumerAdapterOptions:
    | { config?: Adapters.Redis.Config; type: "redis" }
    | { config?: Adapters.SocketIO.Config; type: "socketIO" }

Consumer adapter options: Redis or SocketIO. In order to configure the consumer instance, consumer and adapter options must be provided, in other case the consumer will not be started.

Type declaration