Skip to main content
Version: v2023.18.0

Service Broker

Environment

  • Key: Kubeprovider

    DescriptionParameter KeyType
    Use localhost for all servicesuseLocalhostBoolean
    Map of service host and portskubeHostsMap<String, int>
application.yaml
kubeprovider:
useLocalhost : true
kubeHosts:
conversion-service: 19999
jni-service: 9091
pdfbox-service: 8899
  • Key: provider

    DescriptionParameter KeyType
    Specify running environmentenvironmentEnum(LOCAL, KUBERNETES)
application.yaml
provider:
environment: local
Using kubernetes environment

Metrics server must be installed on Kubernetes if provider.environment is set to KUBERNETES

Temporary file storage

When the rendition server starts, folders and files in the temporary files folder path will be deleted. This deletion will not be automatic if the default path ../../tmp has been modified. In this case, the following configuration needs to be done.

/modules/rendition-engine/application.properties
default.document.path.startup.clear=true

Checking disk space

Since version 2023.14.0, a disk space availability check has been added. When a request to upload a new document to the rendition arrives and there is not enough disk space available, the request is rejected and a 503 response is returned.

By default, the available space threshold is 1GB, a value that can be configured via properties:

# Disk free space threshold (in GB)
disk.free.space.threshold=2