应该使用Elassandra而不是Cassandra以便能够使用Elasticsearch吗?

huangapple go评论83阅读模式
英文:

Should I use Elassandra instead of Cassandra to be able to use Elasticsearch?

问题

我正试图将我的Cassandra数据库与Elasticsearch集成,但似乎之前的DataStax连接器已被弃用,唯一的方法是使用Elassandra?

我想确保Elassandra是否是Cassandra的可靠替代品,是否没有简单的方法可以使用Cassandra + Elasticsearch?

PS:我在我的Cassandra数据库中没有任何先前的数据,如果有一种简单的方法可以从头开始索引数据,并通过Elasticsearch使用这些索引,那对我来说是一个好选择。

英文:

I am trying to integrate my Cassandra database with Elastic search but it seems the previous DataStax connector is deprecated and the only way of doing this is using Elassandra?

I want to make sure if Elassandra is a reliable alternative for Cassandra and there is not an easy way of using Cassandra + Elasticsearch?

PS: I don't have any previous data in my Cassandra db and if there is an easy way I can index data from the beginning and use these indexes by Elasticsearch this is a good option for me.

答案1

得分: 2

根据数据写入和在Elasticsearch中显示之间的延迟,我会考虑使用Apache Cassandra的CDC,它将数据插入/变更推送到Apache Pulsar主题,然后可以配置为将数据下沉到Elasticsearch或其他数据消费者。

这具有每个组件的单一责任的优势,并允许Cassandra和Elasticsearch独立扩展。

英文:

Depending on the latency between when data is written and when you need it to appear in elastic search, I would consider using CDC for Apache Cassandra, which will push data insertions / mutations onto an Apache Pulsar topic, this can then be configured to sink to Elastic / any other consumers of the data.

This has the advantage of single responsibility for each component and allows the Cassandra and elastic to scale independently of each other.

huangapple
  • 本文由 发表于 2023年6月29日 04:25:01
  • 转载请务必保留本文链接:https://go.coder-hub.com/76576505.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定