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

2022-04-29 Thread GitBox
showuon commented on PR #11845: URL: https://github.com/apache/kafka/pull/11845#issuecomment-1113898676 @hachikuji @cmccabe , please take a look. 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 above

[GitHub] [kafka] ahuang98 commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ahuang98 commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r862274077 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,290 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] cmccabe opened a new pull request, #12107: MINOR: fix ClientQuotasRequestTest.testAlterClientQuotasBadIp

2022-04-29 Thread GitBox
cmccabe opened a new pull request, #12107: URL: https://github.com/apache/kafka/pull/12107 Fix ClientQuotasRequestTest.testAlterClientQuotasBadIp so that it uses actually unresolvable hostnames. The previous choices "ip" and "abc-123" are now resolvable. -- This is an automated

[GitHub] [kafka] mumrah commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
mumrah commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r862261681 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] hachikuji commented on a diff in pull request #12106: KAFKA-13861: Fix the validateOnly behavior for CreatePartitions requests in KRaft mode

2022-04-29 Thread GitBox
hachikuji commented on code in PR #12106: URL: https://github.com/apache/kafka/pull/12106#discussion_r862113590 ## metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java: ## @@ -1364,7 +1364,25 @@ Boolean isBrokerUnfenced(int brokerId) {

[GitHub] [kafka] artemlivshits commented on a diff in pull request #12049: KAFKA-10888: Sticky partition leads to uneven produce msg

2022-04-29 Thread GitBox
artemlivshits commented on code in PR #12049: URL: https://github.com/apache/kafka/pull/12049#discussion_r861378007 ## clients/src/main/java/org/apache/kafka/clients/producer/MockProducer.java: ## @@ -117,10 +116,24 @@ public MockProducer(final Cluster cluster, * *

[GitHub] [kafka] artemlivshits commented on a diff in pull request #12049: KAFKA-10888: Sticky partition leads to uneven produce msg

2022-04-29 Thread GitBox
artemlivshits commented on code in PR #12049: URL: https://github.com/apache/kafka/pull/12049#discussion_r861379747 ## clients/src/main/java/org/apache/kafka/clients/producer/internals/BuiltInPartitioner.java: ## @@ -0,0 +1,281 @@ +/* + * Licensed to the Apache Software

[jira] [Commented] (KAFKA-10335) Blocking of producer IO thread when calling send() from callback

2022-04-29 Thread Sean Chang (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17530152#comment-17530152 ] Sean Chang commented on KAFKA-10335: hi,how to resovle the problem?it is a perfmance issue with

[GitHub] [kafka] hachikuji commented on a diff in pull request #11951: KAFKA-13836: Improve KRaft broker heartbeat logic

2022-04-29 Thread GitBox
hachikuji commented on code in PR #11951: URL: https://github.com/apache/kafka/pull/11951#discussion_r862003291 ## core/src/main/scala/kafka/server/BrokerLifecycleManager.scala: ## @@ -333,7 +353,11 @@ class BrokerLifecycleManager(val config: KafkaConfig, } private def

[GitHub] [kafka] ijuma commented on pull request #12105: KAFKA-13859: Disable idempotence on SCRAM authentication

2022-04-29 Thread GitBox
ijuma commented on PR #12105: URL: https://github.com/apache/kafka/pull/12105#issuecomment-1113548521 To be clear, the broker would have to be older than 2.8. The server change for KIP-679 happened in Apache Kafka 2.8. -- This is an automated message from the Apache Git Service. To

[GitHub] [kafka] ijuma commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ijuma commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861989684 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,290 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] hachikuji merged pull request #12098: MINOR: Fix event output inconsistencies in TransactionalMessageCopier

2022-04-29 Thread GitBox
hachikuji merged PR #12098: URL: https://github.com/apache/kafka/pull/12098 -- 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:

[GitHub] [kafka] ijuma commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ijuma commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861987987 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,290 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] ijuma commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ijuma commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861986925 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,334 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] ijuma commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ijuma commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861983688 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] cmccabe commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
cmccabe commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861971871 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] cmccabe commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
cmccabe commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861971871 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] cmccabe commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
cmccabe commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861969668 ## clients/src/main/java/org/apache/kafka/common/requests/ApiVersionsResponse.java: ## @@ -271,4 +273,48 @@ public static ApiVersion toApiVersion(ApiKeys apiKey) {

