Ibm cloud 消息中心服务每天都在下降
我正在生产中的我的节点应用程序中使用bluemix消息中心服务。现在我们遇到了一个问题,消息中心服务每天都会停止,然后应用程序需要重新启动。这是无法做到的。 我们正在获取以下日志Ibm cloud 消息中心服务每天都在下降,ibm-cloud,message-hub,Ibm Cloud,Message Hub,我正在生产中的我的节点应用程序中使用bluemix消息中心服务。现在我们遇到了一个问题,消息中心服务每天都会停止,然后应用程序需要重新启动。这是无法做到的。 我们正在获取以下日志 2016-10-16T17:41:42.66+0100 [App/0] OUT Unable to consume topic: Error: Request returned status code 404 but it was not in the accepted list. The REST API respo
2016-10-16T17:41:42.66+0100 [App/0] OUT Unable to consume topic: Error: Request returned
status code 404 but it was not in the accepted list. The REST API responded with the
following message: Consumer instance not found.
2016-10-16T17:41:46.66+0100 [App/0] OUT got error: { [Error: Request returned status code
404 but it was not in the accepted list. The REST API responded with the following message:
Consumer instance not found.] statusCode: 404, errorCode: 40403 }
我们有什么办法可以处理这件事吗?这是失败的
run: function(callback) {
var that = this;
consumerInstance.get(topic)
.then(function(data) {
that.consume(data);
return callback();
})
.fail(function(error) {
console.log("got error: ", error);
return callback(error);
})
}
这是我们用来参考的代码
关于如何解决这个问题的任何想法。
谢谢
Harish。嗨,MessageHub的REST端点每24小时回收一次。 客户机应通过创建新的使用者实例来处理此问题 嗯,,
Edo嗨,MessageHub的REST端点每24小时回收一次。 客户机应通过创建新的使用者实例来处理此问题 嗯,, Edo根据,REST服务每天重新启动。RESTAPI重新启动后,必须重新创建Kafka使用者实例 谢谢 Simon。根据,REST服务每天重新启动。RESTAPI重新启动后,必须重新创建Kafka使用者实例 谢谢
西蒙。谢谢。你能给我们一些关于如何创建so的见解吗。谢谢。你能给我们一些关于如何创建so的见解吗。