[GitHub] [kafka] showuon commented on pull request #11845: MINOR: update the reassign-partition script results in docs

2022-05-30 Thread GitBox
showuon commented on PR #11845: URL: https://github.com/apache/kafka/pull/11845#issuecomment-1141609896 @hachikuji @dajac , please take a look. Thank you. -- 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] [Commented] (KAFKA-13718) kafka-topics describe topic with default config will show `segment.bytes` overridden config

2022-05-30 Thread Luke Chen (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544098#comment-17544098 ] Luke Chen commented on KAFKA-13718: --- [~hachikuji] , thanks for the comment. Yes, I can

[GitHub] [kafka] hachikuji commented on a diff in pull request #12086: Minor : cleanup.policy is a comma separated list

2022-05-30 Thread GitBox
hachikuji commented on code in PR #12086: URL: https://github.com/apache/kafka/pull/12086#discussion_r885117228 ## clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java: ## @@ -139,7 +139,7 @@ public class TopicConfig { public static final String CLEANUP_POL

[GitHub] [kafka] hachikuji commented on a diff in pull request #12086: Minor : cleanup.policy is a comma separated list

2022-05-30 Thread GitBox
hachikuji commented on code in PR #12086: URL: https://github.com/apache/kafka/pull/12086#discussion_r885117228 ## clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java: ## @@ -139,7 +139,7 @@ public class TopicConfig { public static final String CLEANUP_POL

[GitHub] [kafka] hachikuji commented on a diff in pull request #12086: Minor : cleanup.policy is a comma separated list

2022-05-30 Thread GitBox
hachikuji commented on code in PR #12086: URL: https://github.com/apache/kafka/pull/12086#discussion_r885117228 ## clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java: ## @@ -139,7 +139,7 @@ public class TopicConfig { public static final String CLEANUP_POL

[jira] [Commented] (KAFKA-13718) kafka-topics describe topic with default config will show `segment.bytes` overridden config

2022-05-30 Thread Jason Gustafson (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544086#comment-17544086 ] Jason Gustafson commented on KAFKA-13718: - [~showuon] I think the reason `segmen

[GitHub] [kafka] hachikuji commented on a diff in pull request #12120: Add mini test

2022-05-30 Thread GitBox
hachikuji commented on code in PR #12120: URL: https://github.com/apache/kafka/pull/12120#discussion_r885104060 ## tests/kafkatest/tests/core/mini_test.py: ## @@ -0,0 +1,18 @@ +from ducktape.tests.test import Test +from ducktape.mark.resource import cluster + +from kafkatest.ser

[GitHub] [kafka] hachikuji commented on pull request #12133: improvement the compare logic

2022-05-30 Thread GitBox
hachikuji commented on PR #12133: URL: https://github.com/apache/kafka/pull/12133#issuecomment-1141526730 Closing this since the code intentionally avoids the early return. I was going to suggest adding a comment, but this already seems clear: ``` // time-constant comparison that alway

[GitHub] [kafka] hachikuji closed pull request #12133: improvement the compare logic

2022-05-30 Thread GitBox
hachikuji closed pull request #12133: improvement the compare logic URL: https://github.com/apache/kafka/pull/12133 -- 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 unsubscri

[GitHub] [kafka] hachikuji merged pull request #12203: Fix typo in processor api developer guide

2022-05-30 Thread GitBox
hachikuji merged PR #12203: URL: https://github.com/apache/kafka/pull/12203 -- 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.apach

[jira] [Resolved] (KAFKA-13946) setMetadataDirectory() method in builder for ControllerNode has no parameters

2022-05-30 Thread Jason Gustafson (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Gustafson resolved KAFKA-13946. - Resolution: Fixed > setMetadataDirectory() method in builder for ControllerNode has no p

[GitHub] [kafka] hachikuji merged pull request #12225: KAFKA-13946: setMetadataDirectory() method in builder for ControllerNode has no parameters

2022-05-30 Thread GitBox
hachikuji merged PR #12225: URL: https://github.com/apache/kafka/pull/12225 -- 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.apach

[GitHub] [kafka] hachikuji commented on a diff in pull request #12227: MINOR: inline metrics in RecordAccumulator

2022-05-30 Thread GitBox
hachikuji commented on code in PR #12227: URL: https://github.com/apache/kafka/pull/12227#discussion_r885101221 ## clients/src/main/java/org/apache/kafka/clients/producer/internals/RecordAccumulator.java: ## @@ -195,29 +193,17 @@ public RecordAccumulator(LogContext logContext,

[GitHub] [kafka] hachikuji commented on a diff in pull request #12206: KAFKA-13888: Addition of Information in DescribeQuorumResponse about Voter Lag

2022-05-30 Thread GitBox
hachikuji commented on code in PR #12206: URL: https://github.com/apache/kafka/pull/12206#discussion_r885096122 ## core/src/test/scala/unit/kafka/server/DescribeQuorumRequestTest.scala: ## @@ -54,30 +56,44 @@ class DescribeQuorumRequestTest(cluster: ClusterInstance) { @Clus

[GitHub] [kafka] hachikuji commented on a diff in pull request #12223: MINOR: Correctly mark some tests as integration tests

2022-05-30 Thread GitBox
hachikuji commented on code in PR #12223: URL: https://github.com/apache/kafka/pull/12223#discussion_r885058478 ## core/src/test/scala/integration/kafka/api/AdminClientWithPoliciesIntegrationTest.scala: ## @@ -38,6 +37,7 @@ import scala.jdk.CollectionConverters._ * Tests Admi

[GitHub] [kafka] hachikuji commented on a diff in pull request #12223: MINOR: Correctly mark some tests as integration tests

2022-05-30 Thread GitBox
hachikuji commented on code in PR #12223: URL: https://github.com/apache/kafka/pull/12223#discussion_r885058478 ## core/src/test/scala/integration/kafka/api/AdminClientWithPoliciesIntegrationTest.scala: ## @@ -38,6 +37,7 @@ import scala.jdk.CollectionConverters._ * Tests Admi

[GitHub] [kafka] hachikuji commented on pull request #11687: KAFKA-13592:Fix flaky test ControllerIntegrationTest.testTopicIdUpgradeAfterReassigningPartitions

2022-05-30 Thread GitBox
hachikuji commented on PR #11687: URL: https://github.com/apache/kafka/pull/11687#issuecomment-1141445344 @Kvicii Thanks for the patch. I checked this out and `ControllerIntegrationTest.testTopicIdUpgradeAfterReassigningPartitions` still fails 5-10% of the time when run locally. The new fai

[GitHub] [kafka] hachikuji merged pull request #12185: MINOR: Fix buildResponseSend test cases for envelope responses

2022-05-30 Thread GitBox
hachikuji merged PR #12185: URL: https://github.com/apache/kafka/pull/12185 -- 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.apach

[GitHub] [kafka] divijvaidya commented on pull request #12197: KAFKA-13929: Replace legacy File.createNewFile() with NIO.2 Files.createFile()

2022-05-30 Thread GitBox
divijvaidya commented on PR #12197: URL: https://github.com/apache/kafka/pull/12197#issuecomment-1141344082 > Thanks @divijvaidya for the PR! > > Should we also update this instance https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/log/AbstractIndex.scala#L110 ?

[GitHub] [kafka] mimaison commented on pull request #12197: KAFKA-13929: Replace legacy File.createNewFile() with NIO.2 Files.createFile()

2022-05-30 Thread GitBox
mimaison commented on PR #12197: URL: https://github.com/apache/kafka/pull/12197#issuecomment-1141333932 Thanks @divijvaidya for the PR! Should we also update this instance https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/log/AbstractIndex.scala#L110 ? -- This

[GitHub] [kafka] hachikuji merged pull request #12222: MINOR: Send kraft raft/controller logs to controller log in systests

2022-05-30 Thread GitBox
hachikuji merged PR #1: URL: https://github.com/apache/kafka/pull/1 -- 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.apach

[GitHub] [kafka] mimaison commented on pull request #12194: MINOR: Include listener name in SocketServer acceptor and processor log context

2022-05-30 Thread GitBox
mimaison commented on PR #12194: URL: https://github.com/apache/kafka/pull/12194#issuecomment-1141312130 Thanks for the PR! Do we need all of `[SocketServer listenerType=ZK_BROKER, nodeId=0, listener=PLAINTEXT]` ? I guess the only thing currently missing is the listener name. -- T

[GitHub] [kafka] dajac commented on a diff in pull request #12181: KAFKA-13916; Fenced replicas should not be allowed to join the ISR in KRaft (KIP-841)

2022-05-30 Thread GitBox
dajac commented on code in PR #12181: URL: https://github.com/apache/kafka/pull/12181#discussion_r884847649 ## metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java: ## @@ -498,6 +498,23 @@ public UsableBroker next() { } } +/** +

[jira] [Assigned] (KAFKA-13947) Format strings appropriately for their argument types

2022-05-30 Thread Christo Lolov (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christo Lolov reassigned KAFKA-13947: - Assignee: Christo Lolov > Format strings appropriately for their argument types > -

[jira] [Commented] (KAFKA-13947) Format strings appropriately for their argument types

2022-05-30 Thread Christo Lolov (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17543926#comment-17543926 ] Christo Lolov commented on KAFKA-13947: --- Heya, I volunteer to pick this up! > For

[GitHub] [kafka] C0urante commented on pull request #11778: KAFKA-10000: Use transactional producer for config topic (KIP-618)

2022-05-30 Thread GitBox
C0urante commented on PR #11778: URL: https://github.com/apache/kafka/pull/11778#issuecomment-1141101927 @tombentley If you do not have time to take a look, is there anyone you can recommend in your place? -- This is an automated message from the Apache Git Service. To respond to the mess

[GitHub] [kafka] C0urante commented on pull request #11776: KAFKA-10000: Add new preflight connector config validation logic (KIP-618)

2022-05-30 Thread GitBox
C0urante commented on PR #11776: URL: https://github.com/apache/kafka/pull/11776#issuecomment-1141101742 @showuon If you do not have time to take a look, is there anyone you can recommend in your place? -- This is an automated message from the Apache Git Service. To respond to the message

[jira] [Assigned] (KAFKA-13948) Don't catch and re-throw exception unnecessarily

2022-05-30 Thread Christo Lolov (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christo Lolov reassigned KAFKA-13948: - Assignee: Christo Lolov > Don't catch and re-throw exception unnecessarily > --

[jira] [Commented] (KAFKA-13948) Don't catch and re-throw exception unnecessarily

2022-05-30 Thread Christo Lolov (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17543924#comment-17543924 ] Christo Lolov commented on KAFKA-13948: --- Hello, I would like to pick this issue up

[GitHub] [kafka] showuon commented on pull request #12136: KAFKA-13773: catch kafkaStorageException to avoid broker shutdown directly

2022-05-30 Thread GitBox
showuon commented on PR #12136: URL: https://github.com/apache/kafka/pull/12136#issuecomment-1141052283 @junrao , thanks for the comment. I've updated the PR. The failed test: `testCleanShutdownAfterFailedStartupDueToCorruptLogs` is indeed related. But the test is not the correct expectatio

[GitHub] [kafka] dengziming commented on a diff in pull request #12223: MINOR: Correctly mark some tests as integration tests

2022-05-30 Thread GitBox
dengziming commented on code in PR #12223: URL: https://github.com/apache/kafka/pull/12223#discussion_r884673070 ## streams/src/test/java/org/apache/kafka/streams/integration/KTableKTableForeignKeyJoinIntegrationTest.java: ## @@ -59,6 +60,7 @@ @RunWith(Parameterized.class)

[GitHub] [kafka] dajac opened a new pull request, #12227: MINOR: inline metrics in RecordAccumulator

2022-05-30 Thread GitBox
dajac opened a new pull request, #12227: URL: https://github.com/apache/kafka/pull/12227 ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade not

[jira] [Updated] (KAFKA-13947) Format strings appropriately for their argument types

2022-05-30 Thread Divij Vaidya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Divij Vaidya updated KAFKA-13947: - Affects Version/s: (was: 3.2.0) > Format strings appropriately for their argument types > --

[jira] [Created] (KAFKA-13948) Don't catch and re-throw exception unnecessarily

2022-05-30 Thread Divij Vaidya (Jira)
Divij Vaidya created KAFKA-13948: Summary: Don't catch and re-throw exception unnecessarily Key: KAFKA-13948 URL: https://issues.apache.org/jira/browse/KAFKA-13948 Project: Kafka Issue Type:

[jira] [Created] (KAFKA-13947) Format strings appropriately for their argument types

2022-05-30 Thread Divij Vaidya (Jira)
Divij Vaidya created KAFKA-13947: Summary: Format strings appropriately for their argument types Key: KAFKA-13947 URL: https://issues.apache.org/jira/browse/KAFKA-13947 Project: Kafka Issue T

[GitHub] [kafka] Nayana-ibm commented on pull request #11929: MINOR: s390x Stage

2022-05-30 Thread GitBox
Nayana-ibm commented on PR #11929: URL: https://github.com/apache/kafka/pull/11929#issuecomment-1140880728 @mimaison If there are build failures or platform specific issues on s390x , we can look into/debug those. -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [kafka] dajac commented on a diff in pull request #12185: MINOR: Fix buildResponseSend test cases for envelope responses

2022-05-30 Thread GitBox
dajac commented on code in PR #12185: URL: https://github.com/apache/kafka/pull/12185#discussion_r884533015 ## core/src/test/scala/unit/kafka/network/RequestChannelTest.scala: ## @@ -191,84 +194,66 @@ class RequestChannelTest { assertTrue(isValidJson(RequestConvertToJson.r

[GitHub] [kafka] clolov commented on a diff in pull request #12223: MINOR: Correctly mark some tests as integration tests

2022-05-30 Thread GitBox
clolov commented on code in PR #12223: URL: https://github.com/apache/kafka/pull/12223#discussion_r884541134 ## streams/src/test/java/org/apache/kafka/streams/integration/KTableKTableForeignKeyJoinIntegrationTest.java: ## @@ -59,6 +60,7 @@ @RunWith(Parameterized.class) +@Ta

[GitHub] [kafka] divijvaidya commented on pull request #12224: MINOR: Make LocalLogManager implementation consistent with the RaftClient interface contract

2022-05-30 Thread GitBox
divijvaidya commented on PR #12224: URL: https://github.com/apache/kafka/pull/12224#issuecomment-1140825549 cc: @jsancio perhaps you would be interested to look into this one since you reviewed https://github.com/apache/kafka/pull/10909 -- This is an automated message from the Apache Git

[GitHub] [kafka] dajac commented on a diff in pull request #12005: KAFKA-13803: Refactor Leader API Access

2022-05-30 Thread GitBox
dajac commented on code in PR #12005: URL: https://github.com/apache/kafka/pull/12005#discussion_r884492699 ## core/src/main/scala/kafka/server/LeaderEndPoint.scala: ## @@ -0,0 +1,106 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor l