[💡 FEATURE REQUEST]: Allow Skipping proxy_address
in Centrifuge Plugin
#2102
Labels
C-feature-request
Category: feature requested, but need to be discussed
Plugin
None
I have an idea!
Currently, the RoadRunner Centrifuge plugin requires both
proxy_address
for receiving events andgrpc_api_address
for sending requests. However, in a microservice architecture, only one service typically listens to events from the WebSocket (WS) server. Other services usually push messages to the WS server without needing to handle events.Proposal:
Add the ability to skip the
proxy_address
configuration. If it is not set, the plugin should not create a worker pool for handling events. Instead, it should only allow sending push events through thegrpc_api_address
using the existing RPC interface.This change will improve flexibility, especially in microservice setups, where only one service needs to listen to events while others focus on pushing data.
Benefits:
Example Configuration:
The text was updated successfully, but these errors were encountered: