Platform Explorer / Nuxeo Platform 2021.49

Component org.nuxeo.ecm.core.storage.s3.bulk.config

Requirements

Resolution Order

842
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.storage.s3.bulk.config" version="1.0.0">

  <require>org.nuxeo.runtime.stream.service</require>
  <require>org.nuxeo.ecm.core.scroll.service</require>

  <extension point="scroll" target="org.nuxeo.ecm.core.scroll.service">
    <scroll type="generic" name="s3BlobScroll" class="org.nuxeo.ecm.blob.s3.S3BlobScroll" />
  </extension>

  <extension target="org.nuxeo.ecm.core.bulk" point="actions">
    <action name="s3SetBlobLength" inputStream="bulk/s3SetBlobLength" bucketSize="100" batchSize="25" httpEnabled="true"
      enabled="${binarymanager.bulk.s3SetBlobLength.enabled:=false}" />
  </extension>

  <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
    <streamProcessor name="s3SetBlobLength" class="org.nuxeo.ecm.core.bulk.S3SetBlobLengthAction"
      defaultConcurrency="${binarymanager.bulk.s3SetBlobLength.concurrency:=2}"
      defaultPartitions="${binarymanager.bulk.s3SetBlobLength.partitions:=4}"
      enabled="${binarymanager.bulk.s3SetBlobLength.enabled:=false}">
      <policy name="default" maxRetries="3" delay="500ms" maxDelay="10s" continueOnFailure="true" />
    </streamProcessor>

  </extension>

</component>