Class BatchIndexingBatchConfig

java.lang.Object
org.alfresco.elasticsearch.batchindexing.config.BatchIndexingBatchConfig

@Configuration @Import(org.alfresco.reindexing.config.SharedBatchProcessingConfig.class) public class BatchIndexingBatchConfig extends Object
Bean wiring for the batch-indexing processing pipeline. Imports SharedBatchProcessingConfig for processors, listeners, executor and the metadata/path writers; this class only contributes the direct-HTTP content writer and the composite writer that selects them.

No JMS dependency: content transformation always uses the direct HTTP path against ACS.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    contentTransformDirectWriter(org.alfresco.reindexing.domain.transform.ContentTransformSupportService contentTransformSupportService, ContentTransformClient contentTransformClient, org.alfresco.indexing.shared.opensearch.ElasticsearchContentModifyPort contentModifyPort, String storeRef, int writeConcurrency)
     
    org.springframework.batch.infrastructure.item.ItemWriter<org.alfresco.reindexing.model.ReindexingEvent>
    writer(org.alfresco.reindexing.config.ElasticsearchReindexProperties elasticsearchReindexProperties, org.alfresco.reindexing.writers.ElasticsearchRepoEventItemWriter elasticsearchRepoEventItemWriter, ContentTransformDirectWriter contentTransformDirectWriter, org.alfresco.reindexing.writers.ElasticsearchPathWriter elasticsearchPathWriter)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BatchIndexingBatchConfig

      public BatchIndexingBatchConfig()
  • Method Details

    • contentTransformDirectWriter

      @Bean public ContentTransformDirectWriter contentTransformDirectWriter(org.alfresco.reindexing.domain.transform.ContentTransformSupportService contentTransformSupportService, ContentTransformClient contentTransformClient, org.alfresco.indexing.shared.opensearch.ElasticsearchContentModifyPort contentModifyPort, @Value("${alfresco.storeRef:workspace://SpacesStore/}") String storeRef, @Value("${alfresco.content.transform.writeConcurrency:1}") int writeConcurrency)
    • writer

      @Bean public org.springframework.batch.infrastructure.item.ItemWriter<org.alfresco.reindexing.model.ReindexingEvent> writer(org.alfresco.reindexing.config.ElasticsearchReindexProperties elasticsearchReindexProperties, org.alfresco.reindexing.writers.ElasticsearchRepoEventItemWriter elasticsearchRepoEventItemWriter, ContentTransformDirectWriter contentTransformDirectWriter, org.alfresco.reindexing.writers.ElasticsearchPathWriter elasticsearchPathWriter)