This epic is used to track the progress of the implementation of Processing Broker and Processing Server.
Processing Broker features:
Deploy all necessary processing servers and a message queue system (e.g. RabbitMQ) at specified locations via a configuration file. The deployment is either via Docker or native.
Configure the queuing system with specified number of queues. Each processor type should have its own queue, and the queue name is the name of the processor. For example, ocrd-dummy queue for the ocrd-dummy processors.
Accept the incoming requests via REST API and submit a message to the appropriate queue.
Shutdown all processing servers and the message queue if requested or by the end of the OCR process.
Processing Server features:
Listen to the message queue and pull the message.
Save the working status and log to the database.
New specifications
To achieve the mentioned functionalities, 2 new specification must be created:
The schema of the configuration file, which the processing broker takes.
The structure of the message submitted to the queue.
This epic is used to track the progress of the implementation of Processing Broker and Processing Server.
Processing Broker features:
ocrd-dummy
queue for theocrd-dummy
processors.Processing Server features:
New specifications
To achieve the mentioned functionalities, 2 new specification must be created: