PubSubHubBub中心

b_e*_*erb 7 google-app-engine push websub

我目前正在构建基于PubSubHubBub协议的实时Web应用程序.但是,我遇到了几个问题.

首先,我正在寻找可以在我的服务器上运行的集线器应用程序.有几个应用程序,但大多数尚未成熟,或者它们不支持0.3规范.官方谷歌中心在Google App Engine上运行,甚至可以在本地执行.不幸的是,"Tasks will not run automatically. Push the 'Run' button to execute each task." 这种行为对于调试和理解工作流非常有用,但在一些实时测试中,最好不要手动调用所有任务.是否有办法调整本地应用程序引擎自动运行任务?

接下来,我有一个关于规范本身的问题.Google参考实现提供了绑定到outpoint uri +的初始发布方法/publish.但这并没有反映在规格中.

那么有没有可以在本地运行调试的成熟集线器?或者有没有办法配置官方的谷歌应用引擎集线器在本地运行和直接执行任务?

提前致谢

Nic*_*son 2

新的 1.3.4 App Engine SDK 会自动运行任务。只需升级您的 SDK 即可利用它。

Next, I have a question concerning the spec itself. The Google reference implementation provides the initial publish method bound to the outpoint uri + /publish. But this is not reflected in the specs.
Run Code Online (Sandbox Code Playgroud)

/publish 是集线器提供的唯一端点。根据规范的发现部分,这就是您所宣传的。