mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-19 16:27:29 +03:00
6aeb0eafe6
* cassandra: init service * cassandra: add cassandra/conf files * cassandra_test: change package to cassandra_4 * update readiness_probe * update cassandra_test * cassandra: add doc * cassandra_4 doesn't require python-2 --------- Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
32 lines
715 B
Markdown
32 lines
715 B
Markdown
# Cassandra
|
|
|
|
[Cassandra] is a free and open-source, distributed, wide-column store, NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.
|
|
|
|
[Cassandra]: https://cassandra.apache.org/_/index.html
|
|
|
|
## Getting Started
|
|
|
|
```nix
|
|
# In `perSystem.process-compose.<name>`
|
|
{
|
|
services.cassandra."cass1".enable = true;
|
|
}
|
|
```
|
|
|
|
{#tips}
|
|
## Tips & Tricks
|
|
|
|
{#change-port}
|
|
### Change the default port
|
|
|
|
By default, the Cassandra server is started on port `9042`. To change the port, we can use the following config:
|
|
|
|
```nix
|
|
{
|
|
services.cassandra."cass1" = {
|
|
enable = true;
|
|
nativeTransportPort = 9043;
|
|
};
|
|
}
|
|
```
|