{"push_id":609575445,"size":1,"distinct_size":1,"ref":"refs/heads/random-seed-broker","head":"1247d013fac168b4b467cabf7365101c4985ad4c","before":"5eb67e00ac5e35ef8bb0bd07f205ab59522517e7","commits":[{"sha":"1247d013fac168b4b467cabf7365101c4985ad4c","author":{"email":"3a2deb47b4342b32af1d40b75a7391f40aa3d3f3@gmail.com","name":"Evan Huus"},"message":"client: connect to a random seed broker\n\nRather than walking them in order, walk them randomly using go's map iterator.\nThis should lighten the load on the first seed in a lot of failover scenarios.\n\nAlso rework a bunch of how seeds are stored:\n- store both seeds and dead brokers as Broker objects, not addresses, to avoid\n  constructing new Brokers all the time\n- lazily set `seedBroker` in `any()` rather than eagerly in the constructor and\n  in `disconnectBroker()`\n- never add non-seed brokers to `deadBrokers`\n- substantially simplify `resurrectDeadBrokers`\n\nThis doesn't break the predictability of any of our tests, fortunately, because\nwe only ever pass one seed in anyways.","distinct":true,"url":"https://api.github.com/repos/Shopify/sarama/commits/1247d013fac168b4b467cabf7365101c4985ad4c"}]}