apache kafka_如何使用Neo4j和Apache Kafka进行事件驱动的图分析

apache kafka

by Ljubica Lazarevic

通过Ljubica Lazarevic

如何使用Neo4j和Apache Kafka进行事件驱动的图分析 (How to embrace event-driven graph analytics using Neo4j and Apache Kafka)

介绍 (Introduction)

With the new Neo4j Kafka streams now available, my fellow Neo4j colleague Tom Geudens and I were keen to try it out. We have many use-cases in mind that leverage the power of graph databases and event-driven architectures. The first one we explore combines the power of Graph Algorithms with a transactional database.

现在有了新的Neo4j Kafka流 ,我和我的Neo4j同事Tom Geudens都渴望尝试一下。 我们想到了许多用例,它们充分利用了图数据库和事件驱动的体系结构的功能。 我们探索的第一个方法将图算法的功能与事务数据库相结合。

The new Neo4j Kafka streams library is a Neo4j plugin that you can add to each of your Neo4j instances. It enables three types of Apache Kafka mechanisms:

新的Neo4j Kafka流库是一个Neo4j插件,您可以将其添加到每个Neo4j实例中。 它启用三种类型的Apache Kafka机制:

  • Producer: based on the topics set up in the Neo4j configuration file. Outputs to said topics will happen when specified node or relationship types change

    生产者:基于Neo4j配置文件中设置的主题。 当指定的节点或关系类型发生更改时,将发生上述主题的输出
  • Consumer: based on the topics set up in the Neo4j configuration file. When events for said topics are picked up, the specified Cypher query for each topic will be executed

    使用者:基于Neo4j配置文件中设置的主题。 拾取上述主题的事件后,将为每个主题执行指定的Cypher查询
  • Procedure: a direct call in Cypher to publish a given payload to a specified topic

    过程:直接在Cypher中调用以将给定的有效负载发布到指定的主题

You can get a more detailed overview of how each of these might look like here.

您可以在此处更详细地了解它们的外观。

情况概述 (Overview of the situation)

Graph algorithms provide powerful analytical abilities. They help us understand the context of our data better by analysing relationships. For example, graph algorithms are used to:

图算法提供了强大的分析能力。 它们通过分析关系来帮助我们更好地理解数据的上下文。 例如,图算法

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值