[GitHub] [kafka] jmartin127 commented on pull request #5405: KAFKA-7189 : Add a Merge Transformer for Kafka Connect

2022-04-29 Thread GitBox
jmartin127 commented on PR #5405: URL: https://github.com/apache/kafka/pull/5405#issuecomment-1113488224 Would be great to merge this in. Any chance of resurrecting it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[GitHub] [kafka] dajac commented on a diff in pull request #12056: MINOR:Fix typo in ReplicaManagerTest.scala

2022-04-29 Thread GitBox
dajac commented on code in PR #12056: URL: https://github.com/apache/kafka/pull/12056#discussion_r861938768 ## core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala: ## @@ -2352,7 +2352,7 @@ class ReplicaManagerTest { val (rm0, rm1) =

[GitHub] [kafka] dajac merged pull request #12099: MINOR: Improve ssl description in zero-copy docs

2022-04-29 Thread GitBox
dajac merged PR #12099: URL: https://github.com/apache/kafka/pull/12099 -- 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:

[GitHub] [kafka] dajac commented on a diff in pull request #11916: KAFKA-12703; Allow unencrypted private keys when using PEM files

2022-04-29 Thread GitBox
dajac commented on code in PR #11916: URL: https://github.com/apache/kafka/pull/11916#discussion_r861926282 ## clients/src/test/java/org/apache/kafka/common/security/ssl/DefaultSslEngineFactoryTest.java: ## @@ -291,7 +289,14 @@ public void testPemKeyStoreFileNoKeyPassword()

[jira] [Commented] (KAFKA-12671) Out of order processing with a transactional producer can lead to a stuck LastStableOffset

2022-04-29 Thread Daniel Urban (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17530039#comment-17530039 ] Daniel Urban commented on KAFKA-12671: -- I believe I encountered this issue with the Java producer

[GitHub] [kafka] ijuma commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ijuma commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861884103 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] karuturi commented on pull request #11955: KAFKA-12380 Executor in Connect's Worker is not shut down when the worker is

2022-04-29 Thread GitBox
karuturi commented on PR #11955: URL: https://github.com/apache/kafka/pull/11955#issuecomment-1113398584 Thanks for your time @showuon -- 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

[GitHub] [kafka] mumrah commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
mumrah commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861837077 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[jira] [Comment Edited] (KAFKA-13255) Mirrormaker config property config.properties.exclude is not working as expected

