使用pub / sub阅读消息并将其加载到Google Cloud上的Datastax中 [英] Read the messages using pub/sub and load it into Datastax on Google Cloud

查看:292
本文介绍了使用pub / sub阅读消息并将其加载到Google Cloud上的Datastax中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Google云上部署了9个节点的 Datastax 集群。

I have deployed a 9-node Datastax Cluster on Google cloud.

现在,我已被要求从QUEUE读取数据并加载到Google云上的 Datastax 中(继续流式传输)。

Now I've been given a requirement to read the data from QUEUE's and load into Datastax on google cloud( Continues Streaming).

我知道pub / sub可以从QUEUE中读取数据,但不确定是否可以直接将其加载到 Datastax 中。

I know pub/sub can read the data from QUEUE but not sure whether it can directly load into Datastax.

发布/订阅是否有可能将数据加载到Google云上的 Datastax 中?

Is it possible for pub/sub to load the data into Datastax on Google cloud ?

我是pub / sub的新手,所以不确定从哪里开始或如何开始。

I am new to pub/sub so not sure where to start or how to start.

谢谢

推荐答案

您可能需要自定义代码才能执行此操作。您将拥有一个Consumer来从您感兴趣的主题中获取消息,然后您将具有自定义代码来转换这些消息并将其加载到Datastax中。我假设Datastax为此提供了API。

You probably need custom code to do this. You'd have a Consumer to get messages from the topic you're interesting in, and then you'd have custom code to convert those messages and load them onto Datastax. I'm assuming that Datastax has an API for this.

这篇关于使用pub / sub阅读消息并将其加载到Google Cloud上的Datastax中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