[GitHub] [kafka] hudeqi commented on pull request #13348: MINOR: Fix ProducerPerformance still counting successful sending when sending failed

2023-03-15 Thread via GitHub
hudeqi commented on PR #13348: URL: https://github.com/apache/kafka/pull/13348#issuecomment-1471416257 > In fact, I also have this question. The variables in stats are all thread-unsafe at present, but the printed data looks fine😂, and this is a probabilistic problem for the version

[GitHub] [kafka] chia7712 commented on pull request #13348: MINOR: Fix ProducerPerformance still counting successful sending when sending failed

2023-03-15 Thread via GitHub
chia7712 commented on PR #13348: URL: https://github.com/apache/kafka/pull/13348#issuecomment-1471410292 @robobario thanks for feedback. According to your nice catch `Stats` is shared between all producer thread. Not only `iteration` but also other mutable variables should be thread-safe, o

[jira] (KAFKA-14786) Implement connector offset write/reset internal logic

2023-03-15 Thread Yash Mayya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14786 ] Yash Mayya deleted comment on KAFKA-14786: was (Author: yash.mayya): Hi [~ChrisEgerton], I'm assigning this ticket to myself if that's alright with you. I'm planning to work on this together

[GitHub] [kafka] hudeqi commented on pull request #13348: MINOR: Fix ProducerPerformance still counting successful sending when sending failed

2023-03-15 Thread via GitHub
hudeqi commented on PR #13348: URL: https://github.com/apache/kafka/pull/13348#issuecomment-1471374895 > Hi, I think this introduced a race condition that can cause the producer-perf-test to log a lot of exceptions to console if num records > 50. Since the `iteration` is incremented fro

[GitHub] [kafka] showuon commented on pull request #13348: MINOR: Fix ProducerPerformance still counting successful sending when sending failed

2023-03-15 Thread via GitHub
showuon commented on PR #13348: URL: https://github.com/apache/kafka/pull/13348#issuecomment-1471333242 @robobario , nice catch! Welcome to submit a PR to fix it. Thank you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [kafka] garyparrot opened a new pull request, #13398: MINOR: Fix typos in valid range of socket buffer size

2023-03-15 Thread via GitHub
garyparrot opened a new pull request, #13398: URL: https://github.com/apache/kafka/pull/13398 Fix the following typos in Kafka connect configs: [send.buffer.bytes](https://kafka.apache.org/documentation/#connectconfigs_send.buffer.bytes) and [receive.buffer.bytes](https://kafka.apache.org/

[GitHub] [kafka] robobario commented on pull request #13348: MINOR: Fix ProducerPerformance still counting successful sending when sending failed

2023-03-15 Thread via GitHub
robobario commented on PR #13348: URL: https://github.com/apache/kafka/pull/13348#issuecomment-1471191098 Hi, I think this introduced a race condition that can cause the producer-perf-test to log a lot of exceptions to console if num records > 50. Since the `iteration` is incremented fr

[jira] [Resolved] (KAFKA-13884) KRaft Obsever are not required to flush on every append

