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 customizable metadata for peer awareness #110

Closed
wants to merge 2 commits into from

Conversation

habibrosyad
Copy link
Contributor

What does this PR do?

Add customizable metadata for peer awareness. Currently the API only exposes client ID and there's no way to add extra information about the client during collaborative activities.

How should this be manually tested?

Any background context you want to provide?

This works around WatchDocuments rpc call. In the WatchDocumentsRequest I add a new meta field, where you could put whatever peer's metadata there. The metadata then passed along with the WatchDocumentsResponse.

What are the relevant tickets?

Fixes #106
Related with yorkie-team/yorkie#48

Checklist

  • Added relevant tests
  • Didn't break anything

@hackerwins
Copy link
Member

We will continue this at #123.

@hackerwins hackerwins closed this Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to get the connected peers details?
2 participants