nwangtw commented on issue #3055: Add custom operator support
URL: https://github.com/apache/incubator-heron/pull/3055#issuecomment-438346171
 
 
   It does blur the line a bit to allow users to write their own operators with 
all functions available in low level API. However these operators still has 
type safety and can be used the same way as other pre-defined operators. 
Therefore, from API point of view, I don't think it "bring the streamlet API 
back to the bolt and spout API." Instead, it brings more powers from the bolt 
and spout API to streamlet.
   
   Basically Streamlet is a functional API, and function API is overall nice 
and elegant. However I believe, a functional API is HARDLY a general purpose 
API and it is only good for "nice" problems. It might enforce uses to change 
the way of thinking and solving problems, which can be good sometimes (use 
general/standard operations) and bad in other times (more like hacks). 
Therefore I think supporting custom operator is important for Heron.
   
   That being said, the original feature I needed was to reuse existing Bolts 
and Spouts which has been completed. This design doc and PR are just an 
extension from the original feature so it is not as urgent and we still have 
time to discuss.
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to