toptobes commented on PR #1943: URL: https://github.com/apache/cassandra-gocql-driver/pull/1943#issuecomment-5038723479
> I think this is something we should keep in mind going forward but we can work on this new Interceptor feature without having to worry too much about the Observers right now. Conceptually they are two different things and they can exist independently of each other but in the future we might try to just reimplement observers so they are interceptors under the hood. Something to consider in the future but out of scope for this current PR Fine with me but just to be blunt, I think it'd be hard to do this in the future without causing breaking changes unless the appropriate initial steps are taken in this PR (or at least in this release!), even if the full marriage isn't performed just yet. Regardless, I still don't think it'd be the worst idea to have per-query exec interceptor overrides (similar to observers), and think we should probably have additional setters/getters so you can access the interceptors from the cluster to reuse them in a query/batch-specific interceptor chain (if that made any sense) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

