You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/04/07 10:42:00 UTC

[jira] [Created] (KAFKA-16482) Avoid changing ClusterConfig in `BeforeEach` phase

Chia-Ping Tsai created KAFKA-16482:
--------------------------------------

             Summary: Avoid changing ClusterConfig in `BeforeEach` phase
                 Key: KAFKA-16482
                 URL: https://issues.apache.org/jira/browse/KAFKA-16482
             Project: Kafka
          Issue Type: Test
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


IDE does not like the code style, and we can leverage `ClusterConfigProperty` to eliminate the false error from IDE

 

[https://github.com/apache/kafka/blob/trunk/core/src/test/scala/integration/kafka/coordinator/transaction/ProducerIdsIntegrationTest.scala#L42]

https://github.com/apache/kafka/blob/trunk/tools/src/test/java/org/apache/kafka/tools/LeaderElectionCommandTest.java#L75



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