flume(1)
根据flume的架构可以我们可以看出构造很简单source-->channel-->sink 从一个agent练手定义conf文件 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 channe...