Huweicai opened a new issue #4545: URL: https://github.com/apache/apisix/issues/4545
I have several plugins being miggrated from **Kong** to **APISIX**. In Kong, plugins share variables use [kong.ctx.shared](https://docs.konghq.com/gateway-oss/2.4.x/pdk/kong.ctx/#kongctxshared) to work together. I wonder what's the most recommended way to do it in APISIX? Can I just attach these variables to ctx ? Like this: ``` function _M.access(conf, ctx) ctx.var1 = "xxxx" ctx.var2 = "xxxx" core.log.warn(ctx.var1) core.log.warn(ctx.var2) end ``` -- 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]
