apache / apisix-java-plugin-runner

APISIX Plugin Runner in Java
https://apisix.apache.org/
Apache License 2.0
131 stars 98 forks source link

The `PluginFilter` API is synchronous and blocks a thread #168

Open oridag opened 2 years ago

oridag commented 2 years ago

This is an issue when the filter performs potentially long running IO because it holds the thread while waiting for a response from the external resource. It would be nice to have an async API (with callbacks) to allow processing large number of requests concurrently without spawning many threads