2022-04-29 Thread Edoardo Comar (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17529986#comment-17529986 ] Edoardo Comar edited comment on KAFKA-13255 at 4/29/22 1:18 PM: Thanks

[jira] [Commented] (KAFKA-13255) Mirrormaker config property config.properties.exclude is not working as expected

2022-04-29 Thread Edoardo Comar (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17529986#comment-17529986 ] Edoardo Comar commented on KAFKA-13255: --- Thanks Tom !!! > Mirrormaker config property

[GitHub] [kafka] gitlw commented on a diff in pull request #12029: KAFKA-13815: Avoid reinitialization for a replica that is being deleted

2022-04-29 Thread GitBox
gitlw commented on code in PR #12029: URL: https://github.com/apache/kafka/pull/12029#discussion_r861785744 ## core/src/main/scala/kafka/log/UnifiedLog.scala: ## @@ -286,7 +286,7 @@ class UnifiedLog(@volatile var logStartOffset: Long, */ @volatile private var

[GitHub] [kafka] gitlw commented on a diff in pull request #12029: KAFKA-13815: Avoid reinitialization for a replica that is being deleted

2022-04-29 Thread GitBox
gitlw commented on code in PR #12029: URL: https://github.com/apache/kafka/pull/12029#discussion_r861785604 ## core/src/main/scala/kafka/log/LogManager.scala: ## @@ -103,6 +103,9 @@ class LogManager(logDirs: Seq[File], def currentDefaultConfig: LogConfig =

[GitHub] [kafka] gitlw commented on a diff in pull request #12029: KAFKA-13815: Avoid reinitialization for a replica that is being deleted

2022-04-29 Thread GitBox
gitlw commented on code in PR #12029: URL: https://github.com/apache/kafka/pull/12029#discussion_r861772379 ## core/src/main/scala/kafka/log/UnifiedLog.scala: ## @@ -1554,9 +1570,11 @@ class UnifiedLog(@volatile var logStartOffset: Long, } /** - * Completely delete

[GitHub] [kafka] gitlw commented on a diff in pull request #12029: KAFKA-13815: Avoid reinitialization for a replica that is being deleted

2022-04-29 Thread GitBox
gitlw commented on code in PR #12029: URL: https://github.com/apache/kafka/pull/12029#discussion_r861766611 ## core/src/test/scala/unit/kafka/log/UnifiedLogTest.scala: ## @@ -3410,6 +3410,53 @@ class UnifiedLogTest { assertThrows(classOf[OffsetOutOfRangeException], () =>

[GitHub] [kafka] gitlw commented on a diff in pull request #12029: KAFKA-13815: Avoid reinitialization for a replica that is being deleted

2022-04-29 Thread GitBox
gitlw commented on code in PR #12029: URL: https://github.com/apache/kafka/pull/12029#discussion_r861766164 ## core/src/test/scala/unit/kafka/log/UnifiedLogTest.scala: ## @@ -3410,6 +3410,53 @@ class UnifiedLogTest { assertThrows(classOf[OffsetOutOfRangeException], () =>

[GitHub] [kafka] showuon commented on a diff in pull request #11983: KAFKA-13763 (2): Refactor IncrementalCooperativeAssignor for improved unit testing

2022-04-29 Thread GitBox
showuon commented on code in PR #11983: URL: https://github.com/apache/kafka/pull/11983#discussion_r861753163 ## connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/IncrementalCooperativeConnectProtocol.java: ## @@ -230,15 +230,16 @@ public static

[GitHub] [kafka] showuon commented on a diff in pull request #11983: KAFKA-13763 (2): Refactor IncrementalCooperativeAssignor for improved unit testing

2022-04-29 Thread GitBox
showuon commented on code in PR #11983: URL: https://github.com/apache/kafka/pull/11983#discussion_r861528608 ## connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/IncrementalCooperativeConnectProtocol.java: ## @@ -230,15 +230,16 @@ public static

[GitHub] [kafka] ahuang98 commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ahuang98 commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861640274 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] ahuang98 commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ahuang98 commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861651580 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] ahuang98 commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ahuang98 commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861640274 ## server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java: ## @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] ahuang98 commented on a diff in pull request #12072: KAFKA-13854 Refactor ApiVersion to MetadataVersion

2022-04-29 Thread GitBox
ahuang98 commented on code in PR #12072: URL: https://github.com/apache/kafka/pull/12072#discussion_r861634032 ## clients/src/main/java/org/apache/kafka/common/requests/ApiVersionsResponse.java: ## @@ -271,4 +273,48 @@ public static ApiVersion toApiVersion(ApiKeys apiKey) {

[jira] [Commented] (KAFKA-13255) Mirrormaker config property config.properties.exclude is not working as expected

2022-04-29 Thread Tom Bentley (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17529834#comment-17529834 ] Tom Bentley commented on KAFKA-13255: - OK [~ecomar] I've cherry-picked it to 3.1 > Mirrormaker

[jira] [Updated] (KAFKA-13255) Mirrormaker config property config.properties.exclude is not working as expected

2022-04-29 Thread Tom Bentley (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Bentley updated KAFKA-13255: Fix Version/s: 3.1.1 > Mirrormaker config property config.properties.exclude is not working as >

[GitHub] [kafka] dajac commented on a diff in pull request #12029: KAFKA-13815: Avoid reinitialization for a replica that is being deleted

2022-04-29 Thread GitBox
dajac commented on code in PR #12029: URL: https://github.com/apache/kafka/pull/12029#discussion_r861509139 ## core/src/main/scala/kafka/log/UnifiedLog.scala: ## @@ -1554,9 +1570,11 @@ class UnifiedLog(@volatile var logStartOffset: Long, } /** - * Completely delete

[GitHub] [kafka] vamossagar12 commented on a diff in pull request #12104: KAFKA-13746: Attempt to fix flaky test by waiting to fetch 2 topics f…

2022-04-29 Thread GitBox
vamossagar12 commented on code in PR #12104: URL: https://github.com/apache/kafka/pull/12104#discussion_r861479117 ## core/src/test/scala/integration/kafka/admin/TopicCommandIntegrationTest.scala: ## @@ -733,12 +733,18 @@ class TopicCommandIntegrationTest extends