The memory channel does not seem to respect the capacity
--------------------------------------------------------

                 Key: FLUME-1003
                 URL: https://issues.apache.org/jira/browse/FLUME-1003
             Project: Flume
          Issue Type: Bug
          Components: Channel
    Affects Versions: v1.1.0
         Environment: RHEL 6.2 64-bit
            Reporter: Will McQueen
             Fix For: v1.1.0


Use the following config (no sink configured)

a1.sources = r1
a1.channels = c1

a1.sources.r1.type = SEQ
a1.sources.r1.channels = c1
a1.channels.c1.type = MEMORY

If I run with this config, then the source and channel instance is created. If 
you add a print statement to ChannelProcessor.processEvent(), you'll see that 
the source is sending events to the channel. The source generates about 104 
events, and then generates an additional one about every second... which is 
interesting, since the mem channel's default capacity is only 100 and there's 
no sink.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to