英文:
I would like to enable Flink to read from Pulsar
问题
I’m new to Pulsar!
Now, I am trying to implement these codes( https://flink.apache.org/2019/05/03/pulsar-flink.html ) in Scala. However, I can’t find some classes(e.g. PulsarSourceBuild
).
How can I do them in Scala? Where should I check?
英文:
I’m new to Pulsar!
Now, I am trying to implement these codes( https://flink.apache.org/2019/05/03/pulsar-flink.html ) in Scala. However, I can’t find some classes(e.g. PulsarSourceBuild
).
How can I do them in Scala? Where should I check?
答案1
得分: 0
PulsarSourceBuilder来自Pulsar
我建议将此添加到您的pom文件中:
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-flink</artifactId>
<version>2.6.0</version>
</dependency>
英文:
PulsarSourceBuilder is from Pulsar
I'd suggest adding this to your pom:
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-flink</artifactId>
<version>2.6.0</version>
</dependency>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论