在阅读 API 文档时,我不清楚何时应该使用 client.subscribe与 datasift.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/