Class AbstractZeebeRecordFetcher<T>

java.lang.Object
io.camunda.optimize.service.importing.zeebe.fetcher.AbstractZeebeRecordFetcher<T>
Direct Known Subclasses:
AbstractZeebeRecordFetcherES, AbstractZeebeRecordFetcherOS

public abstract class AbstractZeebeRecordFetcher<T> extends Object
  • Field Details

    • partitionId

      protected final int partitionId
    • configurationService

      protected final ConfigurationService configurationService
  • Constructor Details

    • AbstractZeebeRecordFetcher

      protected AbstractZeebeRecordFetcher(int partitionId, ConfigurationService configurationService)
  • Method Details

    • getZeebeRecordsForPrefixAndPartitionFrom

      public List<T> getZeebeRecordsForPrefixAndPartitionFrom(PositionBasedImportPage positionBasedImportPage)
    • isZeebeInstanceIndexNotFoundException

      protected abstract boolean isZeebeInstanceIndexNotFoundException(Exception e)
    • fetchZeebeRecordsForPrefixAndPartitionFrom

      protected abstract List<T> fetchZeebeRecordsForPrefixAndPartitionFrom(PositionBasedImportPage positionBasedImportPage) throws Exception
      Throws:
      Exception
    • getBaseIndexName

      protected abstract String getBaseIndexName()
    • getRecordDtoClass

      protected abstract Class<T> getRecordDtoClass()
    • getSortField

      protected String getSortField(PositionBasedImportPage positionBasedImportPage)
    • getIndexAlias

      protected String getIndexAlias()
    • getZeebeImportConfig

      protected ZeebeImportConfiguration getZeebeImportConfig()
    • getPartitionId

      public int getPartitionId()
    • getConfigurationService

      public ConfigurationService getConfigurationService()
    • getDynamicBatchSize

      public int getDynamicBatchSize()
    • getConsecutiveSuccessfulFetches

      public int getConsecutiveSuccessfulFetches()
    • getConsecutiveEmptyPages

      public int getConsecutiveEmptyPages()
    • getBatchSizeDeque

      public Deque<Integer> getBatchSizeDeque()