rudr icon indicating copy to clipboard operation
rudr copied to clipboard

setup a queue in rudr for events with error or need to wait and retry

Open wonderflow opened this issue 5 years ago • 3 comments

We need to setup a queue, mainly for 2 reasons:

  1. some error occurred and need to retry.
  2. need to wait and retry.

The architecture is like this:

informer => queue => Instigator
             ↑↑          ||
             <<==requeue==V

wonderflow avatar Sep 02 '19 11:09 wonderflow

xref: https://github.com/clux/kube-rs/issues/9

resouer avatar Sep 02 '19 22:09 resouer

@technosophos do you think we need to write a library something like controller-runtime ? Or just use some rust way to solve this?

wonderflow avatar Sep 07 '19 16:09 wonderflow

For now, it would be fine to do it ourselves. Clux might be interested in adding something to his library if we wanted. Or if you would like to write your own Rust library and cargo it in, that would be fine with me! I'm sure many other people would benefit.

technosophos avatar Sep 24 '19 23:09 technosophos