| # |
| # Cassandra SideCar configuration file |
| # |
| cassandra_instances: |
| - id: 1 |
| host: localhost1 |
| port: 9042 |
| data_dirs: /cassandra/d1/data, /cassandra/d2/data |
| jmx_host: 127.0.0.1 |
| jmx_port: 7100 |
| jmx_ssl_enabled: false |
| # jmx_role: |
| # jmx_role_password: |
| - id: 2 |
| host: localhost2 |
| port: 9042 |
| data_dirs: /cassandra/d3/data, /cassandra/d4/data |
| jmx_host: 127.0.0.1 |
| jmx_port: 7200 |
| jmx_ssl_enabled: false |
| # jmx_role: |
| # jmx_role_password: |
| |
| sidecar: |
| - host: 0.0.0.0 |
| - port: 9043 |
| - throttle: |
| - stream_requests_per_sec: 5000 |
| - delay_sec: 5 |
| - timeout_sec: 10 |
| # |
| # Enable SSL configuration (Disabled by default) |
| # |
| # - ssl: |
| # - enabled: true |
| # - keystore: |
| # - path: "path/to/keystore.p12" |
| # - password: password |
| # - truststore: |
| # - path: "path/to/truststore.p12" |
| # - password: password |
| |
| |
| healthcheck: |
| - poll_freq_millis: 30000 |
| |
| cassandra_input_validation: |
| - forbidden_keyspaces: |
| - system_schema |
| - system_traces |
| - system_distributed |
| - system |
| - system_auth |
| - system_views |
| - system_virtual_schema |
| - allowed_chars_for_directory: "[a-zA-Z0-9_-]+" |
| - allowed_chars_for_component_name: "[a-zA-Z0-9_-]+(.db|.cql|.json|.crc32|TOC.txt)" |
| - allowed_chars_for_restricted_component_name: "[a-zA-Z0-9_-]+(.db|TOC.txt)" |