feat: add Cassandra image#460
Open
barsdeveloper wants to merge 1 commit intotestcontainers:mainfrom
Open
Conversation
Author
|
In the test and docs example, I use scylla crate it seems to be the best and most maintained crate to use Cassandra in Rust. There are other crates but they appear to be unmaintained. |
|
👋 @DDtKey @barsdeveloper were there any blockers to merge this one? I'm looking to build a rust app with a similar setup and this would really help me test. |
Contributor
|
No, I just didn't have a bandwidth to take a look Will do soon! |
Author
|
Hi, You can very easily do it without this specific image. Look how I initialize my test here: let mut image = GenericImage::new("cassandra", "5.0.6")
.with_startup_timeout(Duration::from_secs(120))
.with_log_consumer(TestcontainersLogConsumer)
.with_mapped_port(9042, ContainerPort::Tcp(9042))
.with_ready_conditions(vec![WaitFor::message_on_either_std("Startup complete")]);SSL on Cassandra I didn't manage to make it work, please ignore all the encryption specific settings. |
DDtKey
approved these changes
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.