zhangw opened a new issue, #9236:
URL: https://github.com/apache/apisix/issues/9236

   ### Description
   
   The implementation of openresty balancer allow to use the pool key of opts 
as the connection cache key, and by default use the host name of any upstream 
node as the cache key.
   
![image](https://user-images.githubusercontent.com/196561/229700984-5b11ef4d-4c7b-444d-b0ec-1e7a4643deb2.png)
   Apisix now not allow to set a customized key for upstream as the connection 
cache key.
   
![image](https://user-images.githubusercontent.com/196561/229701178-10af3d90-7377-49fd-8a84-41af6701b4d0.png)
   
   Any advices for these code snippets?
   pool_opt.pool =upconf.keepalive_pool.key
   local ok, err = balancer.set_current_peer(server.host, server.port, pool_opt)


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