This blog post describes the different Transform Service architectures available from ACS 5.2 to ACS 7.2 and provides a sample implementation and deployment for a Custom Transform Service.
Alfresco Transformers
Legacy Transformer
Local Transformer
Transformer (only Enterprise)
Deploy Custom Alfresco Transformer
Alfresco Transformer from PDF to OCRd PDF has been taken as sample to provide deployment instructions for Local Transformer and Async Transformer.
https://github.com/aborroy/alf-tengine-ocr
Deploy to Local Transformer (Community)
Add following lines to your docker-compose.yml file
services: alfresco: environment: JAVA_OPTS : " -DlocalTransform.core-aio.url=http://transform-core-aio:8090/ -DlocalTransform.ocr.url=http://transform-ocr:8090/ " transform-core-aio: image: alfresco/alfresco-transform-core-aio:2.3.10 transform-ocr: image: alfresco/tengine-ocr:latest
If you want to use an Enhanced Transform Service instead of the one provided by default by Alfresco, check out this Community project:
https://github.com/Acosix/alfresco-transform
Deploy to Async Transformer (Enterprise)
Add following lines to your docker-compose.yml file
services: alfresco: environment: JAVA_OPTS : " -Dlocal.transform.service.enabled=false -Dtransform.service.enabled=true -Dtransform.service.url=http://transform-router:8095 -Dsfs.url=http://shared-file-store:8099/ " transform-router: image: quay.io/alfresco/alfresco-transform-router:1.5.0 environment: ACTIVEMQ_URL: "nio://activemq:61616" CORE_AIO_URL: "http://transform-core-aio:8090" TRANSFORMER_URL_OCR: "http://transform-ocr:8090" TRANSFORMER_QUEUE_OCR: "ocr-engine-queue" FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file" transform-ocr: image: alfresco/tengine-ocr:latest environment: ACTIVEMQ_URL: "nio://activemq:61616" FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
Additional details are available on the following video recording.