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

Make communications pluggable in C++ SDK #2763

Merged
merged 45 commits into from
Apr 17, 2024
Merged

Make communications pluggable in C++ SDK #2763

merged 45 commits into from
Apr 17, 2024

Conversation

charlesbvll
Copy link
Member

@charlesbvll charlesbvll commented Dec 31, 2023

Issue

Description

The C++ SDK can currently only be used with a gRPC communication channel, this can be limiting for custom communication stacks.

Related issues/PRs

N/A

Proposal

Explanation

In this PR, we make the communication related code separate from the main client logic by creating a new abstract class Communicator and a gRPC implementation of it.

Checklist

  • Implement proposed change
  • Update the changelog entry below
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Changelog entry

In the C++ SDK, the communication related code is now separate from the main client logic. A new abstract class Communicator has been introduced along side a gRPC implementation of it.

Any other comments?

N/A

@charlesbvll charlesbvll marked this pull request as ready for review December 31, 2023 11:24
@charlesbvll charlesbvll self-assigned this Jan 5, 2024
@danieljanes danieljanes enabled auto-merge (squash) April 17, 2024 09:25
@danieljanes danieljanes merged commit 58c47b5 into main Apr 17, 2024
28 checks passed
@danieljanes danieljanes deleted the cpp-better-comms branch April 17, 2024 09:31
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.

3 participants