-
Notifications
You must be signed in to change notification settings - Fork 59
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
Conversation
81cdaef
to
be56d30
Compare
ce8b253
to
052af77
Compare
cluster.go
Outdated
@@ -11,6 +11,8 @@ import ( | |||
"time" | |||
) | |||
|
|||
const defaultDriverName = "ScyllaDB GoLang Driver" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@roydahan , @sylwiaszunejko join in to vote at #228 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tzach ?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
change default driver name
052af77
to
79a6c18
Compare
There was a problem hiding this 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!
Part of https://github.com/scylladb/scylla-drivers/issues/7
We want all drivers to report their names uniformly.