You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "abenn135 (via GitHub)" <gi...@apache.org> on 2026/05/01 15:55:44 UTC

Re: [PR] CASSGO-39 Add query attempt interceptor (round 3) [cassandra-gocql-driver]

abenn135 commented on code in PR #1943:
URL: https://github.com/apache/cassandra-gocql-driver/pull/1943#discussion_r3173935089


##########
cluster.go:
##########
@@ -258,6 +258,10 @@ type ClusterConfig struct {
 	// See https://issues.apache.org/jira/browse/CASSANDRA-10786
 	DisableSkipMetadata bool
 
+	// QueryAttemptInterceptor will set the provided query interceptor on all queries created from this session.
+	// Use it to intercept and modify queries by providing an implementation of QueryAttemptInterceptor.
+	QueryAttemptInterceptor QueryAttemptInterceptor

Review Comment:
   Changed this to `ExecAttemptInterceptor`, which is more generic.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org