Class VersionSpecificAvroGenericDaVinciClient<K,V>

java.lang.Object
com.linkedin.davinci.client.AvroGenericDaVinciClient<K,V>
com.linkedin.davinci.client.AvroGenericSeekableDaVinciClient<K,V>
com.linkedin.davinci.client.VersionSpecificAvroGenericDaVinciClient<K,V>
All Implemented Interfaces:
DaVinciClient<K,V>, SeekableDaVinciClient<K,V>, AvroGenericReadComputeStoreClient<K,V>, AvroGenericStoreClient<K,V>, Closeable, AutoCloseable

public class VersionSpecificAvroGenericDaVinciClient<K,V> extends AvroGenericSeekableDaVinciClient<K,V>
Version-specific DaVinci client implementation that subscribes to a specific store version. Key features: - Subscribes to a specific version (does not follow version swaps) - Validates version existence when subscribing - Cannot be mixed with regular DaVinci clients on the same store with the same DaVinciBackend or JVM. Please note that when the client is subscribed to the backup version, on restart DaVinciBackend.functionToCheckWhetherStorageEngineShouldBeKeptOrNot(Optional) will automatically delete the backup version data on disk and it will have to reingest. We are ok with this behavior because the plan is to use DaVinciRecordTransformer in diskless mode where the user will need to prevent the PubSub position to seek to instead of relying on the OffsetRecord.