| # |
| # 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. |
| # |
| |
| # Agent config values can overwrite the values in the Constants class. |
| |
| ######################## |
| # bdb config |
| ######################## |
| # bdb data readonly |
| agent.localStore.readonly=false |
| # whether enable http service |
| agent.http.enable=true |
| # http default port |
| agent.http.port=8008 |
| |
| ###################### |
| # fetch center |
| ###################### |
| # fetch interval(s) |
| agent.fetchCenter.interval=5 |
| agent.fetcher.classname=org.apache.inlong.agent.plugin.fetcher.ManagerFetcher |
| |
| ####################### |
| # common config |
| ####################### |
| # max wait time(s) for thread pool to terminate running |
| thread.pool.await.time=30 |
| agent.local.ip=127.0.0.1 |
| agent.local.uuid= |
| agent.local.uuid.open=false |
| agent.node.group=default_group |
| agent.enable.oom.exit=false |
| agent.custom.fixed.ip= |
| # max capacity of memory channel |
| channel.memory.capacity=5000 |
| |
| ########################### |
| # job/job manager config |
| ########################### |
| # job metric monitor interval(s) |
| job.monitor.interval=5 |
| # check interval(s) whether job is finished |
| job.finish.checkInterval=6 |
| # the amount of jobs agent can support |
| job.number.limit=15 |
| |
| ############################ |
| # task/task manager config |
| ############################ |
| # max number of retrying tasks |
| task.retry.maxCapacity=10000 |
| # task metric monitor interval(s) |
| task.monitor.interval=6 |
| # max retry time for single task |
| task.maxRetry.time=3 |
| # max time(s) of pushing data to channel |
| task.push.maxSecond=2 |
| # max time(s) of pulling data from channel |
| task.pull.maxSecond=2 |
| |
| ############################ |
| # manager config |
| ############################ |
| agent.manager.vip.http.host=127.0.0.1 |
| agent.manager.vip.http.port=8083 |
| agent.manager.auth.secretId= |
| agent.manager.auth.secretKey= |
| |
| ############################ |
| # cluster config for automatically report and register |
| ############################ |
| agent.cluster.tag=default_cluster |
| agent.cluster.name=default_agent |
| agent.cluster.inCharges=admin |
| |
| ############################ |
| # metric config |
| # Currently JMX and Prometheus modes are supported. The listener of Prometheus is |
| # org.apache.inlong.agent.metrics.AgentPrometheusMetricListener |
| ############################ |
| metricDomains=Agent |
| metricDomains.Agent.domainListeners=org.apache.inlong.agent.metrics.AgentPrometheusMetricListener |
| metricDomains.Agent.snapshotInterval=60000 |
| # If using prometheus, exporter server default port |
| agent.prometheus.exporter.port=9080 |
| |
| ############################ |
| # audit config |
| ############################ |
| # whether to enable audit |
| audit.enable=false |
| # audit proxy address |
| audit.proxys=127.0.0.1:10081 |