Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2297

Custom Source Example in Developer Guide Uses Unnecessary Transaction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4.0
    • None
    • Docs
    • None
    • Any Web browser

    Description

      The custom source in the Flume Developer's guide shows the use of a transaction in the process() method:

      http://flume.apache.org/FlumeDeveloperGuide.html#source

      I think this is unnecessarily complex and makes a poor example. Since ChannelProcessor.processEvent also wraps everything in a transaction, the transaction inside the source itself is redundant. This issue requests the example be simplified to only what's really needed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            twheeler Tom Wheeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: