I would suggest add this only if there is actual user demand. Writing a function "Function<Foo, Void>" vs "Consumer<Foo>" isn't that much different, but now we have to also to consider "Consumer" interface in java function runtime which will add complexity.
[ Full content available at: https://github.com/apache/pulsar/pull/2698 ] This message was relayed via gitbox.apache.org for [email protected]
