Github user arunmahadevan commented on the pull request:
https://github.com/apache/storm/pull/1050#issuecomment-178345578
@ptgoetz Ok I will move peek implementation to a separate PR.
Are you suggesting we overload filter api with fields parameter to keep it
similar to each(inputFields, filter) ? Typically filter method accepts only the
predicate so I did not add that api. E.g. [Java8
filter](https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html#filter-java.util.function.Predicate-).
Let me know if we should add the overload.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---