Created
June 21, 2015 15:19
-
-
Save smoriarty21/ac9feeb901b80859c9c1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Name agent componnents | |
source.sources = r1 | |
source.sinks = avro-f-sink | |
source.channels = c1 | |
# Source information | |
source.sources.r1.type = exec | |
source.sources.r1.command = tail -F /log/apache/access_log | |
source.sources.r1.channels = c1 | |
# Bind sink to channel | |
source.sinks.avro-f-sink.channel = c1 | |
# Channel information | |
source.channels.c1.type = memory | |
source.channels.c1.capacity = 1000 | |
# Sink information | |
source.sinks.avro-f-sink.type = avro | |
source.sinks.avro-f-sink.hostname = xxx.xxx.xxx.xxx #IP Address of hadoop cluster | |
source.sinks.avro-f-sink.port = xx #Port custer is listening on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment