在Hyperledger Composer设置中使用kafka配置 [英] Using kafka configuration in hyperledger composer setup

查看:98
本文介绍了在Hyperledger Composer设置中使用kafka配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想知道在kafka配置中部署了多个订购者的情况下,我们是否可以使用hyperledger composer?

I just want to know whether we can use hyperledger composer in the scenario where there are multiple orderers deployed in kafka configuration ?

推荐答案

Hyperledger Composer可用于任何交换矩阵网络设置.因此,它将与Solo Orderer设置以及kafka配置的设置一起使用.但是,如注释中所述,存在一个局限性,尽管您可以在连接配置文件中定义多个订购者,但是列表中仅第一个订购者用于与订购者进行交互.

Hyperledger Composer can be used against any fabric network setup. So it will work with both a Solo Orderer setup as well as a kafka configured setup. However as noted in the comment there is a limitation in that although you can define multiple orderers in the connection profile, only the first one in the list is used to interact with an orderer.

fabric-node-sdk 1.2中的一项新功能允许它在无法将建议发送给订购者的情况下尝试列表中的其他订购者. 当Composer能够使用Fabric 1.2设置时,此功能将可用.

A new feature that went into the fabric-node-sdk 1.2 allows it to try other orderers in the list if it fails to send proposals to an orderer. When Composer is able to work with a fabric 1.2 setup then this feature will be available.

这篇关于在Hyperledger Composer设置中使用kafka配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