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

Custom Source Example in Developer Guide Uses Unnecessary Transaction

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: Docs
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated: