moleculer-channels
moleculer-channels copied to clipboard
Feature Request: Add Ability to Pause/Resume Stream Processing
It would be nice to be able to pause/resume processing of messages without unsubscribing from the channel.
@valeeum Do I understand that correctly you want to do this inside the handler? Should it work like in Kafka?
@intech i'd like to do this from a method within my service, i.e., this.pauseChannel("order.created") or this.pauseChannels() to pause all channels defined in the service. i unfortunately don't have much experience with kafka but my use case is to be able to pause processing of events during times of system maintenance.
Good idea.