The ScyllaDB team is pleased to announce scylla-cdc-rust v0.7.0, a library that makes it easy to develop Rust applications that consume data from a Scylla Change Data Capture Log.
Some interesting statistics:
- over 13.0k downloads on crates!
- over 37 GitHub stars!
Changes
New features / enhancements:
- Made checkpoint table creation in
TableBackedCheckpointSaveroptional, via a newTableBackedCheckpointSaverBuilder, so the library can be used with a database user that lacksCREATEpermission and a checkpoint table provisioned out of band. Existing constructors are unchanged and still create the table by default.
(#167)
Bug fixes:
- Fixed a task leak in
CDCReaderWorker: on drop, the CDC log fetcher task wasn’t cancelled because it wasn’t wired to the worker’s remote handle, so it kept running as an orphaned task after the worker was dropped. Replaced the manualFuturesUnordered+tokio::spawncombination with atokio::task::JoinSet, which cancels all of its child tasks on drop.
(#165)
Others:
Breaking: replaced chrono::Durationwithstd::time::Durationacross the public API, and dropped thechronodependency entirely.
(#150)- Bumped the
scylladriver dependency to 1.8.0, which adds nativeOrd/Hash/MIN/MAX/now()/Duration-arithmetic support onCqlTimestamp, letting us delete the internal timestamp wrapper and comparison helpers that used to bridge the gap.
(#169) - Dependency versions (
scylla,anyhow,tokio,async-trait, etc.) are now declared once in the workspace root instead of being repeated per-crate, and several lower bounds were raised to versions that actually build (e.g.tokio, since the crate relies onJoinSet, stabilized later than the previously stated minimum).
(#168) - Reformatted multi-item imports to one per line across the codebase for consistency.
(#164)
Congrats to all contributors and thanks everyone for using our library!
The source code of the library can be found here:
- https://github.com/scylladb/scylla-cdc-rust
Contributions are most welcome!
The official crates.io registry entry is here:
Thank you for your attention, please do not hesitate to contact us if you have any questions, issues, feature requests, or are simply interested in our library!
Contributors since the last release:
| commits | author |
|---|---|
| 6 | Dawid Pawlik |
| 1 | Wojciech Przytuła |
| 1 | Yassir Barchi |
| 1 | Stanisław Czech |