Skip to content

Updating Rust Driver version and setting a Custom Driver name/version #35

@danielhe4rt

Description

@danielhe4rt

Currently, we're using an outdated Scylla Rust Driver version and we need maintain it on LTS. But more than that, we gonna need to implement a different driver name under the Rust Driver (for identification inside the Cluster).

Thinking on that, the drivers team recently merged a possibility to settle the driver name/version (scylladb/scylla-rust-driver@36d5edd)

let session: Session = SessionBuilder::new()
  .known_node("127.0.0.1:9042")
  .custom_identity(
     SelfIdentity::new()
       .with_custom_driver_version("0.3.17")
       .with_application_name("ScyllaDB JavaScript Driver")
       .with_application_version(app_version_from_package_json),
  );

Goal

Upgrade the driver version and validate missing rules to implement this feature.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions