Han Yin created FLINK-36622: ------------------------------- Summary: Remove the dependency of StateBenchmark on RocksDBKeyedStateBackend APIs. Key: FLINK-36622 URL: https://issues.apache.org/jira/browse/FLINK-36622 Project: Flink Issue Type: Improvement Components: Runtime / State Backends Affects Versions: 2.0-preview Reporter: Han Yin Fix For: 2.0.0
Currently, flink-benchmarks relies on non-public APIs in Flink. For example, in {_}+StateBackendBenchmarkUtils.java+{_}, the function _+compactState+_ takes RocksDBKeyedStateBackend as its first argument. This requires explicit type conversion in flink-benchmark(from +_KeyedStateBackend_+ to {+}_RocksDBKeyedStateBackend_{+}). Moreover, this means that once the signature of +_RocksDBKeyedStateBackend_+ changes, we need to modify flink-benchmark correspondingly. Therefore, we should avoid exposing non-public APIs in {_}+StateBackendBenchmarkUtils+{_}. -- This message was sent by Atlassian Jira (v8.20.10#820010)