kafka/clients
Jason Gustafson 3acc193853
MINOR: Add mock implementation of `BrokerToControllerChannelManager` (#10026)
Tests involving `BrokerToControllerChannelManager` are simplified by being able to leverage `MockClient`. This patch introduces a `MockBrokerToControllerChannelManager` implementation which makes that possible.

The patch updates `ForwardingManagerTest` to use `MockBrokerToControllerChannelManager`. We also add a couple additional timeout cases, which exposed a minor bug. Previously we were using the wrong `TimeoutException`, which meant that expected timeout errors were in fact translated to `UNKNOWN_SERVER_ERROR`.

Reviewers: David Arthur <david.arthur@confluent.io>
2021-02-03 10:30:20 -08:00
..
src MINOR: Add mock implementation of `BrokerToControllerChannelManager` (#10026) 2021-02-03 10:30:20 -08:00
.gitignore KAFKA-4848: Fix retryWithBackoff deadlock issue 2017-03-20 21:56:15 -07:00