joao-r-reis commented on issue #1869:
URL: 
https://github.com/apache/cassandra-gocql-driver/issues/1869#issuecomment-3672093479

   So in my mind I think one `Query().Iter()` call should result in a single 
call to an observer and that "event" should have information about all the 
individual attempts that were executed as part of that request (identified as 
either speculative or retry). In addition to that we can have an observer that 
is called for each individual attempt if a user cares about that level of real 
time observability.
   
   Now if I try to map this vision to what gocql currently has, we only support 
the latter use case that I described so we would have to add an additional 
observer type to support the first use case. Or we would modify the existing 
observers to support the first use case that I described but this would be a 
significant API change that would require a major version upgrade which I don't 
like because we just recently released v2.
   
   Is this an accurate description of the issue @max-melentyev ? I want to make 
sure I understand the problem before I think about a proposal to solve it.


-- 
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]

Reply via email to