You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need support for HeaderFilter and BodyFilter phases.
Since I use serverless plugin (AWS Lambda) and the plugin's Response phase is not called. But from a lua plugin header_filter and body_filter will be called. So, I need go plugin to support HeaderFilter and BodyFilter phases as well.
Thank you.
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue and welcome to the Kong community.
The header_filter and body_filter phases do not support the socket API Kong uses to communicate with the pluginserver; this is a known limitation, by design.
The goal of the Go PDK is not to replace the Lua PDK entirely, but to allow you to tap into the Go ecosystem when there isn't a Lua equivalent library available; therefore, we recommend you to write your plugin in Lua if it's paramount to use the header and body filters.
We have a planned task to improve our docs and make this (and other) limitations clearer.
As always, happy to answer questions. For now, I will leave this issue open.
Need support for HeaderFilter and BodyFilter phases.
Since I use serverless plugin (AWS Lambda) and the plugin's Response phase is not called. But from a lua plugin header_filter and body_filter will be called. So, I need go plugin to support HeaderFilter and BodyFilter phases as well.
Thank you.
The text was updated successfully, but these errors were encountered: