[jira] [Assigned] (KAFKA-16863) Consider removing `default.` prefix for exception handler config

2024-06-08 Thread Muralidhar Basani (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Muralidhar Basani reassigned KAFKA-16863: - Assignee: Muralidhar Basani > Consider removing `default.` prefix for exception

[jira] [Commented] (KAFKA-16918) TestUtils#assertFutureThrows should use future.get with timeout

2024-06-08 Thread Chia Chuan Yu (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853340#comment-17853340 ] Chia Chuan Yu commented on KAFKA-16918: --- Hi, [~showuon]  Can I have this one plea

Re: [PR] KAFKA-16878: Remove powermock and easymock from code base [kafka]

2024-06-08 Thread via GitHub
mimaison commented on code in PR #16236: URL: https://github.com/apache/kafka/pull/16236#discussion_r1631941972 ## build.gradle: ## @@ -826,7 +819,6 @@ subprojects { toolVersion = versions.jacoco } - // NOTE: Jacoco Gradle plugin does not support "offline

[jira] [Commented] (KAFKA-16918) TestUtils#assertFutureThrows should use future.get with timeout

2024-06-08 Thread Luke Chen (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853346#comment-17853346 ] Luke Chen commented on KAFKA-16918: --- Assigned to you. Thanks [~chiacyu] ! > TestUtils

[jira] [Assigned] (KAFKA-16918) TestUtils#assertFutureThrows should use future.get with timeout

2024-06-08 Thread Luke Chen (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Chen reassigned KAFKA-16918: - Assignee: Chia Chuan Yu > TestUtils#assertFutureThrows should use future.get with timeout > ---

[jira] [Commented] (KAFKA-15961) Flaky test: testTopicIdPersistsThroughControllerRestart() – kafka.controller.ControllerIntegrationTest

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853361#comment-17853361 ] Igor Soarez commented on KAFKA-15961: - Saw another failure here [https://ci-builds.

[jira] [Commented] (KAFKA-15914) Flaky test - testAlterSinkConnectorOffsetsOverriddenConsumerGroupId - OffsetsApiIntegrationTest

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853362#comment-17853362 ] Igor Soarez commented on KAFKA-15914: - Another failure here [https://ci-builds.apac

Re: [PR] MINOR: Fix broken ReassignPartitionsCommandTest test [kafka]

2024-06-08 Thread via GitHub
soarez commented on PR #16251: URL: https://github.com/apache/kafka/pull/16251#issuecomment-2155991204 Thanks for reviewing @showuon. Only three failed tests on JDK21, all passing locally, all unrelated: * KAFKA-16919 - testNoCheckpointsIfNoRecordsAreMirrored() – org.apache.kaf

Re: [PR] MINOR: Fix broken ReassignPartitionsCommandTest test [kafka]

2024-06-08 Thread via GitHub
soarez merged PR #16251: URL: https://github.com/apache/kafka/pull/16251 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.o

[jira] [Created] (KAFKA-16919) Flaky test testNoCheckpointsIfNoRecordsAreMirrored() – org.apache.kafka.connect.mirror.integration.MirrorConnectorsIntegrationSSLTest

2024-06-08 Thread Igor Soarez (Jira)
Igor Soarez created KAFKA-16919: --- Summary: Flaky test testNoCheckpointsIfNoRecordsAreMirrored() – org.apache.kafka.connect.mirror.integration.MirrorConnectorsIntegrationSSLTest Key: KAFKA-16919 URL: https://issues.

Re: [PR] MINOR: Rename uniform assignor's internal builders [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on PR #16233: URL: https://github.com/apache/kafka/pull/16233#issuecomment-2156005210 @dajac Could you please rebase code to include #16249? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL ab

Re: [PR] KAFKA-10787: Apply spotless to transaction-coordinator and server-common [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on PR #16172: URL: https://github.com/apache/kafka/pull/16172#issuecomment-2156005444 @gongxuanzhang could you please rebase code to include #16249 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [PR] MINOR: migrate DescribeConsumerGroupTest to use ClusterTestExtensions [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on PR #15908: URL: https://github.com/apache/kafka/pull/15908#issuecomment-2156005905 @FrankYang0529 please rebase code :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the s

Re: [PR] KAFKA-14509: [4/4] Handle includeAuthorizedOperations [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on PR #16158: URL: https://github.com/apache/kafka/pull/16158#issuecomment-2156006198 @riedelmax please rebase code to have the fix #16249 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL abov

Re: [PR] KAFKA-16897: Move OffsetIndexTest and OffsetMapTest to storage module [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #16244: URL: https://github.com/apache/kafka/pull/16244#discussion_r1632032059 ## storage/src/test/java/org/apache/kafka/server/log/OffsetIndexTest.java: ## @@ -0,0 +1,271 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or m

Re: [PR] KAFKA-16901: Add unit tests for ConsumerRecords#records(String) [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632032964 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -35,28 +35,83 @@ public class ConsumerRecordsTest { @Test public

Re: [PR] KAFKA-16879 SystemTime should use singleton mode [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #16242: URL: https://github.com/apache/kafka/pull/16242#discussion_r1632034986 ## clients/src/main/java/org/apache/kafka/common/utils/Time.java: ## @@ -30,8 +30,6 @@ */ public interface Time { -Time SYSTEM = new SystemTime(); Review Com

[jira] [Created] (KAFKA-16920) Flaky test testControlledShutdown() - kafka.server.BrokerLifecycleManagerTest

2024-06-08 Thread Igor Soarez (Jira)
Igor Soarez created KAFKA-16920: --- Summary: Flaky test testControlledShutdown() - kafka.server.BrokerLifecycleManagerTest Key: KAFKA-16920 URL: https://issues.apache.org/jira/browse/KAFKA-16920 Project:

[jira] [Updated] (KAFKA-16920) Flaky test testControlledShutdown() - kafka.server.BrokerLifecycleManagerTest

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Soarez updated KAFKA-16920: Description: Several tests failed in this pipeline because {{testControlledShutdown}} did not cle

[jira] [Updated] (KAFKA-16920) Flaky test testControlledShutdown() - kafka.server.BrokerLifecycleManagerTest

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Soarez updated KAFKA-16920: Description: Several tests failed in this pipeline because {{testControlledShutdown}} did not cle

Re: [PR] KAFKA-16917: Align the returned Map type of KafkaAdminClient [kafka]

2024-06-08 Thread via GitHub
frankvicky commented on PR #16250: URL: https://github.com/apache/kafka/pull/16250#issuecomment-2156027791 Hi @chia7712 , I will take look -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the spec

[jira] [Commented] (KAFKA-15963) Flaky test: testBrokerHeartbeatDuringMigration [3] 3.6-IV0 – org.apache.kafka.controller.QuorumControllerTest

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853368#comment-17853368 ] Igor Soarez commented on KAFKA-15963: - Failed again in [https://ci-builds.apache.or

[jira] [Commented] (KAFKA-15197) Flaky test MirrorConnectorsIntegrationExactlyOnceTest.testOffsetTranslationBehindReplicationFlow()

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853369#comment-17853369 ] Igor Soarez commented on KAFKA-15197: - This failed again in [https://ci-builds.apac

Re: [PR] KAFKA-16901: Add unit tests for ConsumerRecords#records(String) [kafka]

2024-06-08 Thread via GitHub
frankvicky commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632040486 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -35,28 +35,83 @@ public class ConsumerRecordsTest { @Test publ

[jira] [Commented] (KAFKA-16383) fix flaky test IdentityReplicationIntegrationTest.testReplicateFromLatest()

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853370#comment-17853370 ] Igor Soarez commented on KAFKA-16383: - This failed again in [https://ci-builds.apac

[jira] [Updated] (KAFKA-16383) fix flaky test IdentityReplicationIntegrationTest.testReplicateFromLatest()

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Soarez updated KAFKA-16383: Component/s: connect > fix flaky test IdentityReplicationIntegrationTest.testReplicateFromLatest()

[jira] [Commented] (KAFKA-16402) Flaky test org.apache.kafka.controller.QuorumControllerTest.testSnapshotSaveAndLoad

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853371#comment-17853371 ] Igor Soarez commented on KAFKA-16402: - Failed again in https://ci-builds.apache.org

[jira] [Commented] (KAFKA-15789) Flaky Test - testTimeouts - QuorumControllerTest

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853373#comment-17853373 ] Igor Soarez commented on KAFKA-15789: - Failed again in https://ci-builds.apache.org

[jira] [Commented] (KAFKA-8115) Flaky Test CoordinatorTest#testTaskRequestWithOldStartMsGetsUpdated

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853374#comment-17853374 ] Igor Soarez commented on KAFKA-8115: Failed again https://ci-builds.apache.org/blue/

Re: [PR] KAFKA-16886: Detect replica demotion in AssignmentsManager [kafka]

2024-06-08 Thread via GitHub
soarez commented on PR #16232: URL: https://github.com/apache/kafka/pull/16232#issuecomment-2156032172 @showuon thank you for reviewing this. Failed tests pass locally, and are unrelated to this change: * KAFKA-16383 org.apache.kafka.connect.mirror.integration.IdentityReplicati

Re: [PR] KAFKA-16886: Detect replica demotion in AssignmentsManager [kafka]

2024-06-08 Thread via GitHub
soarez merged PR #16232: URL: https://github.com/apache/kafka/pull/16232 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.o

[jira] [Commented] (KAFKA-16667) KRaftMigrationDriver gets stuck after successive failovers

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853376#comment-17853376 ] Igor Soarez commented on KAFKA-16667: - [~davidarthur] is this still relevant for 3.7

[jira] [Assigned] (KAFKA-16920) Flaky test testControlledShutdown() - kafka.server.BrokerLifecycleManagerTest

2024-06-08 Thread Gaurav Narula (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Narula reassigned KAFKA-16920: - Assignee: Gaurav Narula > Flaky test testControlledShutdown() - kafka.server.BrokerLife

Re: [PR] KAFKA-16890: Update log-start-offset monotonically when deleting overlapping remote segments [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #16237: URL: https://github.com/apache/kafka/pull/16237#discussion_r1632043139 ## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ## @@ -954,7 +953,9 @@ public boolean isSegmentBreachedByRetentionTime(RemoteLogSegmentMetadata metadat

Re: [PR] KAFKA-16901: Add unit tests for ConsumerRecords#records(String) [kafka]

2024-06-08 Thread via GitHub
frankvicky commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632043299 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -35,28 +35,83 @@ public class ConsumerRecordsTest { @Test publ

[jira] [Commented] (KAFKA-16667) KRaftMigrationDriver gets stuck after successive failovers

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853377#comment-17853377 ] Igor Soarez commented on KAFKA-16667: - I'm removing the 3.7.1 tag for now. Please ad

[jira] [Updated] (KAFKA-16667) KRaftMigrationDriver gets stuck after successive failovers

2024-06-08 Thread Igor Soarez (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Soarez updated KAFKA-16667: Fix Version/s: (was: 3.7.1) > KRaftMigrationDriver gets stuck after successive failovers > ---

[PR] KAFKA-16920: close BrokerLifecycleManager in tests [kafka]

2024-06-08 Thread via GitHub
gaurav-narula opened a new pull request, #16252: URL: https://github.com/apache/kafka/pull/16252 Tests in BrokerLifecycleManagerTest do not close BrokerLifecycleManager if an assertion fails. This change ensures `manager.close()` is always invoked in a finally block thereby preventing poten

Re: [PR] KAFKA-16878: Remove powermock and easymock from code base [kafka]

2024-06-08 Thread via GitHub
FrankYang0529 commented on code in PR #16236: URL: https://github.com/apache/kafka/pull/16236#discussion_r1632046626 ## build.gradle: ## @@ -826,7 +819,6 @@ subprojects { toolVersion = versions.jacoco } - // NOTE: Jacoco Gradle plugin does not support "off

Re: [PR] KAFKA-16878: Remove powermock and easymock from code base [kafka]

2024-06-08 Thread via GitHub
FrankYang0529 commented on PR #16236: URL: https://github.com/apache/kafka/pull/16236#issuecomment-2156043620 > #16249 is merged. FYI. Rebased it. Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

Re: [PR] MINOR: migrate DescribeConsumerGroupTest to use ClusterTestExtensions [kafka]

2024-06-08 Thread via GitHub
FrankYang0529 commented on PR #15908: URL: https://github.com/apache/kafka/pull/15908#issuecomment-215601 > @FrankYang0529 please rebase code :) Thanks for reminder. Rebased it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

Re: [PR] KAFKA-16897: Move OffsetIndexTest and OffsetMapTest to storage module [kafka]

2024-06-08 Thread via GitHub
m1a2st commented on code in PR #16244: URL: https://github.com/apache/kafka/pull/16244#discussion_r1632052511 ## storage/src/test/java/org/apache/kafka/server/log/OffsetMapTest.java: ## @@ -0,0 +1,100 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] KAFKA-16897: Move OffsetIndexTest and OffsetMapTest to storage module [kafka]

2024-06-08 Thread via GitHub
m1a2st commented on code in PR #16244: URL: https://github.com/apache/kafka/pull/16244#discussion_r1632052689 ## storage/src/test/java/org/apache/kafka/server/log/OffsetMapTest.java: ## @@ -0,0 +1,100 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] KAFKA-10787: Apply spotless to transaction-coordinator and server-common [kafka]

2024-06-08 Thread via GitHub
gongxuanzhang commented on PR #16172: URL: https://github.com/apache/kafka/pull/16172#issuecomment-2156061341 > @gongxuanzhang could you please rebase code to include #16249 Okay, next we wait for CI -- This is an automated message from the Apache Git Service. To respond to the mess

Re: [PR] KAFKA-16901: Add unit tests for ConsumerRecords#records(String) [kafka]

2024-06-08 Thread via GitHub
frankvicky commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632055803 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -35,28 +35,83 @@ public class ConsumerRecordsTest { @Test publ

Re: [PR] KAFKA-16901: Add unit tests for ConsumerRecords#records(String) [kafka]

2024-06-08 Thread via GitHub
frankvicky commented on PR #16227: URL: https://github.com/apache/kafka/pull/16227#issuecomment-2156063782 Hi @chia7712 , I do some changes based on comments, PTAL 😃 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [PR] KAFKA-16879 SystemTime should use singleton mode [kafka]

2024-06-08 Thread via GitHub
dujian0068 commented on code in PR #16242: URL: https://github.com/apache/kafka/pull/16242#discussion_r1632056246 ## clients/src/main/java/org/apache/kafka/common/utils/Time.java: ## @@ -30,8 +30,6 @@ */ public interface Time { -Time SYSTEM = new SystemTime(); Review C

[jira] [Commented] (KAFKA-16893) ConnectorUtils can group elements in round-robin fashion

2024-06-08 Thread Fan Yang (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853388#comment-17853388 ] Fan Yang commented on KAFKA-16893: -- Here's the KIP: [KIP-1055: Introducing Round-Robin

[jira] (KAFKA-16893) ConnectorUtils can group elements in round-robin fashion

2024-06-08 Thread Fan Yang (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16893 ] Fan Yang deleted comment on KAFKA-16893: -- was (Author: JIRAUSER305427): Here's the KIP: [KIP-1055: Introducing Round-Robin Assignment Strategy to ConnectorUtils - Apache Kafka - Apache Softwar

Re: [PR] KAFKA-16893: ConnectorUtils can group elements in round-robin fashion [kafka]

2024-06-08 Thread via GitHub
fanyang commented on PR #16208: URL: https://github.com/apache/kafka/pull/16208#issuecomment-2156073280 Here's the KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-1055%3A+Introducing+Round-Robin+Assignment+Strategy+to+ConnectorUtils -- This is an automated message from the A

Re: [PR] KAFKA-16917: Align the returned Map type of KafkaAdminClient [kafka]

2024-06-08 Thread via GitHub
frankvicky commented on PR #16250: URL: https://github.com/apache/kafka/pull/16250#issuecomment-2156084937 Hi @chia7712, I have replace some `UnmodifiableMap` with `HashMap`, PTAL 😀 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

Re: [PR] KAFKA-16920: close BrokerLifecycleManager in tests [kafka]

2024-06-08 Thread via GitHub
gaurav-narula commented on PR #16252: URL: https://github.com/apache/kafka/pull/16252#issuecomment-2156087544 Thanks for the feedback! Force pushed a commit with your suggestions. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHu

Re: [PR] KAFKA-16917: Align the returned Map type of KafkaAdminClient [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #16250: URL: https://github.com/apache/kafka/pull/16250#discussion_r1632066886 ## clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java: ## @@ -3649,7 +3652,7 @@ public DeleteConsumerGroupOffsetsResult deleteConsumerGroupOff

Re: [PR] KAFKA-16901: Add unit tests for ConsumerRecords#records(String) [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632067288 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -35,28 +38,109 @@ public class ConsumerRecordsTest { @Test publi

Re: [PR] KAFKA-16878: Remove powermock and easymock from code base [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on PR #16236: URL: https://github.com/apache/kafka/pull/16236#issuecomment-2156091519 failed tests pass on my local. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specifi

Re: [PR] KAFKA-16878: Remove powermock and easymock from code base [kafka]

2024-06-08 Thread via GitHub
chia7712 merged PR #16236: URL: https://github.com/apache/kafka/pull/16236 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache

[jira] [Resolved] (KAFKA-16878) Remove powermock and easymock from code base

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai resolved KAFKA-16878. Fix Version/s: 3.9.0 Resolution: Fixed > Remove powermock and easymock from code ba

[jira] [Resolved] (KAFKA-14132) Remaining PowerMock to Mockito tests

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai resolved KAFKA-14132. Fix Version/s: 3.9.0 (was: 3.8.0) Resolution: Fixed > Remain

[jira] [Commented] (KAFKA-16921) Migrate all junit 4 assert to junit 5

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853397#comment-17853397 ] Chia-Ping Tsai commented on KAFKA-16921: There are many files which will get inv

[jira] [Commented] (KAFKA-16921) Migrate all junit 4 assert to junit 5

2024-06-08 Thread Jira
[ https://issues.apache.org/jira/browse/KAFKA-16921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853398#comment-17853398 ] 黃竣陽 commented on KAFKA-16921: - I'm interesting in this issue, I can handle it. Thank you >

Re: [PR] KAFKA-16878: Remove powermock and easymock from code base [kafka]

2024-06-08 Thread via GitHub
ijuma commented on PR #16236: URL: https://github.com/apache/kafka/pull/16236#issuecomment-2156096105 > Wow, we're finally doing it! According to [KAFKA-7438](https://issues.apache.org/jira/browse/KAFKA-7438), it looks like it almost took us 6 years to do it. Well done team, this was

Re: [PR] KAFKA-15713: KRaft support in AclCommandTest [kafka]

2024-06-08 Thread via GitHub
pasharik commented on PR #15830: URL: https://github.com/apache/kafka/pull/15830#issuecomment-2156108598 > Could you please take a look at failed tests? `AclCommandTest` seems to be fixed, but there are some other failing tests for jdk8 and jdk21 -- This is an automated message fro

[jira] [Resolved] (KAFKA-7438) Replace EasyMock and PowerMock with Mockito

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-7438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai resolved KAFKA-7438. --- Fix Version/s: 3.9.0 Resolution: Fixed > Replace EasyMock and PowerMock with Mockito >

Re: [PR] KAFKA-16921: Migrate all junit 4 assert to junit 5 in connect module [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on PR #16253: URL: https://github.com/apache/kafka/pull/16253#issuecomment-2156112376 The junit 4 assertions are not compatible to junit 5, so you ought to fix the conflicts :) -- This is an automated message from the Apache Git Service. To respond to the message, pleas

Re: [PR] KAFKA-16921: Migrate all junit 4 assert to junit 5 in connect module [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on PR #16253: URL: https://github.com/apache/kafka/pull/16253#issuecomment-2156112524 Also, please remove dependency "JUnit Vintage Engine" from connect module -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [PR] KAFKA-16890: Compute valid log-start-offset when deleting overlapping remote segments [kafka]

2024-06-08 Thread via GitHub
kamalcph commented on code in PR #16237: URL: https://github.com/apache/kafka/pull/16237#discussion_r1632086340 ## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ## @@ -954,7 +953,9 @@ public boolean isSegmentBreachedByRetentionTime(RemoteLogSegmentMetadata metadat

Re: [PR] KAFKA-12708 Rewrite org.apache.kafka.test.Microbenchmarks by JMH [kafka]

2024-06-08 Thread via GitHub
brandboat commented on PR #16231: URL: https://github.com/apache/kafka/pull/16231#issuecomment-2156132892 Modified a couple of things in the latest commit: 1. Add computeIfAbsent in each benchmark since in the code base we use both get and computeIfAbsent in CopyOnWriteMap, and we want to

Re: [PR] KAFKA-16890: Compute valid log-start-offset when deleting overlapping remote segments [kafka]

2024-06-08 Thread via GitHub
kamalcph commented on code in PR #16237: URL: https://github.com/apache/kafka/pull/16237#discussion_r1632086340 ## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ## @@ -954,7 +953,9 @@ public boolean isSegmentBreachedByRetentionTime(RemoteLogSegmentMetadata metadat

Re: [PR] KAFKA-16890: Compute valid log-start-offset when deleting overlapping remote segments [kafka]

2024-06-08 Thread via GitHub
kamalcph commented on code in PR #16237: URL: https://github.com/apache/kafka/pull/16237#discussion_r1632086340 ## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ## @@ -954,7 +953,9 @@ public boolean isSegmentBreachedByRetentionTime(RemoteLogSegmentMetadata metadat

Re: [PR] KAFKA-16890: Compute valid log-start-offset when deleting overlapping remote segments [kafka]

2024-06-08 Thread via GitHub
kamalcph commented on code in PR #16237: URL: https://github.com/apache/kafka/pull/16237#discussion_r1632086340 ## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ## @@ -954,7 +953,9 @@ public boolean isSegmentBreachedByRetentionTime(RemoteLogSegmentMetadata metadat

Re: [PR] KAFKA-16890: Compute valid log-start-offset when deleting overlapping remote segments [kafka]

2024-06-08 Thread via GitHub
kamalcph commented on code in PR #16237: URL: https://github.com/apache/kafka/pull/16237#discussion_r1632086340 ## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ## @@ -954,7 +953,9 @@ public boolean isSegmentBreachedByRetentionTime(RemoteLogSegmentMetadata metadat

Re: [PR] KAFKA-16917: Align the returned Map type of KafkaAdminClient [kafka]

2024-06-08 Thread via GitHub
dajac commented on PR #16250: URL: https://github.com/apache/kafka/pull/16250#issuecomment-2156186787 Out of curiosity, what’s the reason for not returning unmodifiable maps? I think that we should actually ensure that the admin client does not return modifiable maps. -- This is an autom

Re: [PR] KAFKA-16917: Align the returned Map type of KafkaAdminClient [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on PR #16250: URL: https://github.com/apache/kafka/pull/16250#issuecomment-2156189050 > Out of curiosity, what’s the reason for not returning unmodifiable maps? I think that we should actually ensure that the admin client does not return modifiable maps. I prefer t

[jira] [Created] (KAFKA-16922) add unit test for NewTopic

2024-06-08 Thread Chia-Ping Tsai (Jira)
Chia-Ping Tsai created KAFKA-16922: -- Summary: add unit test for NewTopic Key: KAFKA-16922 URL: https://issues.apache.org/jira/browse/KAFKA-16922 Project: Kafka Issue Type: Test R

Re: [PR] KAFKA-10787: Apply spotless to transaction-coordinator and server-common [kafka]

2024-06-08 Thread via GitHub
chia7712 merged PR #16172: URL: https://github.com/apache/kafka/pull/16172 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache

[jira] [Updated] (KAFKA-10787) Introduce an import order in Java sources

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai updated KAFKA-10787: --- Fix Version/s: 3.9.0 > Introduce an import order in Java sources > -

[jira] [Assigned] (KAFKA-12572) Add import ordering checkstyle rule and configure an automatic formatter

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai reassigned KAFKA-12572: -- Assignee: xuanzhang gong (was: Dongjin Lee) > Add import ordering checkstyle rule an

[jira] [Assigned] (KAFKA-10787) Introduce an import order in Java sources

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai reassigned KAFKA-10787: -- Assignee: xuanzhang gong (was: Dongjin Lee) > Introduce an import order in Java sour

Re: [PR] MINOR: migrate DescribeConsumerGroupTest to use ClusterTestExtensions [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #15908: URL: https://github.com/apache/kafka/pull/15908#discussion_r1632118232 ## tools/src/test/java/org/apache/kafka/tools/consumer/group/DescribeConsumerGroupTest.java: ## @@ -16,88 +16,100 @@ */ package org.apache.kafka.tools.consumer.grou

[jira] [Commented] (KAFKA-16922) add unit test for NewTopic

2024-06-08 Thread Muralidhar Basani (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853438#comment-17853438 ] Muralidhar Basani commented on KAFKA-16922: --- [~chia7712] seems like there is n

Re: [PR] KAFKA-15713: KRaft support in AclCommandTest [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #15830: URL: https://github.com/apache/kafka/pull/15830#discussion_r1632119543 ## core/src/test/scala/unit/kafka/admin/AclCommandTest.scala: ## @@ -325,11 +349,15 @@ class AclCommandTest extends QuorumTestHarness with Logging { private def

Re: [PR] MINOR:Topic command integration test migrate to new test infra [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #16127: URL: https://github.com/apache/kafka/pull/16127#discussion_r1632120413 ## core/src/test/java/kafka/testkit/KafkaClusterTestKit.java: ## @@ -353,6 +354,9 @@ static private void setupNodeDirectories(File baseDirectory, private final Te

[jira] [Commented] (KAFKA-16922) add unit test for NewTopic

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853439#comment-17853439 ] Chia-Ping Tsai commented on KAFKA-16922: sure, please feel free to take over thi

[jira] [Commented] (KAFKA-12199) Migrate connect:runtime module to JUnit 5

2024-06-08 Thread Hector Geraldino (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853441#comment-17853441 ] Hector Geraldino commented on KAFKA-12199: -- Hey [~chia7712], Now that all conn

Re: [PR] KAFKA-15265: Integrate RLMQuotaManager for throttling copies to remote storage [kafka]

2024-06-08 Thread via GitHub
abhijeetk88 commented on PR #15820: URL: https://github.com/apache/kafka/pull/15820#issuecomment-2156212270 @kamalcph I have addressed your comments, please take a look. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [PR] KAFKA-15265: Integrate RLMQuotaManager for throttling copies to remote storage [kafka]

2024-06-08 Thread via GitHub
abhijeetk88 commented on code in PR #15820: URL: https://github.com/apache/kafka/pull/15820#discussion_r1632125146 ## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ## @@ -750,6 +762,23 @@ public void copyLogSegmentsToRemote(UnifiedLog log) throws InterruptedExcepti

[jira] [Commented] (KAFKA-16921) Migrate all junit 4 assert to junit 5 for connect module

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853443#comment-17853443 ] Chia-Ping Tsai commented on KAFKA-16921: the streams module can be addressed by

[jira] [Assigned] (KAFKA-15623) Migrate remaining tests in streams module to JUnit 5

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai reassigned KAFKA-15623: -- Assignee: 黃竣陽 > Migrate remaining tests in streams module to JUnit 5 > --

[jira] [Updated] (KAFKA-16921) Migrate all junit 4 assert to junit 5 for connect module

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai updated KAFKA-16921: --- Summary: Migrate all junit 4 assert to junit 5 for connect module (was: Migrate all junit 4

[jira] [Commented] (KAFKA-12199) Migrate connect:runtime module to JUnit 5

2024-06-08 Thread Hector Geraldino (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853444#comment-17853444 ] Hector Geraldino commented on KAFKA-12199: -- Sorry, what I meant is that the Moc

Re: [PR] KAFKA-15265: Dynamic broker configs for remote fetch/copy quotas [kafka]

2024-06-08 Thread via GitHub
abhijeetk88 commented on code in PR #16078: URL: https://github.com/apache/kafka/pull/16078#discussion_r1632127500 ## core/src/main/scala/kafka/server/DynamicBrokerConfig.scala: ## @@ -1166,7 +1166,9 @@ class DynamicRemoteLogConfig(server: KafkaBroker) extends BrokerReconfigura

Re: [PR] KAFKA-15265: Dynamic broker configs for remote fetch/copy quotas [kafka]

2024-06-08 Thread via GitHub
abhijeetk88 commented on code in PR #16078: URL: https://github.com/apache/kafka/pull/16078#discussion_r1632127666 ## core/src/main/scala/kafka/server/DynamicBrokerConfig.scala: ## @@ -1195,13 +1214,19 @@ class DynamicRemoteLogConfig(server: KafkaBroker) extends BrokerReconfigu

Re: [PR] KAFKA-16920: close BrokerLifecycleManager in tests [kafka]

2024-06-08 Thread via GitHub
soarez merged PR #16252: URL: https://github.com/apache/kafka/pull/16252 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.o

Re: [PR] KAFKA-15265: Dynamic broker configs for remote fetch/copy quotas [kafka]

2024-06-08 Thread via GitHub
abhijeetk88 commented on code in PR #16078: URL: https://github.com/apache/kafka/pull/16078#discussion_r1632133058 ## core/src/main/scala/kafka/server/DynamicBrokerConfig.scala: ## @@ -1179,14 +1181,31 @@ class DynamicRemoteLogConfig(server: KafkaBroker) extends BrokerReconfigu

Re: [PR] KAFKA-15265: Dynamic broker configs for remote fetch/copy quotas [kafka]

2024-06-08 Thread via GitHub
abhijeetk88 commented on PR #16078: URL: https://github.com/apache/kafka/pull/16078#issuecomment-2156228028 @satishd I have addressed your comments. Please take a look. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use t

Re: [PR] KAFKA-16001 Migrated ConsumerNetworkThreadTest away from ConsumerTestBuilder [kafka]

2024-06-08 Thread via GitHub
philipnee commented on code in PR #16140: URL: https://github.com/apache/kafka/pull/16140#discussion_r1632136201 ## clients/src/test/java/org/apache/kafka/clients/consumer/internals/ConsumerNetworkThreadTest.java: ## @@ -211,178 +220,52 @@ public void testResetPositionsProcessFa

Re: [PR] KAFKA-16557 Implemented OffsetFetchRequestState toStringBase and added a test for it in CommitRequestManagerTest [kafka]

2024-06-08 Thread via GitHub
philipnee commented on code in PR #16115: URL: https://github.com/apache/kafka/pull/16115#discussion_r1632136312 ## clients/src/test/java/org/apache/kafka/clients/consumer/internals/CommitRequestManagerTest.java: ## @@ -123,6 +124,50 @@ public void setup() { this.props.

Re: [PR] KAFKA-16557 Implemented OffsetFetchRequestState toStringBase and added a test for it in CommitRequestManagerTest [kafka]

2024-06-08 Thread via GitHub
philipnee commented on code in PR #16115: URL: https://github.com/apache/kafka/pull/16115#discussion_r1632136312 ## clients/src/test/java/org/apache/kafka/clients/consumer/internals/CommitRequestManagerTest.java: ## @@ -123,6 +124,50 @@ public void setup() { this.props.

Re: [PR] KAFKA-16921: Migrate all junit 4 assert to junit 5 for connect module [kafka]

2024-06-08 Thread via GitHub
chia7712 commented on code in PR #16253: URL: https://github.com/apache/kafka/pull/16253#discussion_r1632143665 ## build.gradle: ## @@ -3248,7 +3248,6 @@ project(':connect:runtime') { testImplementation project(':group-coordinator') testImplementation libs.junitJ

[jira] [Updated] (KAFKA-16921) Migrate all junit 4 assert to junit 5 for connect module

2024-06-08 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai updated KAFKA-16921: --- Description: # replace all "org.junit.Assert." by "org.junit.jupiter.api.Assertions.". # re

  1   2   >