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 -
Method Summary
Modifier and TypeMethodDescriptioncontentTransformDirectWriter(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)
-
Constructor Details
-
BatchIndexingBatchConfig
public BatchIndexingBatchConfig()
-
-
Method Details
-
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)