gpt4 book ai didi

java - 监听 Cassandra Datastore 的变化?

转载 作者:搜寻专家 更新时间:2023-11-01 02:24:05 27 4
gpt4 key购买 nike

我想知道是否可以向 Cassandra 添加一个监听器来获取表和更改条目的主键?如果有这样的机制就好了。

检查 Cassandra 文档我只发现将 StateListener(s) 添加到 Cluster 实例。

有谁知道如何在不破解 Cassandras 数据存储或封装驱动程序的情况下自行完成此操作?

最佳答案

看看这个 future 的 jira -- https://issues.apache.org/jira/browse/CASSANDRA-8844

如果你喜欢它,请投票:)

疾控中心

"In databases, change data capture (CDC) is a set of software designpatterns used to determine (and track) the data that has changed sothat action can be taken using the changed data. Also, Change datacapture (CDC) is an approach to data integration that is based on theidentification, capture and delivery of the changes made to enterprisedata sources."-Wikipedia

As Cassandra is increasingly being used as the Source of Record (SoR)for mission critical data in large enterprises, it is increasinglybeing called upon to act as the central hub of traffic and data flowto other systems. In order to try to address the general need, we,propose implementing a simple data logging mechanism to enableper-table CDC patterns.

关于java - 监听 Cassandra Datastore 的变化?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29972742/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com