Skip to content

Cosmos: Switch SDK over to using the driver #3906

@analogrelay

Description

@analogrelay

We have a basic driver skeleton in place now, so we should work on moving the SDK over to using the driver. This includes:

  1. Exposing relevant options/builder APIs to construct and manage driver instances in the Rust SDK
  2. Implementing existing Rust SDK APIs by constructing driver CosmosOperations and executing them, then wrapping CosmosResponse in something that allows deserialization of the body and exposes the diagnostics and other response headers.

Out of scope here:

  1. Maintaining the existing SDK transport. We're not going to bother with a feature flag right now, it's extra work for little benefit.
  2. C bindings to the Driver

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.CosmosThe azure_cosmos crateService AttentionWorkflow: This issue is responsible by Azure service team.cosmos-driverfeature-requestThis issue requires a new behavior in the product in order be resolved.

    Type

    No type

    Projects

    Status

    Untriaged

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions