public void asyncWrite(RowData key, RowData value) throws IOException {
    byte[] keyBytes = serializeKey(key);
    asyncWrite(key.getRowKind(), keyBytes, value);
  }
Writes a key-value pair to the sst file.

@param key The key of the pair.
@param value The value of the pair.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/lookup/RocksDBRecordState.java