rdhabalia commented on PR #23398:
URL: https://github.com/apache/pulsar/pull/23398#issuecomment-2456199156

   >  Could you please elaborate a bit more? Not 100% sure what you mean here.. 
Are you saying that we simply treat all timeouts as throttling issue and return 
THROTTLE_ERROR_CODE instead of TIMEOUT without the need of server sending any 
info out to the client (via the new command?)
   
   Sure, I was suggesting to send a failure `ServerError.Throttled` to producer 
as it is just a notification from server to client. and let client receive this 
error during publish and do necessary backoff.
   
   >> Actually, i checked around this on slack. seems like feature flags are 
the new approach of handling this and protocol version only bumps up in case of 
major changes in the protocol.
   
   Umm.. That should not be true because we can increase this version when we 
want to check client's compatibility and this should be the example of this 
usecase.


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