Skip to content
/ cobia Public

cobia is a rpc framewok written with language java.

Notifications You must be signed in to change notification settings

nytta/cobia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cobia

TODO

  • write document about attribute balanced of tag <service/>
  • develop cluster consumer: invoke the least active service.

cobia tag

<cobia:service />

name optional type description
interface required string Interface implemented by service
ref required string bean id of service
registry optional string registry address
weight optional int weight to invoke the service
balanced optional boolean default: false, to detemine whether provider list join loadbalance work of consumer

<cobia:reference />

name optional type description
id required string id of this reference
interface required string Interface of reference
registry optional string registry method:direct, zookeeper
serviceServer optional string serviceServer value is provider address(host:port) when registry is direct
loadbalance optional string loadbalance mode of consumer, which optional value has random, server and so on, default value is random.

<cobia:registry />

name optional type description
type required string value(direct, zookeeper) of registry type
address optional string address of registry

About

cobia is a rpc framewok written with language java.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages