| # |
| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| |
| # |
| # Cassandra SideCar configuration file |
| # |
| cassandra_instances: |
| host: localhost |
| port: 9042 |
| username: cassandra |
| password: cassandra |
| data_dirs: |
| - /ccm/test/node1/data0 |
| - /ccm/test/node1/data1 |
| staging_dir: /ccm/test/node1/sstable-staging |
| jmx_host: 127.0.0.1 |
| jmx_port: 7199 |
| jmx_role: controlRole |
| jmx_role_password: controlPassword |
| jmx_ssl_enabled: true |
| |
| sidecar: |
| host: 0.0.0.0 |
| port: 9043 |
| throttle: |
| stream_requests_per_sec: 5000 |
| delay_sec: 5 |
| timeout_sec: 10 |
| allowable_time_skew_in_minutes: 60 |
| jmx: |
| max_retries: 42 |
| retry_delay_millis: 1234 |
| |
| # |
| # 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 |
| |
| metrics: |
| registry_name: cassandra_sidecar_metrics |
| vertx: |
| enabled: true |
| expose_via_jmx: false |
| jmx_domain_name: sidecar.vertx.jmx_domain |
| include: |
| - type: "regex" |
| value: ".*" |
| exclude: |
| - type: "regex" |
| value: "vertx.eventbus.*" |
| - type: "equals" |
| value: "instances_up" |
| |
| healthcheck: |
| initial_delay_millis: 100 |
| 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-Z][a-zA-Z0-9_]{0,47}" |
| allowed_chars_for_quoted_name: "[a-zA-Z_0-9]{1,48}" |
| 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)" |