文件名称:flume_sink_ext:flume收集日志到postgrepsql ,es扩展
文件大小:38.41MB
文件格式:ZIP
更新时间:2024-05-19 07:41:08
flume sink flume-mysql Java
mvn clean mvn install将代码打成jar包后,上传到flume安装目录下的lib文件夹中,同时需要上传SQL的驱动jar包 -------------测试假脱机目录源-------------------------- conf:dbsql_sink.conf Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 Describe/configure the source #a1.sources.r1.type = spooldir #a1.sources.r1.spoolDir = /home/rui/log/flumespool #a1.sources.r1.fileHeader = true a1.sources.r1.type = exec a1.sourc