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/02 21:06:15 UTC

[GitHub] jerrypeng commented on issue #2698: Rework functions api with consumer

jerrypeng commented on issue #2698: Rework functions api with consumer
URL: https://github.com/apache/pulsar/pull/2698#issuecomment-426430341
 
 
   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.  

----------------------------------------------------------------
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