You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "PoAn Yang (Jira)" <ji...@apache.org> on 2025/05/07 14:30:00 UTC

[jira] [Commented] (KAFKA-19252) Support broker and controller restarts in testkit

    [ https://issues.apache.org/jira/browse/KAFKA-19252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950016#comment-17950016 ] 

PoAn Yang commented on KAFKA-19252:
-----------------------------------

It looks like we have a similar ticket https://issues.apache.org/jira/browse/KAFKA-17259. I will keep working on it. Thanks.

> Support broker and controller restarts in testkit
> -------------------------------------------------
>
>                 Key: KAFKA-19252
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19252
>             Project: Kafka
>          Issue Type: Improvement
>          Components: unit tests
>            Reporter: David Arthur
>            Priority: Major
>
> We should support broker and controller restarts in ClusterTest (and testkit). Since these components are not designed to be reused, we will need to create them on-demand when a node is restarted.
> Not having this feature makes it difficult for many tests to be converted from IntegrationTestHarness. Some tests have done so, but by reaching down into the broker implementation classes like [https://github.com/apache/kafka/commit/c527530e806c7d9f79348656d801b1b78e8f2bec#diff-9003994ba58aae31e74ea55bed86c886bbe4ced487e1ac27e6a5428722823fe8R8-R224]
> Generally we want to avoid this ^ so the test framework does not depend on the broker classes at compile time.
>  
> We should support restarting a single node or doing a rolling restart of the whole cluster.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)