This service can be used to:
Note: As for Known Limitations - FoundationDB, keys cannot exceed 10,000 bytes in size, and values cannot exceed 100,000 bytes in size. Errors will be raised by OpenDAL if these limits are exceeded.
root: Set the work directory for this backend.config_path: Set the configuration path for foundationdb. If not provided, the default configuration path will be used.You can refer to [FoundationdbBuilder]'s docs for more information
use opendal_core::Operator; use opendal_core::Result; use opendal_service_foundationdb::Foundationdb; #[tokio::main] async fn main() -> Result<()> { let mut builder = Foundationdb::default() .config_path("/etc/foundationdb/foundationdb.conf"); let op: Operator = Operator::new(builder)?.finish(); Ok(()) }