Sebastian S
11/26/2025, 6:34 PMPREFECT_SERVER_EVENTS_STREAM_OUT_ENABLED? That is to say, if you turn it off, what do you lose? I assume just live UI updates (i.e, you need to refresh) - anything else?Marvin
11/26/2025, 6:34 PMMarvin
11/26/2025, 6:37 PM/api/events/out WebSocket.
- If you turn it off:
- You lose real-time UI updates (the UI will rely on polling/refresh).
- Any custom clients listening to /api/events/out won’t receive live events. They’ll only get the initial backfill of recent events, then silence.
- What still works:
- Event ingestion and persistence to the database
- Event querying via REST
- Automations and triggers (reactive and proactive)
- Webhooks and actions
- Flow runs and all server-side processing
Related note: This setting is for events only. Log streaming has its own toggle: PREFECT_SERVER_LOGS_STREAM_OUT_ENABLED.
Useful links:
- Settings reference: stream_out_enabled
- WebSocket endpoint: /api/events/out handler
- Distributor service code: Distributor service
- Settings model (env var aliases): server.events settings