[
https://issues.apache.org/jira/browse/FLUME-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143311#comment-13143311
]
[email protected] commented on FLUME-814:
-----------------------------------------------------
bq. On 2011-11-03 15:58:19, Eric Sammer wrote:
bq. > This is probably a nicer approach than what we originally discussed;
having the source take a list of channels. My concern is the implementation of
take(). To take another step back, it actually doesn't make sense to take from
a fan out channel at all. If we follow this path toward fan out functionality,
should we instead throw UnsupportedOperationException from take() and disallow
the (otherwise odd) behavior of discarding messages from the fan out?
bq. >
bq. > I can't think of any, but does this affect the failure scenarios in any
way? We know we're not atomic across channels but are there any other concerns
here?
bq. >
bq. > I have some naming / implementation nits, but otherwise I think this
makes sense provided I can convince myself we're not doing anything bad here.
I agree about the take. The only reason I implemented it that way is for tests.
In fact my original approach was to add a fanout channel by default to every
sink. Most of the existing tests would have run into problems if it doesn't
have put(). With the current approach, we can safely disable talk(). I will go
ahead and make that change.
Please let me know your other comments, I would like to address those as well.
thanks
Prasad
- Prasad
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2701/#review3026
-----------------------------------------------------------
On 2011-11-03 05:13:00, Prasad Mujumdar wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/2701/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2011-11-03 05:13:00)
bq.
bq.
bq. Review request for Arvind Prabhakar and Eric Sammer.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. A new fanout channel is added that contains list of underlying channels
and performs the given operation on all those. A new method added to
channelfactory to create the fanout channel from a list of channels. One can
specify a comma separated list of channels for a sink to create the fanout
bq.
bq.
bq. This addresses bug Flume-814.
bq. https://issues.apache.org/jira/browse/Flume-814
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. flume-ng-core/src/main/java/org/apache/flume/ChannelFactory.java 23194a9
bq.
flume-ng-core/src/main/java/org/apache/flume/channel/DefaultChannelFactory.java
a41085f
bq. flume-ng-core/src/main/java/org/apache/flume/channel/FanoutChannel.java
PRE-CREATION
bq.
flume-ng-core/src/test/java/org/apache/flume/channel/TestFanoutChannel.java
PRE-CREATION
bq.
flume-ng-node/src/main/java/org/apache/flume/conf/properties/PropertiesFileConfigurationProvider.java
975eafd
bq. flume-ng-node/src/main/java/org/apache/flume/node/Application.java
4004cba
bq.
bq. Diff: https://reviews.apache.org/r/2701/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq. ran all unit tests, added new test for the fanout channel
bq.
bq.
bq. Thanks,
bq.
bq. Prasad
bq.
bq.
> Add support for multiple channels to sources
> --------------------------------------------
>
> Key: FLUME-814
> URL: https://issues.apache.org/jira/browse/FLUME-814
> Project: Flume
> Issue Type: New Feature
> Components: Sinks+Sources
> Affects Versions: NG alpha 1
> Reporter: E. Sammer
> Assignee: Prasad Mujumdar
> Fix For: NG alpha 2
>
>
> Flume NG's architecture and configuration claim sources support multiple
> channels but this isn't currently true. The current implementation limits
> sources to a single channel which precludes fanout behavior.
> This will be a fairly invasive change as it impacts the Source interface.
--
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