Skip to main content

Flume source connector

The Flume source connector pulls messages from logs to Pulsar topics.


The configuration of the Flume source connector has the following properties.


nameStringtrue"" (empty string)The name of the agent.
confFileStringtrue"" (empty string)The configuration file.
noReloadConfBooleanfalsefalseWhether to reload configuration file if changed.
zkConnStringStringtrue"" (empty string)The ZooKeeper connection.
zkBasePathStringtrue"" (empty string)The base path in ZooKeeper for agent configuration.


Before using the Flume source connector, you need to create a configuration file through one of the following methods.

For more information about the source.conf in the example below, see here.

  • JSON

    "configs": {
    "name": "a1",
    "confFile": "source.conf",
    "noReloadConf": "false",
    "zkConnString": "",
    "zkBasePath": ""

  • YAML

    name: a1
    confFile: source.conf
    noReloadConf: false
    zkConnString: ""
    zkBasePath: ""