Willem van Bergen
|
802cae39ff
Nicer fetch metadata logging
|
9 years ago |
Evan Huus
|
2778be4164
Group related client functions together
|
9 years ago |
Evan Huus
|
71e343a459
Scrap the connection test in the client metadata update
|
9 years ago |
Evan Huus
|
a7e936b2cd
Log more things
|
9 years ago |
Evan Huus
|
21fb992498
If we can't connect, the leader is not available
|
9 years ago |
Evan Huus
|
fe696f85ab
Process partition metadata in event of topic-level error
|
9 years ago |
Evan Huus
|
722e2eeb76
If the error message is LeaderNotAvailable, don't even look for a leader
|
9 years ago |
Evan Huus
|
652d53452a
Log when we run out of retries
|
9 years ago |
Willem van Bergen
|
9170d319e4
Handle ReplicaNotAvailable like LeaderNotAvailable when initializing a client
|
9 years ago |
Evan Huus
|
1e3e79af80
client: recognize full-topic leader election
|
9 years ago |
Evan Huus
|
6f7ffcf78d
Don't fully trust kafka metadata errors
|
9 years ago |
Evan Huus
|
7be3f28c7f
Clean up client's refreshMetadata function
|
10 years ago |
Evan Huus
|
75c8106b0b
Preparatory steps for the new consumer
|
10 years ago |
Evan Huus
|
bf0230952a
tweaks to address code review comments
|
10 years ago |
Evan Huus
|
d33e005ce0
Implement Client.WritablePartitions
|
10 years ago |
Evan Huus
|
1b465e78c2
Rework how the client handles metadata errors
|
10 years ago |
Evan Huus
|
73900d648d
Process all topic/partitions even if one has an error
|
10 years ago |
Evan Huus
|
4872214cf2
DRY up two functions
|
10 years ago |
Evan Huus
|
bb546b5ff2
Add Replicas() and ReplicasInSync() to client
|
10 years ago |
Willem van Bergen
|
f687caad50
Explicitly ignore error return values for some Open and Close calls
|
10 years ago |
Evan Huus
|
e594cf0ae1
client: close backgroundMetadataUpdater faster
|
10 years ago |
Evan Huus
|
237cfb5380
Check more errors
|
10 years ago |
Willem van Bergen
|
b04ddbfbea
Rename extraBroker to seedBroker.
|
10 years ago |
Evan Huus
|
c4e1e3344b
If we think the broker is dead, check we can connect
|
10 years ago |
Evan Huus
|
9c68585f1b
Make deadBrokerAddrs a map to begin with
|
10 years ago |
Evan Huus
|
f5d5815754
Merge pull request #144 from Shopify/robust-client-creation
|
10 years ago |
Evan Huus
|
b7417e61b0
Add option to refresh metadata on a timer
|
10 years ago |
Evan Huus
|
320cc5713b
Don't fail to create the client on LeaderNotAvailable
|
10 years ago |
Evan Huus
|
65629827b8
Return better error when server returns no offsets
|
10 years ago |
Willem van Bergen
|
c5df84256b
Code review fix
|
10 years ago |