Ran
|
Files
89
|
Run time
7s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/dpkp/kafka-python/commit/<a class=hub.com/dpkp/kafka-python/commit/<a class="double-link" href="https://git"><a class=hub.com/dpkp/kafka-python/commit/<a class="double-link" href="https://git"><a class=hub.com/dpkp/kafka-python/commit/<a class="double-link" href="https://git"><a class=hub.com/dpkp/kafka-python/commit/3c3fdc11b555756c53ae63bfa46a915eab48f448">3c3fdc11b<a href="https://github.com/dpkp/kafka-python/commit/3c3fdc11b555756c53ae63bfa46a915eab48f448"><a href="https://github.com/dpkp/kafka-python/commit/3c3fdc11b555756c53ae63bfa46a915eab48f448">&lt;a href=&quot;https://github.com/dpkp/kafka-python/commit/3c3fdc11b555756c53ae63bfa46a915eab48f448">&lt;a href=&quot;https://github.com/dpkp/kafka-python/commit/3c3fdc11b555756c53ae63bfa46a915eab48f448&quot;&gt;&amp;quot;&amp;gt;KAFKA-8962: Use least_loaded_node() for describe_topics() In KAFKA-8962 the `AdminClient.describe_topics()` call was changed from using the controller to using the `least_loaded_node()`: https://github.com/apache/kafka/commit/&amp;lt;/a&amp;gt;&amp;lt;a class=&amp;quot;double-link&amp;quot; href=&amp;quot;https://github.com/dpkp/kafka-python/commit/&amp;lt;a class=&amp;quot;double-link&amp;quot; href=&amp;quot;https://github.com/dpkp/kafka-python/commit/317089663cc7ff4fdfcba6ee434f455e8ae13acd&amp;quot;&amp;gt;317089663&amp;lt;/a&amp;gt;&amp;quot;&amp;gt;317089663&amp;lt;/a&amp;gt;&amp;lt;a href=&amp;quot;https://github.com/dpkp/kafka-python/commit/3c3fdc11b555756c53ae63bfa46a915eab48f448&amp;quot;&amp;gt;#diff-6869b8fccf6b098cbcb0676e8ceb26a7R1540 As a result, no metadata request/response processing needs to happen through the controller, so it&amp;#39;s safe to remove the custom error-checking. Besides, I don&amp;#39;t think this error-checking even added any value because AFAIK no metadata response would return a `NotControllerError` because the recipient broker wouldn&amp;#39;t realize the metadata request was intended for only the controller. Originally our admin client was implemented using the least-loaded-node, then later updated to the controller. So updating it back to least-loaded node is a simple case of reverting the associated commits. This reverts commit </a><a class="double-link" href="https://github.com/dpkp/kafka-python/commit/<a class="double-link" href="https://github.com/dpkp/kafka-python/commit/7195f0369c7dbe25aea2c3fed78d2b4f772d775b">7195f0369</a>">7195f0369</a><a href="https://github.com/dpkp/kafka-python/commit/3c3fdc11b555756c53ae63bfa46a915eab48f448">. This reverts commit </a><a class="double-link" href="https://github.com/dpkp/kafka-python/commit/<a class="double-link" href="https://github.com/dpkp/kafka-python/commit/6e2978edee9a06e9dbe60afcac226b27b83cbc74">6e2978ede</a>">6e2978ede</a><a href="https://github.com/dpkp/kafka-python/commit/3c3fdc11b555756c53ae63bfa46a915eab48f448">. This reverts commit f92889af7">f92889af7.
7167 of 8652 relevant lines covered (82.84%)
0.83 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|