Flume Properties

Property NameDefaultDescription
flume.called.from.serviceIf this property is specified then the Flume agent will continuepolling for the config file even if the config file is not foundat the expected location. Otherwise, the Flume agent will terminateif the config doesn’t exist at the expected location. No propertyvalue is needed when setting this property (eg, just specifying-Dflume.called.from.service is enough)

Property: flume.called.from.service

Flume periodically polls, every 30 seconds, for changes to the specifiedconfig file. A Flume agent loads a new configuration from the config file ifeither an existing file is polled for the first time, or if an existingfile’s modification date has changed since the last time it was polled.Renaming or moving a file does not change its modification time. When aFlume agent polls a non-existent file then one of two things happens: 1.When the agent polls a non-existent config file for the first time, then theagent behaves according to the flume.called.from.service property. If theproperty is set, then the agent will continue polling (always at the sameperiod – every 30 seconds). If the property is not set, then the agentimmediately terminates. …OR… 2. When the agent polls a non-existentconfig file and this is not the first time the file is polled, then theagent makes no config changes for this polling period. The agent continuespolling rather than terminating.