升级到2.00.9版本后,订阅流数据报错Failed to add publishing request to the asynchronous publisher

我代码如下:

n=100
t=streamTable(rand(100,n) as id, rand(100.0,n) as val)
share t as st;
publishTable("localhost",8848,"st");

升级到2.00.9之前是可以的,现在报这个错误, 是要做什么配置吗?

attachments-2023-03-Iu7wtLrt640939b3c7ce3.png

为什么publishTable而不是subscribeTable,是因为C# api 要用。

请先 登录 后评论

1 个回答

wale

server 2.00.9版本对流数据订阅做了较大的调整:发布端通过订阅端发起的连接发送流数据,订阅端不需要额外提供监听端口。因此升级到2.00.9后,api都需要升级,包括GUI的版本。

另外建议您c sharp直接订阅流表,不要调用publishTable。

请先 登录 后评论