We are currently using driver:
https://github.com/yugabyte/gocql
of version gocql@v0.0.0-20200602185649-ef3952a45ff4
Documentation says:
token aware policy feature is available: https://pkg.go.dev/github.com/yugabyte/gocql#hdr-Data_center_awareness_and_query_routing
Implementation is also available in master branch: https://github.com/yugabyte/gocql/blob/master/policies.go#L345
+++
But there is a little confusion because, Github issue still exists on this feature(token aware policy): https://github.com/yugabyte/yugabyte-db/issues/11376
-
Does gocql driver support token aware routing of queries?
-
if yes, Which version of gocql needs to be used?