| # 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. |
| |
| # Configs for heron-tracker |
| |
| ## Contains the sources where the states are stored. |
| # Each source has these attributes: |
| # 1. type - type of state manager (zookeeper or file, etc.) |
| # 2. name - name to be used for this source |
| # 3. hostport - only used to connect to zk, must be of the form 'host:port' |
| # 4. rootpath - where all the states are stored |
| # 5. tunnelhost - if ssh tunneling needs to be established to connect to it |
| statemgrs: |
| - |
| type: "file" |
| name: "local" |
| rootpath: "~/.herondata/repository/state/local" |
| tunnelhost: "127.0.0.1" |
| # |
| # To use 'localzk', launch a zookeeper server locally |
| # and create the following path: |
| # *. /heron/topologies |
| # |
| # - |
| # type: "zookeeper" |
| # name: "localzk" |
| # hostport: "127.0.0.1:2181" |
| # rootpath: "/heron" |
| # tunnelhost: "127.0.0.1" |
| |
| # |
| # To specify multiple Zookeeper Nodes for fallback |
| # - |
| # type: "zookeeper" |
| # name: "zk" |
| # hostport: "remote-zk-1:2181,remote-zk-2:2181,remote-zk-3:2181" |
| # rootpath: "/heron" |
| # tunnelhost: "remote-tunnel" |
| |
| # The URL that points to a topology's metrics dashboard. |
| # This value can use following parameters to create a valid |
| # URL based on the topology. All parameters are self-explanatory. |
| # These are found in the execution state of the topology. |
| # |
| # ${CLUSTER} |
| # ${ENVIRON} |
| # ${TOPOLOGY} |
| # ${ROLE} |
| # ${USER} |
| # |
| # This is a sample, and should be changed to point to corresponding dashboard. |
| # |
| # extra.links: |
| # - name: "Viz" |
| # formatter: "http://127.0.0.1/viz/${ENVIRON}-${CLUSTER}-${TOPOLOGY}" |
| # - name: "Alerts" |
| # formatter: "http://127.0.0.1/alerts/${ENVIRON}-${CLUSTER}-${TOPOLOGY}" |