hnzhuzi commented on issue #11895:
URL: https://github.com/apache/apisix/issues/11895#issuecomment-2579710809
> It's reasonable to use a default key to chash then choose the upstream (It
would be much more complex if use a fallback strategy)
>
> I think you should check what key can be performed like RR, or just use RR
directly.
Currently, this requirement is achieved by modifying the code. If the
request does not have a key, the time hash is used by default:
if not chash_key then
chash_key = tostring(ngx.time())
end
I would like to know if there is a way without changing the code, such as
through a plug-in.
--
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]