Skip to main content
Version: 1.7.0

Configuration

Overview

Uses can set customized configuration in agent.properties.

Common Configuration

ParameterDescriptionDefault ValueNotes
thread.pool.await.timemax wait time(s) for thread pool to terminate running30
agent.local.iplocal ip of Agent127.0.0.1
agent.enable.oom.exitwhether allow Agent to automatically exit when OutOfMemory happensfalse
agent.custom.fixed.ipcustom fixed ip for AgentblankIf agent.local.ip and agent.custom.fixed.ip are both set, the latter is used first.
agent.fetchCenter.intervalinterval time(s) of fetching Agent tasks from InLong-Manager30
agent.fetcher.classnamecustomized class for fetching Agent tasks from InLong-Managerorg.apache.inlong.agent.plugin.fetcher.ManagerFetcherThis parameter is used for supporting the development of fetcher plug-in.
channel.memory.capacitymax capacity of memory channel5000

Local Database Cache Configuration

ParameterDescriptionDefault ValueNotes
agent.localStore.readonlywhether local-store-data is readonlyfalse
agent.http.enablewhether enable HTTP servicetrueStart a HTTP server and getting job/agent config via http.
agent.http.porthttp port of HTTP service8008

Job and JobManager Configuration

ParameterDescriptionDefaultNotes
job.monitor.intervaljob metric monitor interval(s)5
job.finish.checkIntervalcheck interval(s) whether job is finished6
job.number.limitthe amount of jobs that Agent can support15

Task and TaskManager Configuration

ParameterDescriptionDefaultNotes
task.retry.maxCapacitymax number of retrying tasks10000
task.monitor.intervaltask metric monitor interval(s)6
task.maxRetry.timemax retry time for single task3
task.push.maxSecondmax time(s) of pushing data to channel2
task.pull.maxSecondmax time(s) of pulling data from channel2

InLong-Manager Configuration

ParameterDescriptionDefaultNotes
agent.manager.vip.http.hostInLong-Manager virtual http host127.0.0.1
agent.manager.vip.http.portInLong-Manager virtual http port8083
agent.manager.auth.secretIdInLong-Manager authentic secretIdblankIf InLong-Manager doesn't open authentic service, this parameter can be empty.
agent.manager.auth.secretKeyInLong-Manager authentic secretKeyblank

Metric Service Configuration

ParameterDescriptionDefaultNotes
metricDomains.Agent.domainListenersclass name of metriclistenerorg.apache.inlong.agent.metrics.AgentPrometheusMetricListenerSupport multiple methods of reporting metrics, and different class name is separated by spaces.
metricDomains.Agent.snapshotIntervalinterval(ms) of reporting metrics60000
agent.prometheus.exporter.portexporter server default port if using prometheus

Audit Service Configuration

ParameterDescriptionDefaultNotes
audit.enablewhether enable InLong-Audit servicetrue
audit.proxysaudit proxy address127.0.0.1:10081