摘要:
自定义sink类,并将相关工程打包放在flume的lib目录下 public class MySink extends AbstractSink implements Configurable { private static final Logger logger = LoggerFactory. 阅读全文
摘要:
自定义source类,并将相关工程打包放在flume的lib目录下 public class MySource extends AbstractSource implements Configurable, PollableSource { //全局变量,仅做演示,无实际意义 private Str 阅读全文