public interface RetrievalFactory
| Modifier and Type | Method and Description |
|---|---|
default RecordsPublisher |
createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
This method is deprecated and will be removed in future versions.
Please use
createGetRecordsCache(ShardInfo, StreamConfig, MetricsFactory). |
default RecordsPublisher |
createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory)
Creates a
RecordsPublisher instance to retrieve records for the specified shard. |
default GetRecordsRetrievalStrategy |
createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
This method was only used by specific implementations of
RetrievalFactory and should not be
required to be implemented; will be removed in future versions. |
@Deprecated default GetRecordsRetrievalStrategy createGetRecordsRetrievalStrategy(ShardInfo shardInfo, MetricsFactory metricsFactory)
RetrievalFactory and should not be
required to be implemented; will be removed in future versions.@Deprecated default RecordsPublisher createGetRecordsCache(ShardInfo shardInfo, MetricsFactory metricsFactory)
createGetRecordsCache(ShardInfo, StreamConfig, MetricsFactory).default RecordsPublisher createGetRecordsCache(ShardInfo shardInfo, StreamConfig streamConfig, MetricsFactory metricsFactory)
RecordsPublisher instance to retrieve records for the specified shard.shardInfo - The ShardInfo representing the shard for which records are to be retrieved.streamConfig - The StreamConfig containing details for the stream.metricsFactory - The MetricsFactory for recording metrics.RecordsPublisher instance for retrieving records from the shard.Copyright © 2025. All rights reserved.