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

[Internal]Thin Client Integration: Adds Classes and Methods for Transport Serialization of RNTBD Payload #5019

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aavasthy
Copy link
Contributor

Pull Request Template

Description

This pull request introduces the ProxyStoreClient, ThinClientStoreModel, and ThinClientTransportSerializer classes as part of SDK-Thinclient integration. These additions enhance the SDK's functionality by enabling operations through a ThinClient proxy, which includes applying session tokens, resolving partition key ranges, and delegating requests to the ProxyStoreClient. The ThinClientTransportSerializer provides serialization and deserialization of requests and responses to and from the RNTBD protocol for the ThinClient scenario.
Also, included functional unit tests for these classes.

  • ThinClientStoreModel: This class implements the ProcessMessageAsync() method from the IStoreModel interface, to send the request message via the proxy store client. This store model abstracts out the implementation of the thin client interaction using the new Http 2 protocol.

  • ProxyStoreClient: This client is responsible for interacting with the thin client over Http2, using the thin client uri.

  • ThinClientTransportSerializer: This class provides static methods for serializing and deserializing requests and responses to and from the RNTBD protocol for the ThinClient scenario.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Closing issues

To automatically close an issue: closes #4571

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good!

@aavasthy aavasthy changed the title Add ThinclientStoreModel, ProxyClient , Serializer and tests [Thin Client Integration]: Adds Classes and Methods for Transport Serialization of RNTBD Payload Feb 14, 2025
@aavasthy aavasthy marked this pull request as ready for review February 14, 2025 19:06
@aavasthy aavasthy changed the title [Thin Client Integration]: Adds Classes and Methods for Transport Serialization of RNTBD Payload [Internal]Thin Client Integration: Adds Classes and Methods for Transport Serialization of RNTBD Payload Feb 14, 2025
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.

[Thin Client Integration] Create New Store Model and HttpMessageHandler
1 participant