Implement a switch to pause all of the write requests to elasticsearch
In case of a dangerous situation for our ES cluster (like #199887 (closed)) we need a way to pause/throttle writes without losing any data.
For a sidekiq worker we could reschedule a job with some delay, for our new bulk worker this would be just a simple if condition.
I believe this could help cluster to recover a lot faster.
Edited by Dmitry Gruzd