adnanhemani commented on PR #2720:
URL: https://github.com/apache/polaris/pull/2720#issuecomment-3360064638

   > > In what situation would we need a custom request ID generator?
   
   > I could see e.g. users storing their request IDs in the database, or using 
Zookeeper's distributed atomic counter.
   
   To be clear, I am mostly fine with the changes and asking mainly to learn 
here - isn't the expected workflow that, in the case users want to store their 
request IDs in a database prior to the API call, that they would store their 
request IDs on client-side and pass it into Polaris via the request headers? 
Can you please explain further in what use case the server-side would actually 
want to store (and then use) pre-computed request IDs?
   
   I think ZK's distributed atomic counter would be a good use case where 
making request ID asynchronous would help, although I'm sure most developers 
nowadays would prefer not to use ZK for a use case like creating request IDs 
unless they have no other option :) 


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

Reply via email to