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

Ability to specify the capacity of MemoryChannel in bytes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: Channel
    • Labels:

      Description

      Users should be able to specify the capacity of memory channel in bytes. Currently users are able to specify the capacity in terms of max number of events. This causes issues when the size of the events can vary significantly (a couple of KB to MB) and could easily result in the Flume agent running into OOM.

        Attachments

        1. FLUME-1535-0.patch
          11 kB
          Theodore michael Malaska
        2. FLUME-1535-1.patch
          12 kB
          Theodore michael Malaska
        3. FLUME-1535-4.patch
          13 kB
          Theodore michael Malaska
        4. FLUME-1535-5-Atomic.patch
          12 kB
          Theodore michael Malaska
        5. FLUME-1535-Semaphore-0.patch
          14 kB
          Theodore michael Malaska
        6. FLUME-1535-Semaphore-1.patch
          15 kB
          Theodore michael Malaska
        7. FLUME-1535-Semaphore-3.patch
          14 kB
          Theodore michael Malaska

          Issue Links

            Activity

              People

              • Assignee:
                ted.m Theodore michael Malaska
                Reporter:
                jayants Jayant Shekhar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: