spring集成zookeeper
- 作者: 穆罕默德-本-拉希-德阿勒马克图姆
- 来源: 51数据库
- 2020-09-30
zookeeper是Dubbo服务的注册中心,provider提供服务后注册在zookeeper上, consumer可以接口和版本信息从zookeeper中获取相应的服务,服务对于consumer来说完全透明,根本感知不到该接口是来自本地和provider,就像引用本地的一个bean一样。
[{icon:'extjs/examples/shared/icons/fam/cog_edit.png',//useaurlintheiconconfigtooltip:'edit',handler:function(grid,rowindex,colindex){varrec=grid.getstore().getat(rowindex);alert("edit"+rec.get('firstname'));}},{icon:'extjs/examples/restful/images/delete.png',tooltip:'delete',handler:function(grid,rowindex,colindex){varrec=grid.getstore().getat(rowindex);alert("terminate"+rec.get('firstname'));}}]}],
[{icon:'extjs/examples/shared/icons/fam/cog_edit.png',//useaurlintheiconconfigtooltip:'edit',handler:function(grid,rowindex,colindex){varrec=grid.getstore().getat(rowindex);alert("edit"+rec.get('firstname'));}},{icon:'extjs/examples/restful/images/delete.png',tooltip:'delete',handler:function(grid,rowindex,colindex){varrec=grid.getstore().getat(rowindex);alert("terminate"+rec.get('firstname'));}}]}],
推荐阅读
