Lars Lehtonen
|
e5ac353cdd
fix: remove use of t.testing.FailNow() inside goroutine
|
4 years ago |
Sebastien Launay
|
fe1b1849d0
Support timeout when fetching metadata
|
6 years ago |
drsoares
|
e3ecf7b088
added offline replicas operation to client for kafka version >= 1.x
|
5 years ago |
Tom Lee
|
a047cd70e0
Add Config.Metadata.Retry.BackoffFunc
|
6 years ago |
Evan Huus
|
5d35641fb5
Fix test
|
6 years ago |
justfly
|
e06b9a2882
add Controller() method to Client interface
|
6 years ago |
git-hulk
|
240ddc7211
FIX: It shouldn't sort the replicas and isr while the order is
|
7 years ago |
Kyle Hargraves
|
dbc0382c17
Rename client.Isr to client.InSyncReplicas
|
7 years ago |
Kyle Hargraves
|
f79a4d6153
Add Isr to Client interface
|
7 years ago |
Maxim Vladimirsky
|
201ab73cb4
Make mock brokers and protocol packets available for outsider
|
9 years ago |
Willem van Bergen
|
1874f69e22
Shuffle seed brokers so we don't always connect to the first one provided
|
9 years ago |
Evan Huus
|
fbe4417e0b
Add some simple producer benchmarks
|
9 years ago |
Evan Huus
|
52af5d953e
Disable background metadata updater in a test
|
9 years ago |
Evan Huus
|
dd6ba39a5c
client: stop the background thread before closing
|
9 years ago |
Willem van Bergen
|
95649f54ca
Add Client.Coordinator(topic) and Client.RefreshCoordinator(topic) to retrieve the coordinating broker for a consumer group.
|
9 years ago |
Evan Huus
|
f922f12eb9
Add retry logic to GetOffset() just like Leader()
|
9 years ago |
Evan Huus
|
5cfe247359
Add test for resurrecting dead seeds
|
9 years ago |
Evan Huus
|
b94609120c
Permit Metadata.Retry.Backoff == 0
|
9 years ago |
Willem van Bergen
|
e41ef46cf6
Add some tests on how the client should handle errors in the metadata response.
|
9 years ago |
Willem van Bergen
|
7f2cdf6cd2
Do not use partition cache for unknown topics.
|
9 years ago |
Evan Huus
|
f0de0cead8
Cleanup disconnectBroker a bit
|
9 years ago |
Willem van Bergen
|
a8957a931d
Drop ReplicasInSync from Client interface
|
9 years ago |
Willem van Bergen
|
f9c4fd65c2
Make Client an interface.
|
9 years ago |
Evan Huus
|
533cce206d
Lazily connect to brokers in the client
|
9 years ago |
Evan Huus
|
0e95e22dd4
Various doc and naming tweaks from code review.
|
9 years ago |
Evan Huus
|
0abdf8c4f0
Move the clientID into the config object
|
9 years ago |
Evan Huus
|
616ac5daa4
Unify configuration structures into config.go
|
9 years ago |
Willem van Bergen
|
91a706483c
Unexport mockbroker.
|
9 years ago |
Willem van Bergen
|
87c89f868c
Also prefix KError instances with Err.
|
9 years ago |
Evan Huus
|
a699b6ff8b
Rename all the things in client tests
|
9 years ago |