Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add message queue to implement multi-cluster watch interface When using the default storage layer #595

Open
wuyingjun-lucky opened this issue Nov 17, 2023 · 3 comments
Labels
kind/feature New feature

Comments

@wuyingjun-lucky
Copy link
Member

What would you like to be added?

Add message queue to implement multi-cluster watch interface When using the default storage layer

Why is this needed?

Improve Clusterpedia Query capability (dynamic query)

@wuyingjun-lucky wuyingjun-lucky added the kind/feature New feature label Nov 17, 2023
@clusterpedia-bot
Copy link

Hi @wuyingjun-lucky,
Thanks for opening an issue!
We will look into it as soon as possible.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

@zhouhaoA1
Copy link

zhouhaoA1 commented Nov 21, 2023

image

hi, this is our solution for the multi-cluster watch feature.

@zhouhaoA1
Copy link

zhouhaoA1 commented Nov 21, 2023

  1. A message queue is used for transporting events from ClusterSynchroManager to ApiServer, before transporting, events must be persisted to the storage layer, and rv of events must be converted to multi-clusters-rv.
  2. EventCache is a buffer for newest events whose number is limit to 100 by default.
  3. we have defined a series of universal inferfaces for message queue middleware. And we have introduced RabbitMQ by implement the interfaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature
Projects
None yet
Development

No branches or pull requests

3 participants