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

Expose driver name/version configuration on cluster config level and change default driver name #228

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

dkropachev
Copy link
Collaborator

@dkropachev dkropachev commented Aug 5, 2024

Part of https://github.com/scylladb/scylla-drivers/issues/7

We want all drivers to report their names uniformly.

cluster.go Outdated Show resolved Hide resolved
cluster.go Outdated
@@ -11,6 +11,8 @@ import (
"time"
)

const defaultDriverName = "ScyllaDB GoLang Driver"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't "Go" official language name?

Copy link
Collaborator Author

@dkropachev dkropachev Aug 5, 2024

Choose a reason for hiding this comment

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

Yes, but it's similarity to the verb makes everybody use golang to avoid confusion, even official repo is named golang/go

Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we should use "gocql" to identify it's coming from this driver.
There is another golang driver and one could use that, so maybe we should differentiate it by name.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

How do we name scylla-go-driver then ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would call it "ScyllaDB gocql Driver".
BTW, how does it appear now in system.clients?

Choose a reason for hiding this comment

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

It's kinda weird start with uppercase and suddently drop to lowercase...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link

Choose a reason for hiding this comment

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

@tzach ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@dkropachev lets put aside Scylla-go-driver, I don't know if it's "NextGen" and AFAIC it's not our recommended driver or supported one.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changed it to ScyllaDB GoCQL Driver

Copy link

@DanielHe4rt DanielHe4rt left a comment

Choose a reason for hiding this comment

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

Seems the best option by far. LGTM!

@dkropachev dkropachev merged commit 009034a into scylladb:master Aug 7, 2024
1 check passed
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.

6 participants