我正在为 hyperledger fabric 1.4 使用 kakfa orderer 服务。在更新链代码或进行任何 puutState 调用时,我收到的错误消息为Failed to send the transaction successfully to the order status: SERVICE UNAVAILABLE. 在检查 zoopeker 和 kafka 节点时,似乎 kafka 节点无法相互通信。
1 回答
0
您能否提供有关 zookeeper-kafka 集群拓扑的更多信息?
你是用docker来部署zk集群的吗?如果是这样,您可以参考此文件。 https://github.com/whchengaa/hyperledger-fabric-technical-tutorial/blob/cross-machine-hosts-file/balance-transfer/artifacts/docker-compose-kafka.yaml
请记住在挂载到该 zookeeper 节点的 /etc/hosts 的 hosts 文件中指定其他 zookeeper 节点的 IP 地址。
确保 ZOO_SERVERS 环境变量中列出的 zookeeper 节点的端口号正确。
于 2020-09-07T09:58:02.873 回答