380828801 opened a new issue, #311:
URL: https://github.com/apache/rocketmq-streams/issues/311

        StreamBuilder builder = new StreamBuilder("wordCount");
   
           RStream<JSONObject> source = builder.source("stream-topic-1", total 
-> {
               String value = new String(total, StandardCharsets.UTF_8);
               JSONObject jsonObject = JSON.parseObject(value);
               return new Pair<>(null, jsonObject);
           });
   
           source.print();
           source.sink("stream-topic-sink",new KVJsonSerializer<>());
   
           TopologyBuilder topologyBuilder = builder.build();
   
   
   In TopologyBuilder, public <T> Processor<T> build(String topicName) is 
executed in node order and cannot implement multiple sinks. The above code can 
only execute the first sink.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to