The processing broker parses the configuration file and deploys necessary components (processors or a queuing system). The deployment of the processors is made natively (not via Docker).
This feature can be implemented in the following steps:
ssh to the specified machine using the provided credentials.
Assume that ocrd-all was installed in that machine, execute a shell command to start a processor as a consumer in the background.
Save the process ID (PID) of the execution.
Shutdown the processor later via its PID obtained earlier.
To start the processing broker, the CLI syntax would be:
The processing broker parses the configuration file and deploys necessary components (processors or a queuing system). The deployment of the processors is made natively (not via Docker).
This feature can be implemented in the following steps:
ssh
to the specified machine using the provided credentials.ocrd-all
was installed in that machine, execute a shell command to start a processor as a consumer in the background.To start the processing broker, the CLI syntax would be:
After executing that command, an instance of a processing broker will be started and listen to the provided IP and port.