2017年5月16日
摘要: import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import org.apache.flume.Channel; import org.apache.flume.Context; import org.a... 阅读全文
posted @ 2017-05-16 22:56 简单明了 阅读(549) 评论(0) 推荐(0) 编辑
摘要: import java.nio.charset.Charset; import java.util.HashMap; import java.util.Random; import org.apache.flume.Context; import org.apache.flume.EventDeliveryException; import org.apache.flume.PollableS... 阅读全文
posted @ 2017-05-16 22:55 简单明了 阅读(303) 评论(0) 推荐(0) 编辑
摘要: a1.sources = r1 a1.sinks = k1 k2 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.... 阅读全文
posted @ 2017-05-16 22:53 简单明了 阅读(172) 评论(0) 推荐(0) 编辑
摘要: a1.sources = r1 a1.sinks = k1 k2 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.... 阅读全文
posted @ 2017-05-16 22:52 简单明了 阅读(166) 评论(0) 推荐(0) 编辑
摘要: a1.sources = r1 a1.sinks = k1 k2 a1.channels = c1 c2 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r1.port = 44444 # Describe the sink a1.sin... 阅读全文
posted @ 2017-05-16 22:50 简单明了 阅读(391) 评论(0) 推荐(0) 编辑
摘要: a1.sources = r1 a1.sinks = k1 k2 a1.channels = c1 c2 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r1.port = 44444 # Describe the sink a1.sin... 阅读全文
posted @ 2017-05-16 22:46 简单明了 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 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 a1.sources.r1.interceptors =i5 #a... 阅读全文
posted @ 2017-05-16 22:44 简单明了 阅读(1048) 评论(0) 推荐(0) 编辑
摘要: 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 a1.sources.r1.interceptors = i1 i... 阅读全文
posted @ 2017-05-16 22:43 简单明了 阅读(1205) 评论(0) 推荐(0) 编辑
摘要: 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 a1.sources.r1.interceptors = i1 i... 阅读全文
posted @ 2017-05-16 22:42 简单明了 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2017-05-16 22:40 简单明了 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 环境介绍: 主服务器ip:192.168.80.128 1、准备apache-flume-1.7.0-bin.tar文件 2、上传到master(192.168.80.128)服务器上 3、解压apache-flume-1.7.0-bin.tar 4、进入到Flume的配置文件目录 5、修改apac 阅读全文
posted @ 2017-05-16 22:36 简单明了 阅读(284) 评论(0) 推荐(0) 编辑