uber / ringpop-go

Scalable, fault-tolerant application-layer sharding for Go applications
http://www.uber.com
MIT License
835 stars 83 forks source link

[Feature] Identity carry over part 6 / Configure `Identity` from constuctor #194

Closed mennopruijssers closed 7 years ago

mennopruijssers commented 7 years ago

Instead of specifying the identity after bootstrap, rename the existing Identity and IdentityResolverFunc options to Address and AddressResolverFunc and add an Identity option to specify the identity.

Note: this introduces a backwards incompatible change. CHANGES.md contains a go fmt command to resolve any issues.