cdc-apache-cassandra
cdc-apache-cassandra copied to clipboard
Feature/cassandra 5 agent support
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [x] I have read the CONTRIBUTING document.
- [x] My code follows the code style of this project.
- [x] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.
Description
Add CDC agent for Cassandra 5.0 support
Adds a complete CDC agent implementation for Apache Cassandra 5.0. Currently cdc agent does not work on Cassandra 4.1+ or Cassandra 5.0+ due to issues mentioned in #180. This includes a new agent-c5 module with Cassandra 5.0-specific CDC handling, addressing API changes and compatibility issues between Cassandra 4.0 and 5.0.
Consideration
Cassandra 4.1 and 5.0 introduced breaking changes in internal APIs that the CDC agent relies on. This creates a dedicated agent implementation that handles the new APIs while maintaining the same CDC functionality.
Changes
-
New
agent-c5module with complete CDC implementation for Cassandra 5.0 - Updated CommitLogReadHandler to work with Cassandra 5.0 internal APIs
- Java 11, 17 compatibility with required JVM exports/opens for Cassandra 5.0
- Docker configuration for Cassandra 5.0 CDC containers
- Test suite with integration tests for single and dual node setups
- Updated build configuration to support Cassandra 5.0.4
Checklist:
- [x] My code follows the style guidelines of this project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.
- [x] My changes generate no new warnings.
- [x] Any dependent changes have been merged and published in downstream modules.