Skip to content

[bug] rocketmq source can't work cause of no namesrv is set #34

@francisoliverlee

Description

@francisoliverlee

public DataStream fromRocketmq(String topic, String groupName) {
return fromRocketmq(topic, groupName, null, false);
}
public DataStream fromRocketmq(String topic, String groupName, boolean isJson) {
return fromRocketmq(topic, groupName, null, isJson);
}
public DataStream fromRocketmq(String topic, String groupName, String tags, boolean isJson) {
RocketMQSource rocketMQSource = new RocketMQSource();
rocketMQSource.setTopic(topic);
rocketMQSource.setTags(tags);
rocketMQSource.setGroupName(groupName);
rocketMQSource.setJsonData(isJson);
this.mainPipelineBuilder.setSource(rocketMQSource);
return new DataStream(this.mainPipelineBuilder, this.otherPipelineBuilders, null);
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions