You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "max-melentyev (via GitHub)" <gi...@apache.org> on 2025/04/10 16:10:44 UTC
[I] Add API to pass custom data to observers [cassandra-gocql-driver]
max-melentyev opened a new issue, #1877:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1877
From the discussion in #1870
What do you think about adding custom data to a query/batch that is passed to observers? We use a context.WithValue() to pass query names to observer, but this approach can lead to errors because engineers can use the same context for different queries. Would be great to have an approach when data is assigned for individual queries.
--
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: commits-unsubscribe@cassandra.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org
Re: [I] Add API to pass custom data to observers [cassandra-gocql-driver]
Posted by "max-melentyev (via GitHub)" <gi...@apache.org>.
max-melentyev commented on issue #1877:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1877#issuecomment-3672340463
Maybe `query.WithObserverLabels(map[string]any)`.
--
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: commits-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org
Re: [I] Add API to pass custom data to observers [cassandra-gocql-driver]
Posted by "joao-r-reis (via GitHub)" <gi...@apache.org>.
joao-r-reis commented on issue #1877:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1877#issuecomment-3671988639
This sounds like a good idea, do you have a specific API design in mind?
--
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: commits-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org