apache / apache/rocketmq-streams
Multiple sinks cannot be implemented
- Dominant language
- Java
- Stars
- 177
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
StreamBuilder builder = new StreamBuilder("wordCount");
RStream 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 Processor build(String topicName) is executed in node order and cannot implement multiple sinks. The above code can only execute the first sink.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.