orka.startup.backend module
Backend Server Management
This module handles OrKa backend server startup and management.
- orka.startup.backend.start_backend(backend: str) Popen [source]
Start the OrKa backend server as a separate process.
This function launches the OrKa server module in a subprocess, allowing it to run independently while still being monitored by this parent process.
- Parameters:
backend – The backend type (‘redis’, ‘kafka’, or ‘dual’)
- Returns:
The process object representing the running backend
- Return type:
subprocess.Popen
- Raises:
Exception – If the backend fails to start for any reason