This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5b6a94bb5bb MINOR: Replace deprecated TopologyTestDriver constructor 
in TestTopicsTest (#22782)
5b6a94bb5bb is described below

commit 5b6a94bb5bbbdaee4461d2f3ede458363353c1ee
Author: JiayĆ”o Sun <[email protected]>
AuthorDate: Fri Jul 17 08:44:51 2026 +1200

    MINOR: Replace deprecated TopologyTestDriver constructor in TestTopicsTest 
(#22782)
    
    This patch updates `TestTopicsTest` to use `TopologyTestDriverBuilder`
    instead of the deprecated `TopologyTestDriver` constructor.
    
    Reviewers: Ken Huang <[email protected]>, Chia-Ping Tsai
     <[email protected]>
---
 .../src/test/java/org/apache/kafka/streams/TestTopicsTest.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/streams/test-utils/src/test/java/org/apache/kafka/streams/TestTopicsTest.java 
b/streams/test-utils/src/test/java/org/apache/kafka/streams/TestTopicsTest.java
index 9a0cc1a452f..70e970a7602 100644
--- 
a/streams/test-utils/src/test/java/org/apache/kafka/streams/TestTopicsTest.java
+++ 
b/streams/test-utils/src/test/java/org/apache/kafka/streams/TestTopicsTest.java
@@ -76,7 +76,7 @@ public class TestTopicsTest {
         final Properties properties = new Properties();
         properties.put(StreamsConfig.DEFAULT_KEY_SERDE_CLASS_CONFIG, 
Serdes.ByteArraySerde.class);
         properties.put(StreamsConfig.DEFAULT_VALUE_SERDE_CLASS_CONFIG, 
Serdes.ByteArraySerde.class);
-        testDriver = new TopologyTestDriver(builder.build(), properties);
+        testDriver = new 
TopologyTestDriverBuilder(builder.build()).withConfig(properties).build();
     }
 
     @AfterEach

Reply via email to