You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "bzp2010 (via GitHub)" <gi...@apache.org> on 2025/05/25 15:13:49 UTC

[I] bug: API-driven standalone mode does not properly configure and reflect stream subsystem state [apisix]

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

   ### Current Behavior
   
   The API cannot return stream route configurations or configure the stream route via PUT.
   
   Although we use shdict and the event broadcast system to trigger configuration updates on each worker and utilize meta shdict to share the shdict zone on the stream subsystem.
   
   However, the event channel under the http subsystem is different from that under stream, so the stream subsystem is not actually receiving event broadcasts and therefore the configuration is not refreshed.
   Configuring the stream route in the Admin API also fails to take effect, because the Admin API is always handled by the http subsystem. In the http subsystem, we don't run the config provider for the stream route, so the stream route is just ignored on configuration input.
   
   The root cause is that the http and stream subsystems do not share the same Lua VM.
   
   ### Expected Behavior
   
   The Admin API should work properly on the stream route, as it does in etcd.
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   1. Enable stream proxy support in APISIX.
   2. Submit a configuration set containing a stream route via the Admin API.
   3. Read using the get API, which has neither `stream_routes` key nor `stream_routes_conf_version`
   
   ### Environment
   
   - APISIX version (run `apisix version`): master
   - Operating system (run `uname -a`): N/A
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): N/A
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): N/A
   - APISIX Dashboard version, if relevant: N/A
   - Plugin runner version, for issues related to plugin runners: N/A
   - LuaRocks version, for installation issues (run `luarocks --version`): N/A
   


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: API-driven standalone mode does not properly configure and reflect stream subsystem state [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #12254: bug: API-driven standalone mode does not properly configure and reflect stream subsystem state
URL: https://github.com/apache/apisix/issues/12254


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: API-driven standalone mode does not properly configure and reflect stream subsystem state [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12254:
URL: https://github.com/apache/apisix/issues/12254#issuecomment-3995754429

   fixed by #12632


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org