GitHub user tgroh opened a pull request:
https://github.com/apache/incubator-beam/pull/17
[BEAM-94] Add UnboundedCountingInput#withPeriod
The period between elements controls the rate at which
UnboundedCountingInput will output elements. This is an aggregate rate
across all instances of the source, and thus elements will not
necessarily be output "smoothly", or within the first period. The
aggregate rate, however, will be approximately equal to the provided
rate.
Add package-private CountingSource.createUnbounded() to expose the
UnboundedCountingSource type. Make UnboundedCountingSource
package-private.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tgroh/incubator-beam
rate_limited_counting_source
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam/pull/17.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17
commit 1db69553ac3fef93b56f4d52d02c30f170ca0698
Author: Thomas Groh
Date: 2016-02-29T21:48:09Z
Add UnboundedCountingInput#withPeriod
The period between elements controls the rate at which
UnboundedCountingInput will output elements. This is an aggregate rate
across all instances of the source, and thus elements will not
necessarily be output "smoothly", or within the first period. The
aggregate rate, however, will be approximately equal to the provided
rate.
Add package-private CountingSource.createUnbounded() to expose the
UnboundedCountingSource type. Make UnboundedCountingSource
package-private.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---