Re: [PR] KAFKA-16924: add slf4jlog4j dependey in tool [kafka]

2024-06-09 Thread via GitHub
showuon commented on PR #16260: URL: https://github.com/apache/kafka/pull/16260#issuecomment-2157472921 I confirmed if we ran the distribution (i.e. `./gradlew clean releaseTarGz`), everything still works well. This issue only impact users using `./gradlew clean jar` to run kafka. -- Thi

Re: [PR] KAFKA-16373: KIP-1028: Modifying Readme for Docker official images [kafka]

2024-06-09 Thread via GitHub
omkreddy merged PR #16226: URL: https://github.com/apache/kafka/pull/16226 -- 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

Re: [PR] KAFKA-16924: add slf4jlog4j dependey in tool [kafka]

2024-06-09 Thread via GitHub
chia7712 commented on PR #16260: URL: https://github.com/apache/kafka/pull/16260#issuecomment-2157439747 The reload4j is introduced by streams example, and that works in distribution. However, "./gradlew jar" does not work since we don't include dependent-libs of stream example.

Re: [PR] KAFKA-16373: KIP-1028: Adding 3.7.0 docker official images static assets (#1) [kafka]

2024-06-09 Thread via GitHub
VedarthConfluent commented on code in PR #16224: URL: https://github.com/apache/kafka/pull/16224#discussion_r1632644776 ## docker/docker_official_images/3.7.0/jvm/Dockerfile: ## @@ -0,0 +1,95 @@ +### +#

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

2024-06-09 Thread via GitHub
dajac commented on PR #16158: URL: https://github.com/apache/kafka/pull/16158#issuecomment-2157411292 Merged trunk to include https://github.com/apache/kafka/pull/16249. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [PR] [WIP]KAFKA-15444: Native docker image [kafka]

2024-06-09 Thread via GitHub
omkreddy closed pull request #14556: [WIP]KAFKA-15444: Native docker image URL: https://github.com/apache/kafka/pull/14556 -- 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 un

Re: [PR] KAFKA-16894: Define group.version=2 [kafka]

2024-06-09 Thread via GitHub
omkreddy commented on PR #16212: URL: https://github.com/apache/kafka/pull/16212#issuecomment-2157321710 There are few test failures -- 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 c

[jira] [Commented] (KAFKA-16803) Upgrade to a version of ShadowJavaPlugin which doesn't use ConfigureUtil

2024-06-09 Thread Ksolves (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853549#comment-17853549 ] Ksolves commented on KAFKA-16803: - Sure, [~gharris1727]. Will create PR and update you.

[jira] [Assigned] (KAFKA-16803) Upgrade to a version of ShadowJavaPlugin which doesn't use ConfigureUtil

2024-06-09 Thread Ksolves (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ksolves reassigned KAFKA-16803: --- Assignee: Ksolves > Upgrade to a version of ShadowJavaPlugin which doesn't use ConfigureUtil >

[jira] [Updated] (KAFKA-16924) No log output when running kafka

2024-06-09 Thread Luke Chen (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Chen updated KAFKA-16924: -- Description: In [https://github.com/apache/kafka/pull/12148] , we removed log4jAppender dependency, a

Re: [PR] KAFKA-16924: add slf4jlog4j dependey in tool [kafka]

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16260: URL: https://github.com/apache/kafka/pull/16260#discussion_r1632550895 ## build.gradle: ## @@ -2178,6 +2177,7 @@ project(':tools') { implementation libs.jacksonDataformatCsv implementation libs.jacksonJDK8Datatypes implemen

Re: [PR] KAFKA-16114:Fix partiton not retention after cancel alter intra broke… [kafka]

2024-06-09 Thread via GitHub
github-actions[bot] commented on PR #15172: URL: https://github.com/apache/kafka/pull/15172#issuecomment-2157136679 This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please ask a committer for review. If the PR has merge

Re: [PR] KAFKA-16295: Align RocksDB and in-memory store init() sequences [kafka]

2024-06-09 Thread via GitHub
github-actions[bot] commented on PR #15421: URL: https://github.com/apache/kafka/pull/15421#issuecomment-2157136573 This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please ask a committer for review. If the PR has merge

Re: [PR] MINOR: update kraft_upgrade_test to create a new topic after metadata upgrade [kafka]

2024-06-09 Thread via GitHub
github-actions[bot] commented on PR #15451: URL: https://github.com/apache/kafka/pull/15451#issuecomment-2157136549 This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please ask a committer for review. If the PR has merge

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

2024-06-09 Thread via GitHub
frankvicky commented on PR #16227: URL: https://github.com/apache/kafka/pull/16227#issuecomment-2157060477 Hi @chia7712 , I have do some changes and add a test case, PTAL 🐧 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[jira] [Assigned] (KAFKA-16913) Support external schemas in JSONConverter

2024-06-09 Thread Ganesh Sadanala (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ganesh Sadanala reassigned KAFKA-16913: --- Assignee: Ganesh Sadanala > Support external schemas in JSONConverter > ---

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

2024-06-09 Thread via GitHub
frankvicky commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632484396 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -31,32 +31,129 @@ import org.apache.kafka.common.record.TimestampType; i

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

2024-06-09 Thread via GitHub
frankvicky commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632484236 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -31,32 +31,129 @@ import org.apache.kafka.common.record.TimestampType; i

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

2024-06-09 Thread via GitHub
frankvicky commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632481576 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -31,32 +31,129 @@ import org.apache.kafka.common.record.TimestampType; i

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

2024-06-09 Thread via GitHub
frankvicky commented on PR #16250: URL: https://github.com/apache/kafka/pull/16250#issuecomment-2157010773 Hi @chia7712, I have do a simple change based on your feedback, PTAL 😸 -- 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-09 Thread via GitHub
frankvicky commented on code in PR #16250: URL: https://github.com/apache/kafka/pull/16250#discussion_r1632479332 ## clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java: ## @@ -2760,9 +2760,12 @@ void handleFailure(Throwable throwable) { }, no

Re: [PR] KAFKA-16924: add slf4jlog4j dependey in tool [kafka]

2024-06-09 Thread via GitHub
showuon commented on PR #16260: URL: https://github.com/apache/kafka/pull/16260#issuecomment-2156996030 @chia7712 , could you have a 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] [Updated] (KAFKA-16924) No log output when running kafka

2024-06-09 Thread Luke Chen (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Chen updated KAFKA-16924: -- Description: In [https://github.com/apache/kafka/pull/12148] , we removed log4jAppender dependency, a

[jira] [Updated] (KAFKA-16924) No log output when running kafka

2024-06-09 Thread Luke Chen (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Chen updated KAFKA-16924: -- Description: In https://github.com/apache/kafka/pull/12148 , we removed log4jAppender dependency, and

[PR] KAFKA-16924: add slf4jlog4j dependey in tool [kafka]

2024-06-09 Thread via GitHub
showuon opened a new pull request, #16260: URL: https://github.com/apache/kafka/pull/16260 In https://github.com/apache/kafka/pull/12148 , we removed log4jAppender dependency, and add testImplementation dependency for `slf4jlog4j` lib. However, we need this runtime dependency in tools modul

[jira] [Created] (KAFKA-16924) No log output when running kafka

2024-06-09 Thread Luke Chen (Jira)
Luke Chen created KAFKA-16924: - Summary: No log output when running kafka Key: KAFKA-16924 URL: https://issues.apache.org/jira/browse/KAFKA-16924 Project: Kafka Issue Type: Bug Repor

[jira] [Commented] (KAFKA-16923) New Unit Test for stripDotPathComponents method

2024-06-09 Thread Arnav Dadarya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853543#comment-17853543 ] Arnav Dadarya commented on KAFKA-16923: --- I have submitted a pull request ([https:

[jira] [Updated] (KAFKA-16923) New Unit Test for stripDotPathComponents method

2024-06-09 Thread Arnav Dadarya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arnav Dadarya updated KAFKA-16923: -- Description: I have written 1 new unit test and modified another unit test. Created new test:

[jira] [Updated] (KAFKA-16923) New Unit Test for stripDotPathComponents method

2024-06-09 Thread Arnav Dadarya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arnav Dadarya updated KAFKA-16923: -- Description: I have written 1 new unit test Created new test: *testStripDotPathComponents* *

[jira] (KAFKA-16923) New Unit Test for stripDotPathComponents method

2024-06-09 Thread Arnav Dadarya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16923 ] Arnav Dadarya deleted comment on KAFKA-16923: --- was (Author: JIRAUSER303990): https://github.com/apache/kafka/pull/16258 > New Unit Test for stripDotPathComponents method >

[jira] [Updated] (KAFKA-16923) New Unit Test for stripDotPathComponents method

2024-06-09 Thread Arnav Dadarya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arnav Dadarya updated KAFKA-16923: -- Description: I have written 1 new unit test and modified another unit test. Created new test:

[jira] [Updated] (KAFKA-16923) New Unit Test for stripDotPathComponents method

2024-06-09 Thread Arnav Dadarya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arnav Dadarya updated KAFKA-16923: -- External issue URL: https://github.com/apache/kafka/pull/16259 (was: https://github.com/apach

Re: [PR] Unit Test for stripDotPathComponents method in shell [kafka]

2024-06-09 Thread via GitHub
ardada2468 commented on PR #16259: URL: https://github.com/apache/kafka/pull/16259#issuecomment-2156909921 only shell/src/test/java/org/apache/kafka/shell/command/CommandUtilsTest.java file has been changed to incorporate 1 more unit test -- This is an automated message from the Apache G

[PR] Unit Test for stripDotPathComponents method in shell [kafka]

2024-06-09 Thread via GitHub
ardada2468 opened a new pull request, #16259: URL: https://github.com/apache/kafka/pull/16259 I have written 1 new unit test and modified another unit test. Created new test: **testStripDotPathComponents** - Tests the stripDotPathComponents found in CommandUtils - Ensures tha

Re: [PR] Created a new unit test for stripDotPathComponents method and updated… [kafka]

2024-06-09 Thread via GitHub
ardada2468 closed pull request #16258: Created a new unit test for stripDotPathComponents method and updated… URL: https://github.com/apache/kafka/pull/16258 -- 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 t

[jira] [Created] (KAFKA-16923) New Unit Test for stripDotPathComponents method

2024-06-09 Thread Arnav Dadarya (Jira)
Arnav Dadarya created KAFKA-16923: - Summary: New Unit Test for stripDotPathComponents method Key: KAFKA-16923 URL: https://issues.apache.org/jira/browse/KAFKA-16923 Project: Kafka Issue Type:

[PR] Created a new unit test for stripDotPathComponents method and updated… [kafka]

2024-06-09 Thread via GitHub
ardada2468 opened a new pull request, #16258: URL: https://github.com/apache/kafka/pull/16258 I have written 1 new unit test and modified another unit test. Created new test: **testStripDotPathComponents** - Tests the stripDotPathComponents found in CommandUtils - Ensure

Re: [PR] KAFKA-15853: Move configDef out of core [kafka]

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16116: URL: https://github.com/apache/kafka/pull/16116#discussion_r1632396978 ## server/src/main/java/org/apache/kafka/server/config/KafkaConfig.java: ## @@ -0,0 +1,420 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or mor

Re: [PR] KAFKA-15853: Move configDef out of core [kafka]

2024-06-09 Thread via GitHub
OmniaGM commented on code in PR #16116: URL: https://github.com/apache/kafka/pull/16116#discussion_r1632391480 ## server/src/main/java/org/apache/kafka/server/config/KafkaConfig.java: ## @@ -0,0 +1,420 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more

[jira] [Comment Edited] (KAFKA-16855) KRaft - Wire replaying a TopicRecord

2024-06-09 Thread Muralidhar Basani (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853535#comment-17853535 ] Muralidhar Basani edited comment on KAFKA-16855 at 6/9/24 8:30 PM: ---

[jira] [Commented] (KAFKA-16855) KRaft - Wire replaying a TopicRecord

2024-06-09 Thread Muralidhar Basani (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853535#comment-17853535 ] Muralidhar Basani commented on KAFKA-16855: --- [~christo_lolov] I tried to work

[PR] KAFKA-16855 : Part 1 - New fields tieredEpoch and tieredState [kafka]

2024-06-09 Thread via GitHub
muralibasani opened a new pull request, #16257: URL: https://github.com/apache/kafka/pull/16257 Resolves : https://issues.apache.org/jira/browse/KAFKA-16855 - Add field tieredEpoch to RemoteLogSegmentMetadata - Update relevant tests - Add two fields tieredEpoch and tieredState t

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

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16127: URL: https://github.com/apache/kafka/pull/16127#discussion_r1632376721 ## core/src/test/java/kafka/testkit/KafkaClusterTestKit.java: ## @@ -188,12 +188,13 @@ private KafkaConfig createNodeConfig(TestKitNode node) { co

Re: [PR] KAFKA-16407: Fix foreign key INNER join on change of FK from/to a null value [kafka]

2024-06-09 Thread via GitHub
jeremyvdw commented on PR #15615: URL: https://github.com/apache/kafka/pull/15615#issuecomment-2156746613 @mjsax According to the [release plan](https://cwiki.apache.org/confluence/display/KAFKA/Release+Plan+3.8.0) code freeze nis on 12th June: any chance this one and https://github.com/ap

Re: [PR] KAFKA-16922 : Adding unit tests for NewTopic [kafka]

2024-06-09 Thread via GitHub
muralibasani commented on code in PR #16255: URL: https://github.com/apache/kafka/pull/16255#discussion_r1632371896 ## clients/src/test/java/org/apache/kafka/clients/admin/NewTopicTest.java: ## @@ -0,0 +1,149 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

Re: [PR] KAFKA-16922 : Adding unit tests for NewTopic [kafka]

2024-06-09 Thread via GitHub
muralibasani commented on code in PR #16255: URL: https://github.com/apache/kafka/pull/16255#discussion_r1632371830 ## clients/src/test/java/org/apache/kafka/clients/admin/NewTopicTest.java: ## @@ -0,0 +1,149 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

Re: [PR] KAFKA-16922 : Adding unit tests for NewTopic [kafka]

2024-06-09 Thread via GitHub
muralibasani commented on code in PR #16255: URL: https://github.com/apache/kafka/pull/16255#discussion_r1632371782 ## clients/src/test/java/org/apache/kafka/clients/admin/NewTopicTest.java: ## @@ -0,0 +1,149 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

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

2024-06-09 Thread via GitHub
TaiJuWu commented on code in PR #16127: URL: https://github.com/apache/kafka/pull/16127#discussion_r1632369365 ## core/src/test/java/kafka/testkit/KafkaClusterTestKit.java: ## @@ -188,12 +188,13 @@ private KafkaConfig createNodeConfig(TestKitNode node) { con

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

2024-06-09 Thread via GitHub
dopuskh3 commented on code in PR #16237: URL: https://github.com/apache/kafka/pull/16237#discussion_r1632367056 ## core/src/test/java/kafka/log/remote/RemoteLogManagerTest.java: ## @@ -2038,6 +2038,69 @@ public void testDeletionOnRetentionBreachedSegments(long retentionSize,

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

2024-06-09 Thread via GitHub
dopuskh3 commented on code in PR #16237: URL: https://github.com/apache/kafka/pull/16237#discussion_r1632367056 ## core/src/test/java/kafka/log/remote/RemoteLogManagerTest.java: ## @@ -2038,6 +2038,69 @@ public void testDeletionOnRetentionBreachedSegments(long retentionSize,

Re: [PR] KAFKA-16922 : Adding unit tests for NewTopic [kafka]

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16255: URL: https://github.com/apache/kafka/pull/16255#discussion_r1632366297 ## clients/src/test/java/org/apache/kafka/clients/admin/NewTopicTest.java: ## @@ -0,0 +1,149 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or m

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

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16244: URL: https://github.com/apache/kafka/pull/16244#discussion_r1632364409 ## storage/src/test/java/org/apache/kafka/storage/internals/log/OffsetIndexTest.java: ## @@ -0,0 +1,269 @@ +/* + * Licensed to the Apache Software Foundation (ASF) und

[jira] [Resolved] (KAFKA-16885) Consider renaming RemoteLogManagerConfig#enableRemoteStorageSystem to RemoteLogManagerConfig#isRemoteStorageSystemEnabled

2024-06-09 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai resolved KAFKA-16885. Fix Version/s: 3.9.0 Resolution: Fixed > Consider renaming RemoteLogManagerConfig#e

Re: [PR] KAFKA-16885 Renamed the enableRemoteStorageSystem to isRemoteStorageSystemEnabled [kafka]

2024-06-09 Thread via GitHub
chia7712 merged PR #16256: URL: https://github.com/apache/kafka/pull/16256 -- 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

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

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16250: URL: https://github.com/apache/kafka/pull/16250#discussion_r1632361233 ## clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java: ## @@ -2760,9 +2760,12 @@ void handleFailure(Throwable throwable) { }, now)

Re: [PR] KAFKA-16921: Migrate all junit 4 code to junit 5 for connect module (part 1) [kafka]

2024-06-09 Thread via GitHub
chia7712 commented on PR #16253: URL: https://github.com/apache/kafka/pull/16253#issuecomment-2156719721 @m1a2st Could you please split this PR into small PRs (similar to #16253)? It is hard to complete the migration (and review) at once. -- This is an automated message from the Apache Gi

Re: [PR] KAFKA-15853: Move configDef out of core [kafka]

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16116: URL: https://github.com/apache/kafka/pull/16116#discussion_r1632360489 ## server/src/main/java/org/apache/kafka/server/config/KafkaConfig.java: ## @@ -0,0 +1,420 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or mor

Re: [PR] KAFKA-15853: Move configDef out of core [kafka]

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16116: URL: https://github.com/apache/kafka/pull/16116#discussion_r1632358879 ## server/src/main/java/org/apache/kafka/server/config/KafkaConfig.java: ## @@ -0,0 +1,420 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or mor

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

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16231: URL: https://github.com/apache/kafka/pull/16231#discussion_r1632358803 ## jmh-benchmarks/src/main/java/org/apache/kafka/jmh/util/ConcurrentMapBenchmark.java: ## @@ -0,0 +1,175 @@ +/* + * Licensed to the Apache Software Foundation (ASF) un

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

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

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

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16127: URL: https://github.com/apache/kafka/pull/16127#discussion_r1632358211 ## core/src/test/java/kafka/testkit/KafkaClusterTestKit.java: ## @@ -188,12 +188,13 @@ private KafkaConfig createNodeConfig(TestKitNode node) { co

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

2024-06-09 Thread via GitHub
chia7712 commented on code in PR #16227: URL: https://github.com/apache/kafka/pull/16227#discussion_r1632355536 ## clients/src/test/java/org/apache/kafka/clients/consumer/ConsumerRecordsTest.java: ## @@ -31,32 +31,129 @@ import org.apache.kafka.common.record.TimestampType; imp

Re: [PR] KAFKA-16895: fix off-by-one bug in RemoteCopyLagSegments [kafka]

2024-06-09 Thread via GitHub
dopuskh3 commented on PR #16210: URL: https://github.com/apache/kafka/pull/16210#issuecomment-2156701940 @kamalcph updated test case. PTAL -- 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-16919) Flaky test testNoCheckpointsIfNoRecordsAreMirrored() – org.apache.kafka.connect.mirror.integration.MirrorConnectorsIntegrationSSLTest

2024-06-09 Thread Muralidhar Basani (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853511#comment-17853511 ] Muralidhar Basani commented on KAFKA-16919: --- [~soarez] I suspect there could b

Re: [PR] KAFKA-16895: fix off-by-one bug in RemoteCopyLagSegments [kafka]

2024-06-09 Thread via GitHub
dopuskh3 commented on PR #16210: URL: https://github.com/apache/kafka/pull/16210#issuecomment-2156696910 > @dopuskh3 > > Any updates on this? Should be able to give it a try tomorrow. Pulling the fix on our internal branch right now. -- This is an automated message from

[jira] [Updated] (KAFKA-15166) Add deletePartition API to the RemoteStorageManager

2024-06-09 Thread Kamal Chandraprakash (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kamal Chandraprakash updated KAFKA-15166: - Fix Version/s: (was: 3.8.0) > Add deletePartition API to the RemoteStorageMa

[jira] [Resolved] (KAFKA-15777) Configurable remote fetch bytes per partition from Consumer

2024-06-09 Thread Kamal Chandraprakash (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kamal Chandraprakash resolved KAFKA-15777. -- Resolution: Won't Fix > Configurable remote fetch bytes per partition from Con

Re: [PR] KAFKA-15853: Move configDef out of core [kafka]

2024-06-09 Thread via GitHub
OmniaGM commented on code in PR #16116: URL: https://github.com/apache/kafka/pull/16116#discussion_r1632251507 ## server/src/main/java/org/apache/kafka/server/config/KafkaConfig.java: ## @@ -0,0 +1,420 @@ +/* + * 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-09 Thread via GitHub
m1a2st commented on code in PR #16244: URL: https://github.com/apache/kafka/pull/16244#discussion_r1632348365 ## storage/src/test/java/org/apache/kafka/storage/internals/log/OffsetIndexTest.java: ## @@ -0,0 +1,268 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

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

2024-06-09 Thread via GitHub
chia7712 commented on PR #16158: URL: https://github.com/apache/kafka/pull/16158#issuecomment-2156662574 I prefer to check all failed tests before merging. And the last commit of this PR does not have completed CI. That is why I suggest to rebase code to trigger QA again. -- This is an a

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

2024-06-09 Thread via GitHub
brandboat commented on code in PR #16231: URL: https://github.com/apache/kafka/pull/16231#discussion_r1632327595 ## jmh-benchmarks/src/main/java/org/apache/kafka/jmh/util/ConcurrentMapBenchmark.java: ## @@ -0,0 +1,92 @@ +/* + * Licensed to the Apache Software Foundation (ASF) un

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

2024-06-09 Thread via GitHub
chia7712 commented on PR #16158: URL: https://github.com/apache/kafka/pull/16158#issuecomment-2156661854 @riedelmax #16249 fix the blocked tests. Without that fix, the CI will get timeout when running your PR -- This is an automated message from the Apache Git Service. To respond to the m

Re: [PR] KAFKA-15853: Move configDef out of core [kafka]

2024-06-09 Thread via GitHub
OmniaGM commented on code in PR #16116: URL: https://github.com/apache/kafka/pull/16116#discussion_r1632251507 ## server/src/main/java/org/apache/kafka/server/config/KafkaConfig.java: ## @@ -0,0 +1,420 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more

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

2024-06-09 Thread via GitHub
kamalcph commented on code in PR #16078: URL: https://github.com/apache/kafka/pull/16078#discussion_r1632316732 ## core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala: ## @@ -817,6 +817,119 @@ class DynamicBrokerConfigTest { Mockito.verifyNoMoreInteractions(

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

2024-06-09 Thread via GitHub
kamalcph commented on code in PR #16078: URL: https://github.com/apache/kafka/pull/16078#discussion_r1632316363 ## core/src/test/scala/unit/kafka/server/DynamicBrokerConfigTest.scala: ## @@ -817,6 +817,119 @@ class DynamicBrokerConfigTest { Mockito.verifyNoMoreInteractions(

Re: [PR] KAFKA-16895: fix off-by-one bug in RemoteCopyLagSegments [kafka]

2024-06-09 Thread via GitHub
kamalcph commented on PR #16210: URL: https://github.com/apache/kafka/pull/16210#issuecomment-2156632862 @dopuskh3 Any updates on this? -- 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

[jira] [Updated] (KAFKA-16401) Client requests and consumer-pref test failed

2024-06-09 Thread gendong1 (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] gendong1 updated KAFKA-16401: - Description: The cluster consists of 3 nodes. When the storeOffsets is delay due to fail-slow disk, the

[PR] Renamed the enableRemoteStorageSystem to isRemoteStorageSystemEnabled [kafka]

2024-06-09 Thread via GitHub
chiacyu opened a new pull request, #16256: URL: https://github.com/apache/kafka/pull/16256 This PR is based on [KAFKA-16885](https://issues.apache.org/jira/browse/KAFKA-16885). See the [discussion](https://github.com/apache/kafka/pull/16153#issuecomment-2144269279) for further details.

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

2024-06-09 Thread via GitHub
riedelmax commented on PR #16158: URL: https://github.com/apache/kafka/pull/16158#issuecomment-2156601592 @chia7712 would you mind to explain how #16249 effects this PR? if there are no conflicts with trunk i dont need to rebase or merge manually right? -- This is an automated message fro

[jira] [Commented] (KAFKA-16885) Consider renaming RemoteLogManagerConfig#enableRemoteStorageSystem to RemoteLogManagerConfig#isRemoteStorageSystemEnabled

2024-06-09 Thread Chia Chuan Yu (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853493#comment-17853493 ] Chia Chuan Yu commented on KAFKA-16885: --- Hi, [~ckamal]  Yes, I'm working on this

[jira] [Commented] (KAFKA-16885) Consider renaming RemoteLogManagerConfig#enableRemoteStorageSystem to RemoteLogManagerConfig#isRemoteStorageSystemEnabled

2024-06-09 Thread Kamal Chandraprakash (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853492#comment-17853492 ] Kamal Chandraprakash commented on KAFKA-16885: -- [~chiacyu]  Are you workin

Re: [PR] KAFKA-15853: Move configDef out of core [kafka]

2024-06-09 Thread via GitHub
OmniaGM commented on code in PR #16116: URL: https://github.com/apache/kafka/pull/16116#discussion_r1632251507 ## server/src/main/java/org/apache/kafka/server/config/KafkaConfig.java: ## @@ -0,0 +1,420 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] KAFKA-15853: Move configDef out of core [kafka]

2024-06-09 Thread via GitHub
OmniaGM commented on code in PR #16116: URL: https://github.com/apache/kafka/pull/16116#discussion_r1632251507 ## server/src/main/java/org/apache/kafka/server/config/KafkaConfig.java: ## @@ -0,0 +1,420 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more

Re: [PR] KAFKA-16922 : Adding unit tests for NewTopic [kafka]

2024-06-09 Thread via GitHub
muralibasani commented on PR #16255: URL: https://github.com/apache/kafka/pull/16255#issuecomment-2156419270 @chia7712 can you pls 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 the URL above to go to th

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

2024-06-09 Thread via GitHub
kamalcph commented on code in PR #16078: URL: https://github.com/apache/kafka/pull/16078#discussion_r1632220708 ## core/src/main/scala/kafka/server/DynamicBrokerConfig.scala: ## @@ -1165,43 +1165,66 @@ class DynamicRemoteLogConfig(server: KafkaBroker) extends BrokerReconfigurab

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

2024-06-09 Thread via GitHub
kamalcph commented on code in PR #16078: URL: https://github.com/apache/kafka/pull/16078#discussion_r1632220708 ## core/src/main/scala/kafka/server/DynamicBrokerConfig.scala: ## @@ -1165,43 +1165,66 @@ class DynamicRemoteLogConfig(server: KafkaBroker) extends BrokerReconfigurab

[PR] KAFKA-16922 : Adding unit tests for NewTopic [kafka]

2024-06-09 Thread via GitHub
muralibasani opened a new pull request, #16255: URL: https://github.com/apache/kafka/pull/16255 Resolves https://issues.apache.org/jira/browse/KAFKA-16922 Adding unit tests for org.apache.kafka.clients.admin.NewTopic ### Committer Checklist (excluded from commit message) - [X

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

2024-06-09 Thread via GitHub
kamalcph commented on code in PR #15820: URL: https://github.com/apache/kafka/pull/15820#discussion_r1632218079 ## core/src/test/java/kafka/log/remote/RemoteLogManagerTest.java: ## @@ -2730,6 +2742,206 @@ public void testEpochEntriesAsByteBuffer() throws Exception { }

[PR] KAFKA-15623: Migrate streams tests (part 1) module to JUnit 5 [kafka]

2024-06-09 Thread via GitHub
FrankYang0529 opened a new pull request, #16254: URL: https://github.com/apache/kafka/pull/16254 *More detailed description of your change, if necessary. The PR title and PR message become the squashed commit message, so use a separate comment to ping reviewers.* *Summary of t

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

2024-06-09 Thread via GitHub
kamalcph commented on code in PR #15820: URL: https://github.com/apache/kafka/pull/15820#discussion_r1632218079 ## core/src/test/java/kafka/log/remote/RemoteLogManagerTest.java: ## @@ -2730,6 +2742,206 @@ public void testEpochEntriesAsByteBuffer() throws Exception { }

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

2024-06-09 Thread via GitHub
TaiJuWu commented on code in PR #16244: URL: https://github.com/apache/kafka/pull/16244#discussion_r1632215976 ## storage/src/test/java/org/apache/kafka/storage/internals/log/OffsetIndexTest.java: ## @@ -0,0 +1,268 @@ +/* + * Licensed to the Apache Software Foundation (ASF) unde

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

2024-06-09 Thread via GitHub
TaiJuWu commented on code in PR #16244: URL: https://github.com/apache/kafka/pull/16244#discussion_r1632215976 ## storage/src/test/java/org/apache/kafka/storage/internals/log/OffsetIndexTest.java: ## @@ -0,0 +1,268 @@ +/* + * Licensed to the Apache Software Foundation (ASF) unde

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

2024-06-09 Thread Muralidhar Basani (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Muralidhar Basani reassigned KAFKA-16922: - Assignee: Muralidhar Basani (was: Chia-Ping Tsai) > add unit test for NewTopic

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

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

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

2024-06-09 Thread via GitHub
TaiJuWu commented on code in PR #16127: URL: https://github.com/apache/kafka/pull/16127#discussion_r1632203912 ## core/src/test/java/kafka/testkit/KafkaClusterTestKit.java: ## @@ -188,12 +188,13 @@ private KafkaConfig createNodeConfig(TestKitNode node) { con

Re: [PR] improve log description of QuorumController [kafka]

2024-06-09 Thread via GitHub
chickenchickenlove commented on code in PR #15926: URL: https://github.com/apache/kafka/pull/15926#discussion_r1632188911 ## metadata/src/main/java/org/apache/kafka/controller/ActivationRecordsGenerator.java: ## @@ -165,6 +165,8 @@ static ControllerResult recordsForNonEmptyLog(