Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- at.sources = Twitter
- at.channels = MemChannel
- at.sinks = HDFS
- at.sources.Twitter.type = org.apache.flume.source.twitter.TwitterSource
- at.sources.Twitter.consumerKey = ddDQQzMG9zVwP7vWmHZvevdRE
- at.sources.Twitter.consumerSecret = nGZHRdxrXHpHPFgvwc5njlGcHu7RlrXjLKk95tzPaMzlvFgJF8
- at.sources.Twitter.accessToken = 152072444-5PSdlAFvpulCfDijQgz2kh1XYOlaR0FtKeKtMLAr
- at.sources.Twitter.accessTokenSecret = ojNN77b6mLf8RcbxZqO2dnfS6dnhqiLPG3Z0hh24XCzAj
- at.sources.Twitter.keywords = Claro, Guatemala
- at.sources.Twitter.maxBatchSize = 50000
- at.sources.Twitter.maxBatchDurationMillis = 100000
- at.sinks.HDFS.type = hdfs
- at.sinks.HDFS.hdfs.path = hdfs://localhost:8020/tmp/flume/twitter_data
- at.sinks.HDFS.hdfs.fileType = DataStream
- at.sinks.HDFS.hdfs.batchSize = 200000
- at.sinks.HDFS.hdfs.rollSize = 0
- at.sinks.HDFS.hdfs.rollCount = 2000000
- at.channels.MemChannel.type = memory
- at.channels.MemChannel.capacity = 10000
- at.channels.MemChannel.transactionCapacity = 100
- at.sources.Twitter.channels = MemChannel
- at.sinks.HDFS.channel = MemChannel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement