Examples of SinkFactoryImpl


Examples of com.cloudera.flume.conf.SinkFactoryImpl

  final MemorySinkSource mem = new MemorySinkSource();

  @Before
  public void replaceEscapedCustomDfsSink() {
    // Replace the null with a memory buffer that we have a reference to
    SinkFactoryImpl sf = new SinkFactoryImpl();
    sf.setSink("null", new SinkBuilder() {
      @Override
      public EventSink build(Context context, String... argv) {
        LOG.info("excapedCustomDfs replaced with MemorySinkSource");
        mem.reset();
        return mem;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.