You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/10/30 16:47:50 UTC
[GitHub] jerrypeng commented on issue #2887: How to get user config at
windowing function
jerrypeng commented on issue #2887: How to get user config at windowing function
URL: https://github.com/apache/pulsar/issues/2887#issuecomment-434380134
@ngjaying for version 2.1.1-incubating only java.util.function is supported e.g.
```
public class WindowFunction implements Function <Collection<Integer>, Integer> {
@Override
public Integer apply(Collection<Integer> integers) {
return integers.stream().reduce(0, (x, y) -> x + y);
}
}
```
As @srkukarni mentioned we will add full SDK support in the upcoming 2.3 release
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services