[WIP] New API#6
Conversation
There was a problem hiding this comment.
Can we have more descriptive name than PConfig?
There was a problem hiding this comment.
Guozhang Wang (@guozhangwang)
I think whatever we replace P with will have to be consistent across PTopology, PTopologyBuilder and PConfig. Few suggestions:
- s/P/Stream
- s/P/KStreamProcessor
- s/P/KafkaProcessor
The problem with 3 is that it is unrelated to streams. But if that class remains to be called KafkaProcessor, then its Config object can't be called something else.
…ecords / TimestampTracker from user facing APIs
|
ymatsuda Neha Narkhede (@nehanarkhede) Jay Kreps (@jkreps) Made some changes according to the comments:
|
|
ymatsuda Neha Narkhede (@nehanarkhede) Jay Kreps (@jkreps) Add SinkNode to unify context.send() with processor.forward(). Now if we want to send a key-value to a kafka topic, it will be forwarded into a sink node. Some open questions:
Its difference is arguably nuance with Flink, which requires calling env.execute(programName) in the end, and Spark Streaming, which requires calling StreamingContext.start() in the end as well. But it may make REPL hard because of the wrapper class. Thoughts?
|
|
ymatsuda Neha Narkhede (@nehanarkhede) Jay Kreps (@jkreps) Ismael Juma (@ijuma) Gwen Shapira (@gwenshap) miguno (@miguno) BTW the other API examples can be found here (all on WordCount): Storm http://wpcertification.blogspot.com/2014/02/helloworld-apache-storm-word-counter.html Spark Streaming Flink: Google DataFlow: |
|
The latest patch is in-progress to the stateless plan API. Some details:
Minor:
Most of these classes are in-complete yet, if you are OK I can merge them into branch-streaming for now for you to take over. |
ymatsuda Neha Narkhede (@nehanarkhede) Jay Kreps (@jkreps)