Package org.apache.flume.channel.jdbc.impl

Examples of org.apache.flume.channel.jdbc.impl.JdbcChannelProviderImpl


    }
  }

  @Test
  public void testDerbySetup() {
    provider = new JdbcChannelProviderImpl();

    provider.initialize(derbyCtx);

    Transaction tx1 = provider.getTransaction();
    tx1.begin();
View Full Code Here


   * Creates 120 events split over 10 channels, stores them via multiple
   * simulated sources and consumes them via multiple simulated channels.
   */
  @Test
  public void testEventWithSimulatedSourceAndSinks() throws Exception {
    provider = new JdbcChannelProviderImpl();
    provider.initialize(derbyCtx);

    Map<String, List<MockEvent>> eventMap =
        new HashMap<String, List<MockEvent>>();

View Full Code Here

  /**
   * creates 80 events split over 5 channels, stores them
   */
  @Test
  public void testPeristingEvents() {
    provider = new JdbcChannelProviderImpl();
    provider.initialize(derbyCtx);

    Map<String, List<MockEvent>> eventMap =
        new HashMap<String, List<MockEvent>>();

View Full Code Here

TOP

Related Classes of org.apache.flume.channel.jdbc.impl.JdbcChannelProviderImpl

Copyright © 2018 www.massapicom. 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.