Created
February 23, 2017 00:23
-
-
Save milindjagre/3848eedebed8d337d9746eb46348b07e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example.conf: A single-node Flume configuration | |
# Name the components on this agent | |
a1.sources = r1 | |
a1.sinks = k1 | |
a1.channels = c1 | |
# Describe/configure the source | |
a1.sources.r1.type = netcat | |
a1.sources.r1.bind = localhost | |
a1.sources.r1.port = 44444 | |
# Describe the sink | |
a1.sinks.k1.type = logger | |
# Use a channel which buffers events in memory | |
a1.channels.c1.type = memory | |
a1.channels.c1.capacity = 1000 | |
a1.channels.c1.transactionCapacity = 100 | |
# Bind the source and sink to the channel | |
a1.sources.r1.channels = c1 | |
a1.sinks.k1.channel = c1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This file is used to start the flume agent, which is one of the objectives of the HDPCD certification