Class RouterBasedStoreMetadataFetcher

java.lang.Object
com.linkedin.venice.client.store.RouterBasedStoreMetadataFetcher
All Implemented Interfaces:
StoreMetadataFetcher, Closeable, AutoCloseable

public class RouterBasedStoreMetadataFetcher extends Object implements StoreMetadataFetcher
Router-based implementation for fetching store metadata that is not cluster-specific. Unlike RouterBasedStoreSchemaFetcher, this class is not tied to a specific store and operates on metadata available globally across clusters. This class uses a TransportClient directly (rather than AbstractAvroStoreClient) because AbstractAvroStoreClient is store-scoped, whereas /stores is a cluster-agnostic router endpoint. The underlying transport may be D2-, HTTPS-, or HTTP-backed depending on how the caller configured the ClientConfig passed to ClientFactory.createStoreMetadataFetcher(ClientConfig).