| # 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. |
| |
| [node] |
| addr = "127.0.0.1" |
| |
| [logger] |
| level = "info" |
| |
| [server] |
| bind_addr = "0.0.0.0" |
| http_port = 5440 |
| grpc_port = 8831 |
| mysql_port = 3307 |
| deploy_mode = "Cluster" |
| |
| [analytic.storage] |
| mem_cache_capacity = '1G' |
| mem_cache_partition_bits = 0 |
| |
| [analytic.storage.object_store] |
| type = "Local" |
| data_dir = "/tmp/horaedb0" |
| |
| [analytic.wal] |
| type = "Local" |
| data_dir = "/tmp/horaedb0" |
| |
| [cluster_deployment] |
| mode = "WithMeta" |
| cmd_channel_buffer_size = 10 |
| |
| [cluster_deployment.meta_client] |
| # Only support "defaultCluster" currently. |
| cluster_name = "defaultCluster" |
| meta_addr = "http://127.0.0.1:2379" |
| lease = "10s" |
| timeout = "5s" |
| |
| [cluster_deployment.etcd_client] |
| server_addrs = ['127.0.0.1:2379'] |
| |
| [limiter] |
| write_block_list = ['mytable1'] |
| read_block_list = ['mytable1'] |