如何阅读google-dataflow中的cassandra

时间:2022-02-01 15:24:14

I have a use-case I want to read everything from a Cassandra table and create a PCollection. Is there a library I can use for that or should I just use Cassandra driver and code from the scratch ?

我有一个用例我想从Cassandra表中读取所有内容并创建一个PCollection。是否有一个我可以使用的库,或者我应该从头开始使用Cassandra驱动程序和代码?

1 个解决方案

#1


1  

There is no existing Cassandra source for Dataflow that I'm aware of (though there is a sink). Please consult this question about reading from MySQL - the considerations for connecting to Cassandra would be very similar. BEAM-244 is also related.

我所知道的Dataflow没有现有的Cassandra源(尽管有一个接收器)。请参阅这个关于从MySQL读取的问题 - 连接到Cassandra的注意事项非常相似。 BEAM-244也有关系。

#1


1  

There is no existing Cassandra source for Dataflow that I'm aware of (though there is a sink). Please consult this question about reading from MySQL - the considerations for connecting to Cassandra would be very similar. BEAM-244 is also related.

我所知道的Dataflow没有现有的Cassandra源(尽管有一个接收器)。请参阅这个关于从MySQL读取的问题 - 连接到Cassandra的注意事项非常相似。 BEAM-244也有关系。