python - DataSift python API : Difference between datasift. client.subscribe 和 datasift.push.create_from_hash?

标签 python datasift-python

在阅读 API 文档时,我不清楚何时应该使用 client.subscribedatasift.push.create_from_hash .

在深入研究源代码时,他们似乎在幕后做着不同的事情。

它们可以互换吗?

最佳答案

这个问题已在 Datasift 社区论坛 here 上得到解答。 .

The client.subscribe method will start a connection using our streaming service, whereas datasift.push.create_from_hash will create a delivery job using our robust push delivery service. Push will send the data directly to a specified destination.

关于python - DataSift python API : Difference between datasift. client.subscribe 和 datasift.push.create_from_hash?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29543236/

相关文章:

python - 如何在Python中将十六进制序列转换为CRC 16

python - Python 中的高精度字对齐算法

python - 如何在后台运行 django 应用程序

python - 怎样才能取出元素的乘积呢?

java - DataSift - python api - 你如何停止流?

python - 按 Pandas 数据框中的多个时间单位分组