openwhisk-package-kafka icon indicating copy to clipboard operation
openwhisk-package-kafka copied to clipboard

Gradually start consumers when provider starts

Open dubee opened this issue 7 years ago • 2 comments

Consumers should not all be started at the same time when the provider starts as this may result in throttling.

dubee avatar Jan 30 '18 05:01 dubee

@dubeejw perhaps we should use a backoff strategy. i.e. start n comsumers on startup, wait the interval, start n comsumers, wait the interval, etc... where the interval is global

abaruni avatar Jan 31 '18 03:01 abaruni

Sounds good, as long as the provider doesn't take an exorbitant amount of time to start all of the consumers.

dubee avatar Jan 31 '18 03:01 dubee