IMessageConsumer.ChangeWorkersCountAndRestartAsync method
Restart the current consumer with the new worker count
public Task ChangeWorkersCountAndRestartAsync(int workersCount)
parameter | description |
---|---|
workersCount | The new workers count |
See Also
- interface IMessageConsumer
- namespace KafkaFlow.Consumers