Skip to main content

Configuration reference

PAS-specific properties live under jeap.processarchive.*. The PAS is also a jEAP Messaging service, so Kafka is configured under jeap.messaging.kafka.* and spring.kafka.* — see the jEAP Messaging documentation. Relaxed binding applies, so object-lock-enabled and objectLockEnabled are equivalent.

Archive configuration​

PropertyDescriptionDefault
jeap.processarchive.configuration.locationLocation of the archive configuration fileclasspath:/processarchive/messages.json
jeap.processarchive.registry.typesConfig-defined (non-Avro) archive types

The message-triggered archiving is declared in messages.json, where each configuration entry may carry an id (mandatory and unique when a message has multiple configurations).

Archived artifact event​

See Archived artifacts & events.

The following values must be non-empty when publication is enabled. Setting enabled=false disables the event and its property validation. The publisher identity defaults to the jEAP Messaging identity, so it normally does not need to be configured a second time.

PropertyRequired when enabledDescriptionDefault
jeap.processarchive.archivedartifact.event-topicyesTopic for SharedArchivedArtifactVersionCreatedEventNone
jeap.processarchive.archivedartifact.system-idyessystemId of the event (freely chosen)None
jeap.processarchive.archivedartifact.system-nameyesPublisher system namejeap.messaging.kafka.system-name
jeap.processarchive.archivedartifact.service-nameyesPublisher service namejeap.messaging.kafka.service-name
jeap.processarchive.archivedartifact.enablednoPublish the eventtrue

Object storage​

See Object storage and Data expiration & locking.

PropertyDescriptionDefault
jeap.processarchive.objectstorage.connection.access-urlS3 URL
jeap.processarchive.objectstorage.connection.regionS3 / AWS regionAWS_GLOBAL
jeap.processarchive.objectstorage.connection.access-keyS3 access key
jeap.processarchive.objectstorage.connection.secret-keyS3 secret key
jeap.processarchive.objectstorage.storage.bucketDefault-strategy target bucket
jeap.processarchive.objectstorage.storage.prefix-modeKey prefix mode: NONE/DAY/MONTH/YEARDAY
jeap.processarchive.objectstorage.object-lock-enabledEnable object lockingtrue
jeap.processarchive.objectstorage.object-lock-modeCOMPLIANCE or GOVERNANCECOMPLIANCE
jeap.processarchive.objectstorage.schema-overwrite-allowedAllow overwriting immutable Avro schemas on S3false

Remote data fetch​

PropertyDescriptionDefault
jeap.processarchive.http.timeoutRead timeout for the OAuth-authenticated remote-data client5s

The current implementation applies this property as a read timeout when building the OAuth client. It is not a total end-to-end deadline and does not configure the unauthenticated client; that client uses the supplied RestClient.Builder settings.

If a source service is slow, raise this — but not too high, or a temporarily unavailable service could delay archiving for other services while the PAS waits for timeouts.

Kafka polling​

As for any jEAP Messaging consumer, polling must be tuned to the expected processing time per message:

PropertyDescriptionPAS default
spring.kafka.consumer.properties.max.poll.recordsMax records fetched per poll10
spring.kafka.consumer.properties.max.poll.interval.msMax time between polls before the broker considers the consumer dead100000

Budget max.poll.interval.ms for the total time needed to process a poll's records. For a message with several archive configurations, include every remote fetch and artifact write, plus schema validation, encryption and listener execution. max.poll.records × jeap.processarchive.http.timeout alone is not a sufficient bound: it assumes only one fetch per record, omits other processing, and the read timeout is not a total request deadline. Include connection and authentication delays and use the effective client timeout settings when choosing the polling interval.

Backfill​

See Backfill jobs for the full list (jeap.processarchive.backfill.*).

Avro class whitelist​

The PAS uses the whitelist installed by jEAP Messaging. For defaults, trusted packages/classes and startup initialization, see the Avro class whitelist.

Include the generated archive types as well as the message types when configuring trusted packages. The same requirement applies when reading archived data. The PAS does not install a second whitelist.

Metrics​

See Metrics; set jeap.monitor.prometheus.password to access the endpoint.