Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.elasticsearch.core.bulk.contrib--streamProcessor

This contribution is part of XML component org.nuxeo.elasticsearch.core.bulk.contrib inside nuxeo-elasticsearch-core-10.10-HF32.jar /OSGI-INF/bulk-contrib.xml

Extension Point

Extension point streamProcessor of component service.

Registration Order

6
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <streamProcessor class="org.nuxeo.elasticsearch.bulk.IndexAction" defaultConcurrency="2" defaultPartitions="4" enabled="true" logConfig="bulk" name="reindex">
          <policy continueOnFailure="false" delay="1s" maxDelay="60s" maxRetries="20" name="default"/>
          <!-- concurrency to build indexing requests -->
          <computation concurrency="2" name="index"/>
          <!-- concurrency to execute indexing requests -->
          <computation concurrency="2" name="bulkIndex"/>
          <computation concurrency="1" name="indexCompletion"/>
          <!-- optimal size of the elasticsearch bulk request -->
          <option name="esBulkSizeBytes">5242880</option>
          <!-- max number of actions in the elasticsearch bulk request -->
          <option name="esBulkActions">1000</option>
          <!-- flush elasticsearch bulk request interval -->
          <option name="flushIntervalSeconds">5</option>
        </streamProcessor>

XML Source

<extension point="streamProcessor" target="org.nuxeo.runtime.stream.service">
    <streamProcessor class="org.nuxeo.elasticsearch.bulk.IndexAction" defaultConcurrency="2" defaultPartitions="4" enabled="true" logConfig="bulk" name="reindex">
      <policy continueOnFailure="false" delay="1s" maxDelay="60s" maxRetries="20" name="default"/>
      <!-- concurrency to build indexing requests -->
      <computation concurrency="2" name="index"/>
      <!-- concurrency to execute indexing requests -->
      <computation concurrency="2" name="bulkIndex"/>
      <computation concurrency="1" name="indexCompletion"/>
      <!-- optimal size of the elasticsearch bulk request -->
      <option name="esBulkSizeBytes">5242880</option>
      <!-- max number of actions in the elasticsearch bulk request -->
      <option name="esBulkActions">1000</option>
      <!-- flush elasticsearch bulk request interval -->
      <option name="flushIntervalSeconds">5</option>
    </streamProcessor>

  </extension>