2023-03-15 Thread Jira
[ https://issues.apache.org/jira/browse/KAFKA-13884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] José Armando García Sancio resolved KAFKA-13884. Fix Version/s: 3.5.0 Resolution: Fixed > KRaft Obsever are

[GitHub] [kafka] jolshan commented on a diff in pull request #13391: WIP: KAFKA-14561: Improve transactions experience for older clients by ensuring ongoing transaction

2023-03-15 Thread via GitHub
jolshan commented on code in PR #13391: URL: https://github.com/apache/kafka/pull/13391#discussion_r1137901882 ## core/src/main/scala/kafka/server/AddPartitionsToTxnManager.scala: ## @@ -0,0 +1,164 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more +

[GitHub] [kafka] jolshan commented on a diff in pull request #13391: WIP: KAFKA-14561: Improve transactions experience for older clients by ensuring ongoing transaction

2023-03-15 Thread via GitHub
jolshan commented on code in PR #13391: URL: https://github.com/apache/kafka/pull/13391#discussion_r1137856849 ## core/src/main/scala/kafka/server/AddPartitionsToTxnManager.scala: ## @@ -0,0 +1,164 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more +

[GitHub] [kafka] cmccabe merged pull request #13384: KAFKA-14801: Handle sensitive configs during ZK migration

2023-03-15 Thread via GitHub
cmccabe merged PR #13384: URL: https://github.com/apache/kafka/pull/13384 -- 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.

[GitHub] [kafka] dajac commented on pull request #13323: KAFKA-14617: Add ReplicaState to FetchRequest

2023-03-15 Thread via GitHub
dajac commented on PR #13323: URL: https://github.com/apache/kafka/pull/13323#issuecomment-1470710416 @CalvinConfluent Could you rebase as well? -- 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

[GitHub] [kafka] jsancio merged pull request #13396: KAFKA-13884; Only voters flush on Fetch response

2023-03-15 Thread via GitHub
jsancio merged PR #13396: URL: https://github.com/apache/kafka/pull/13396 -- 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.

[GitHub] [kafka] CalvinConfluent commented on a diff in pull request #13323: KAFKA-14617: Add ReplicaState to FetchRequest

2023-03-15 Thread via GitHub
CalvinConfluent commented on code in PR #13323: URL: https://github.com/apache/kafka/pull/13323#discussion_r1137608147 ## clients/src/test/java/org/apache/kafka/common/requests/FetchRequestTest.java: ## @@ -198,6 +204,35 @@ public void testForgottenTopics(short version) {

[GitHub] [kafka] guozhangwang commented on a diff in pull request #13380: KAFKA-14468: Committed API

2023-03-15 Thread via GitHub
guozhangwang commented on code in PR #13380: URL: https://github.com/apache/kafka/pull/13380#discussion_r1137588681 ## clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java: ## @@ -235,4 +373,105 @@ public void ack(final long currentTimeMs)

[GitHub] [kafka] guozhangwang commented on a diff in pull request #13380: KAFKA-14468: Committed API

2023-03-15 Thread via GitHub
guozhangwang commented on code in PR #13380: URL: https://github.com/apache/kafka/pull/13380#discussion_r1137549960 ## clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java: ## @@ -235,4 +373,105 @@ public void ack(final long currentTimeMs)

[GitHub] [kafka] guozhangwang commented on a diff in pull request #13380: KAFKA-14468: Committed API

2023-03-15 Thread via GitHub
guozhangwang commented on code in PR #13380: URL: https://github.com/apache/kafka/pull/13380#discussion_r1137547234 ## clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java: ## @@ -207,6 +266,85 @@ public NetworkClientDelegate.UnsentRequest

[GitHub] [kafka] cmccabe commented on a diff in pull request #13368: KAFKA-14796 Migrate ACLs from AclAuthorizor to KRaft

2023-03-15 Thread via GitHub
cmccabe commented on code in PR #13368: URL: https://github.com/apache/kafka/pull/13368#discussion_r1137526482 ## core/src/main/scala/kafka/zk/ZkMigrationClient.scala: ## @@ -211,12 +214,38 @@ class ZkMigrationClient(zkClient: KafkaZkClient) extends MigrationClient with Lo

[GitHub] [kafka] cmccabe commented on pull request #13372: MINOR: Improved error handling in ZK migration

2023-03-15 Thread via GitHub
cmccabe commented on PR #13372: URL: https://github.com/apache/kafka/pull/13372#issuecomment-1470482252 @mumrah : `KRaftMigrationDriverTest.testMigrationWithClientException` is failing for me with this PR. Can you take a look? ``` Gradle Test Run :metadata:test > Gradle Test Execut

[jira] [Created] (KAFKA-14811) The forwarding requests are discarded when network client is changed to/from zk/Kraft

2023-03-15 Thread Chia-Ping Tsai (Jira)
Chia-Ping Tsai created KAFKA-14811: -- Summary: The forwarding requests are discarded when network client is changed to/from zk/Kraft Key: KAFKA-14811 URL: https://issues.apache.org/jira/browse/KAFKA-14811

[jira] [Commented] (KAFKA-14802) topic deletion bug

2023-03-15 Thread Divij Vaidya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17700698#comment-17700698 ] Divij Vaidya commented on KAFKA-14802: -- Have you checked the value of the setting

[GitHub] [kafka] hudeqi commented on pull request #13348: MINOR: Fix ProducerPerformance still counting successful sending when sending failed

2023-03-15 Thread via GitHub
hudeqi commented on PR #13348: URL: https://github.com/apache/kafka/pull/13348#issuecomment-1470060354 Thx, Is this [KIP](https://cwiki.apache.org/confluence/display/KAFKA/KIP-842%3A+Add+richer+group+offset+reset+mechanisms) interested in understanding and discussing? @chia7712 @showuon

[GitHub] [kafka] chia7712 merged pull request #13348: MINOR: Fix ProducerPerformance still counting successful sending when sending failed

2023-03-15 Thread via GitHub
chia7712 merged PR #13348: URL: https://github.com/apache/kafka/pull/13348 -- 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

[GitHub] [kafka] Hangleton commented on pull request #13240: KAFKA-14690: Add topic IDs to the OffsetCommit API version 9

2023-03-15 Thread via GitHub
Hangleton commented on PR #13240: URL: https://github.com/apache/kafka/pull/13240#issuecomment-1469956438 Many thanks David. I will try to get to this in the next couple of days. Apologies for the delay, I wish i could get to this sooner. -- This is an automated message from the Apache Gi

[GitHub] [kafka] Hangleton commented on pull request #13378: KAFKA-14793: Propagate Topic Ids to the Group Coordinator during Offsets Commit

2023-03-15 Thread via GitHub
Hangleton commented on PR #13378: URL: https://github.com/apache/kafka/pull/13378#issuecomment-1469954905 Thanks for the merge David. -- 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

[GitHub] [kafka] dajac commented on pull request #13240: KAFKA-14690: Add topic IDs to the OffsetCommit API version 9

2023-03-15 Thread via GitHub
dajac commented on PR #13240: URL: https://github.com/apache/kafka/pull/13240#issuecomment-1469825143 @Hangleton I just merge https://github.com/apache/kafka/pull/13378. We can update this PR now. -- This is an automated message from the Apache Git Service. To respond to the message, plea

[GitHub] [kafka] dajac merged pull request #13378: KAFKA-14793: Propagate Topic Ids to the Group Coordinator during Offsets Commit

2023-03-15 Thread via GitHub
dajac merged PR #13378: URL: https://github.com/apache/kafka/pull/13378 -- 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.or

[GitHub] [kafka] dajac commented on pull request #13378: KAFKA-14793: Propagate Topic Ids to the Group Coordinator during Offsets Commit

2023-03-15 Thread via GitHub
dajac commented on PR #13378: URL: https://github.com/apache/kafka/pull/13378#issuecomment-1469817830 That's weird. The build is still reported `in progress` in the PR but the build has completed. The last build results are here: https://ci-builds.apache.org/blue/organizations/jenkins/Kafka

[GitHub] [kafka] dajac commented on a diff in pull request #13323: KAFKA-14617: Add ReplicaState to FetchRequest

2023-03-15 Thread via GitHub
dajac commented on code in PR #13323: URL: https://github.com/apache/kafka/pull/13323#discussion_r1136820680 ## clients/src/main/java/org/apache/kafka/common/requests/FetchRequest.java: ## @@ -130,10 +131,35 @@ private static Optional optionalEpoch(int rawEpochValue) {

[GitHub] [kafka] sionsmith commented on pull request #10233: KAFKA-9413: Auditing in Kafka

2023-03-15 Thread via GitHub
sionsmith commented on PR #10233: URL: https://github.com/apache/kafka/pull/10233#issuecomment-1469564517 It would be great to consider this as more companies are requiring an audit functionality -- This is an automated message from the Apache Git Service. To respond to the message, plea