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

Option to limit number of events sent in Stress source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Sinks+Sources
    • None

    Description

      Currently the Stress source (used for testing purposes) has a 'size' prop to control the size of each event. It would be useful to also have a 'count' prop to control the number of events sent. When that limit is reached, the source's process() method can simply return Status.BACKOFF

      Attachments

        1. FLUME-1490.v2.patch.txt
          7 kB
          NO NAME
        2. FLUME-1490.v1.patch.txt
          6 kB
          NO NAME

        Activity

          People

            pwendell@gmail.com NO NAME
            will@cloudera.com Will McQueen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: