[GitHub] [kafka] clolov commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-12 Thread GitBox
clolov commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067909965 ## core/src/main/scala/kafka/server/FetchSession.scala: ## @@ -705,10 +705,7 @@ class FetchSessionCache(private val maxEntries: Int, } def remove(sessionId:

[GitHub] [kafka] clolov commented on a diff in pull request #13094: MINOR: Various cleanups in client tests

2023-01-12 Thread GitBox
clolov commented on code in PR #13094: URL: https://github.com/apache/kafka/pull/13094#discussion_r1067891312 ## clients/src/test/java/org/apache/kafka/clients/producer/internals/RecordAccumulatorTest.java: ## @@ -331,17 +331,15 @@ public void testStressfulSituation() throws

[GitHub] [kafka] lucasbru commented on a diff in pull request #13025: KAFKA-14299: Make sure no progress is made on paused topologies

2023-01-12 Thread GitBox
lucasbru commented on code in PR #13025: URL: https://github.com/apache/kafka/pull/13025#discussion_r1067891929 ## streams/src/main/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdater.java: ## @@ -276,6 +276,11 @@ private void addTask(final Task task) {

[GitHub] [kafka] dengziming commented on a diff in pull request #13105: MINOR: fix typo in KafkaConsumer.java

2023-01-11 Thread GitBox
dengziming commented on code in PR #13105: URL: https://github.com/apache/kafka/pull/13105#discussion_r1067804443 ## clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java: ## @@ -2460,7 +2460,7 @@ private void close(long timeoutMs, boolean

[GitHub] [kafka] zhpyc opened a new pull request, #13105: MINOR: fix typo in KafkaConsumer.java #99999

2023-01-11 Thread GitBox
zhpyc opened a new pull request, #13105: URL: https://github.com/apache/kafka/pull/13105 ### Change Logs As above. ### Impact Only typo fixes. ### Risk level (write none, low medium or high below) None ### Documentation Update N/A ### Committer Checklist

[GitHub] [kafka] kamalcph commented on pull request #13059: MINOR: KafkaConfig should not expose internal config when queried for non-internal values

2023-01-11 Thread GitBox
kamalcph commented on PR #13059: URL: https://github.com/apache/kafka/pull/13059#issuecomment-1379857363 @showuon Rebased with the trunk. Thanks for reviewing 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] mjsax commented on pull request #10747: KAFKA-12446: Define KGroupedTable#aggregate subtractor + adder order of execution

2023-01-11 Thread GitBox
mjsax commented on PR #10747: URL: https://github.com/apache/kafka/pull/10747#issuecomment-1379807976 Great! Sure, this works. Looking forward to your KIP -- let me know if you have any question about the KIP process. -- This is an automated message from the Apache Git Service. To

[GitHub] [kafka] peternied commented on pull request #12407: [BUG] Remove duplicate common.message.* from clients:test jar file

2023-01-11 Thread GitBox
peternied commented on PR #12407: URL: https://github.com/apache/kafka/pull/12407#issuecomment-1379798226 That sounds good, thanks for letting me know. -- 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

[GitHub] [kafka] showuon commented on a diff in pull request #13102: KAFKA-14371: Remove unused clusterId field from quorum-state file

2023-01-11 Thread GitBox
showuon commented on code in PR #13102: URL: https://github.com/apache/kafka/pull/13102#discussion_r1067632210 ## raft/src/test/java/org/apache/kafka/raft/FileBasedStateStoreTest.java: ## @@ -90,6 +98,43 @@ public void testWriteElectionState() throws IOException {

[GitHub] [kafka] showuon commented on a diff in pull request #13102: KAFKA-14371: Remove unused clusterId field from quorum-state file

2023-01-11 Thread GitBox
showuon commented on code in PR #13102: URL: https://github.com/apache/kafka/pull/13102#discussion_r1067632210 ## raft/src/test/java/org/apache/kafka/raft/FileBasedStateStoreTest.java: ## @@ -90,6 +98,43 @@ public void testWriteElectionState() throws IOException {

[GitHub] [kafka] showuon commented on a diff in pull request #13102: KAFKA-14371: Remove unused clusterId field from quorum-state file

2023-01-11 Thread GitBox
showuon commented on code in PR #13102: URL: https://github.com/apache/kafka/pull/13102#discussion_r1067632210 ## raft/src/test/java/org/apache/kafka/raft/FileBasedStateStoreTest.java: ## @@ -90,6 +98,43 @@ public void testWriteElectionState() throws IOException {

[GitHub] [kafka] andymg3 commented on a diff in pull request #13104: KAFKA-14612: Make sure to write a new topics ConfigRecords to metadata log iff the topic is created

2023-01-11 Thread GitBox
andymg3 commented on code in PR #13104: URL: https://github.com/apache/kafka/pull/13104#discussion_r1067622704 ## metadata/src/main/java/org/apache/kafka/controller/ConfigurationControlManager.java: ## @@ -172,20 +172,30 @@ ControllerResult> incrementalAlterConfigs(

[GitHub] [kafka] jeffkbkim commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
jeffkbkim commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1067611094 ## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinator.java: ## @@ -164,5 +166,20 @@ CompletableFuture> fetch String

[GitHub] [kafka] hachikuji commented on a diff in pull request #13104: KAFKA-14612: Make sure to write a new topics ConfigRecords to metadata log iff the topic is created

2023-01-11 Thread GitBox
hachikuji commented on code in PR #13104: URL: https://github.com/apache/kafka/pull/13104#discussion_r1067582346 ## metadata/src/test/java/org/apache/kafka/controller/ReplicationControlManagerTest.java: ## @@ -605,6 +617,45 @@ public void testCreateTopicsWithConfigs() throws

[GitHub] [kafka] ijuma commented on pull request #12407: [BUG] Remove duplicate common.message.* from clients:test jar file

2023-01-11 Thread GitBox
ijuma commented on PR #12407: URL: https://github.com/apache/kafka/pull/12407#issuecomment-1379638315 Likely this month and it would happen before other releases. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [kafka] CalvinConfluent commented on a diff in pull request #12902: KAFKA-14367; Add `OffsetDelete` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
CalvinConfluent commented on code in PR #12902: URL: https://github.com/apache/kafka/pull/12902#discussion_r1067573213 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -3110,61 +3110,69 @@ class KafkaApis(val requestChannel: RequestChannel, } } - def

[GitHub] [kafka] peternied commented on pull request #12407: [BUG] Remove duplicate common.message.* from clients:test jar file

2023-01-11 Thread GitBox
peternied commented on PR #12407: URL: https://github.com/apache/kafka/pull/12407#issuecomment-1379626692 Thanks for the reply, I would like this fix available sooner since we have to disable jar hell checks in our project to work around this issue for nearly 6 months. Do you have an

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067528730 ## core/src/test/scala/unit/kafka/coordinator/group/GroupCoordinatorAdapterTest.scala: ## @@ -608,4 +610,77 @@ class GroupCoordinatorAdapterTest {

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067528730 ## core/src/test/scala/unit/kafka/coordinator/group/GroupCoordinatorAdapterTest.scala: ## @@ -608,4 +610,77 @@ class GroupCoordinatorAdapterTest {

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067526680 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -2464,90 +2464,108 @@ class KafkaApis(val requestChannel: RequestChannel, } } - def

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067525498 ## core/src/main/scala/kafka/coordinator/group/GroupCoordinatorAdapter.scala: ## @@ -234,4 +240,67 @@ class GroupCoordinatorAdapter( }

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067526170 ## core/src/test/scala/unit/kafka/coordinator/group/GroupCoordinatorAdapterTest.scala: ## @@ -58,7 +62,7 @@ class GroupCoordinatorAdapterTest {

[GitHub] [kafka] jolshan commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
jolshan commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1067494981 ## clients/src/main/java/org/apache/kafka/common/requests/OffsetCommitResponse.java: ## @@ -116,4 +118,80 @@ public void maybeSetThrottleTimeMs(int throttleTimeMs) {

[GitHub] [kafka] jolshan commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
jolshan commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1067488043 ## core/src/main/scala/kafka/coordinator/group/GroupCoordinatorAdapter.scala: ## @@ -234,4 +240,78 @@ class GroupCoordinatorAdapter( }

[GitHub] [kafka] artemlivshits commented on a diff in pull request #12902: KAFKA-14367; Add `OffsetDelete` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
artemlivshits commented on code in PR #12902: URL: https://github.com/apache/kafka/pull/12902#discussion_r1067448086 ## core/src/main/scala/kafka/coordinator/group/GroupCoordinatorAdapter.scala: ## @@ -0,0 +1,131 @@ +/** + * Licensed to the Apache Software Foundation (ASF)

[GitHub] [kafka] mumrah merged pull request #13103: KAFKA-14304 Use boolean for ZK migrating brokers in RPC/record

2023-01-11 Thread GitBox
mumrah merged PR #13103: URL: https://github.com/apache/kafka/pull/13103 -- 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] mumrah commented on pull request #13103: KAFKA-14304 Use boolean for ZK migrating brokers in RPC/record

2023-01-11 Thread GitBox
mumrah commented on PR #13103: URL: https://github.com/apache/kafka/pull/13103#issuecomment-1379387869 Two runs with different sets of flaky tests. They are all unrelated to this change (which is gated behind the migration config) -- This is an automated message from the Apache Git

[GitHub] [kafka] cmccabe commented on a diff in pull request #13089: KAFKA-14601: Improve exception handling in KafkaEventQueue

2023-01-11 Thread GitBox
cmccabe commented on code in PR #13089: URL: https://github.com/apache/kafka/pull/13089#discussion_r1067367679 ## server-common/src/main/java/org/apache/kafka/queue/KafkaEventQueue.java: ## @@ -116,33 +116,33 @@ boolean isSingleton() { /** * Run the event

[GitHub] [kafka] cmccabe commented on a diff in pull request #13089: KAFKA-14601: Improve exception handling in KafkaEventQueue

2023-01-11 Thread GitBox
cmccabe commented on code in PR #13089: URL: https://github.com/apache/kafka/pull/13089#discussion_r1067332344 ## server-common/src/test/resources/test/log4j.properties: ## @@ -0,0 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor

[GitHub] [kafka] justinrlee commented on pull request #12797: MINOR: Remove requirement to specify --bootstrap-server in utility scripts if specified in property file

2023-01-11 Thread GitBox
justinrlee commented on PR #12797: URL: https://github.com/apache/kafka/pull/12797#issuecomment-1379128398 Hey @dengziming @dajac I've updated the PR to remove the public interface changes (adding optional alternate command line flag) and have done relatively extensive local testing

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067185821 ## core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala: ## @@ -761,10 +761,7 @@ class KRaftClusterTest { image: ClusterImage, brokerId:

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067162495 ## core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala: ## @@ -761,10 +761,7 @@ class KRaftClusterTest { image: ClusterImage, brokerId:

[GitHub] [kafka] tinaselenge commented on a diff in pull request #13102: KAFKA-14371: Remove unused clusterId field from quorum-state file

2023-01-11 Thread GitBox
tinaselenge commented on code in PR #13102: URL: https://github.com/apache/kafka/pull/13102#discussion_r1067142496 ## raft/src/main/resources/common/message/QuorumStateData.json: ## @@ -19,7 +19,6 @@ "validVersions": "0", Review Comment: Thank you for the feedback. I

[GitHub] [kafka] mumrah commented on a diff in pull request #13089: KAFKA-14601: Improve exception handling in KafkaEventQueue

2023-01-11 Thread GitBox
mumrah commented on code in PR #13089: URL: https://github.com/apache/kafka/pull/13089#discussion_r1067114622 ## core/src/main/scala/kafka/server/metadata/BrokerMetadataSnapshotter.scala: ## @@ -61,7 +61,7 @@ class BrokerMetadataSnapshotter( /** * The event queue which

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067138511 ## core/src/main/scala/kafka/coordinator/group/GroupMetadata.scala: ## @@ -484,10 +484,7 @@ private[group] class GroupMetadata(val groupId: String, initialState:

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067070504 ## core/src/main/scala/kafka/server/FetchSession.scala: ## @@ -705,10 +705,7 @@ class FetchSessionCache(private val maxEntries: Int, } def

[GitHub] [kafka] ijuma commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
ijuma commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067125601 ## core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala: ## @@ -761,10 +761,7 @@ class KRaftClusterTest { image: ClusterImage, brokerId: Int

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067120704 ## core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala: ## @@ -761,10 +761,7 @@ class KRaftClusterTest { image: ClusterImage, brokerId:

[GitHub] [kafka] ijuma commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
ijuma commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067091105 ## core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala: ## @@ -761,10 +761,7 @@ class KRaftClusterTest { image: ClusterImage, brokerId: Int

[GitHub] [kafka] divijvaidya commented on pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on PR #13096: URL: https://github.com/apache/kafka/pull/13096#issuecomment-1378858028 Thanks for your comments @ijuma. I have addressed your concerns and added comments to all changes that will be helpful for reviewers (without having to manually look into each file).

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067077954 ## core/src/main/scala/kafka/server/ReplicaManager.scala: ## @@ -1514,10 +1514,7 @@ class ReplicaManager(val config: KafkaConfig, * @return true if the request

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067076574 ## core/src/main/scala/kafka/server/metadata/KRaftMetadataCache.scala: ## @@ -364,10 +364,7 @@ class KRaftMetadataCache(val brokerId: Int) extends MetadataCache

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067074631 ## core/src/main/scala/kafka/tools/JmxTool.scala: ## @@ -212,7 +212,7 @@ object JmxTool extends Logging { // print csv header val keys = List("time")

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067072339 ## core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala: ## @@ -761,10 +761,7 @@ class KRaftClusterTest { image: ClusterImage, brokerId:

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067070504 ## core/src/main/scala/kafka/server/FetchSession.scala: ## @@ -705,10 +705,7 @@ class FetchSessionCache(private val maxEntries: Int, } def

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067070504 ## core/src/main/scala/kafka/server/FetchSession.scala: ## @@ -705,10 +705,7 @@ class FetchSessionCache(private val maxEntries: Int, } def

[GitHub] [kafka] dajac commented on a diff in pull request #12902: KAFKA-14367; Add `OffsetDelete` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12902: URL: https://github.com/apache/kafka/pull/12902#discussion_r1067069590 ## core/src/main/scala/kafka/coordinator/group/GroupCoordinatorAdapter.scala: ## @@ -0,0 +1,131 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067068943 ## core/src/main/scala/kafka/log/LogCleanerManager.scala: ## @@ -321,14 +321,7 @@ private[log] class LogCleanerManager(val logDirs: Seq[File], * Check if the

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067064604 ## core/src/main/scala/kafka/server/epoch/LeaderEpochFileCache.scala: ## @@ -106,7 +106,7 @@ class LeaderEpochFileCache(topicPartition: TopicPartition,

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067063294 ## core/src/main/scala/kafka/server/KafkaServer.scala: ## @@ -575,7 +575,7 @@ class KafkaServer( protected def createRemoteLogManager(config: KafkaConfig):

[GitHub] [kafka] dajac commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067063067 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -2464,90 +2464,108 @@ class KafkaApis(val requestChannel: RequestChannel, } } - def

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067062308 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -1175,7 +1175,7 @@ class KafkaApis(val requestChannel: RequestChannel, val topicResponses =

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067061923 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -1967,7 +1967,7 @@ class KafkaApis(val requestChannel: RequestChannel, // Special handling to add

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067060444 ## core/src/main/scala/kafka/server/DynamicBrokerConfig.scala: ## @@ -952,7 +952,7 @@ class DynamicListenerConfig(server: KafkaBroker) extends

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067059894 ## core/src/main/scala/kafka/server/BrokerServer.scala: ## @@ -505,7 +505,7 @@ class BrokerServer( protected def createRemoteLogManager(config: KafkaConfig):

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067058675 ## core/src/main/scala/kafka/log/LogCleaner.scala: ## @@ -897,7 +897,7 @@ private[log] class Cleaner(val id: Int, * @return The estimated last offset for the

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067055043 ## core/src/main/scala/kafka/coordinator/group/MemberMetadata.scala: ## @@ -107,7 +107,7 @@ private[group] class MemberMetadata(var memberId: String, * Check

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067054361 ## core/src/main/scala/kafka/controller/KafkaController.scala: ## @@ -2359,7 +2359,7 @@ class KafkaController(val config: KafkaConfig, } else if

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067053138 ## core/src/main/scala/kafka/controller/KafkaController.scala: ## @@ -1420,7 +1420,7 @@ class KafkaController(val config: KafkaConfig, val replicasInError =

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067051486 ## core/src/main/scala/kafka/controller/ControllerContext.scala: ## @@ -487,7 +487,7 @@ class ControllerContext extends ControllerChannelContext {

[GitHub] [kafka] divijvaidya commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-11 Thread GitBox
divijvaidya commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1067049106 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -483,7 +483,7 @@ class KafkaApis(val requestChannel: RequestChannel, case (topicPartition,

[GitHub] [kafka] dajac commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067047982 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -2464,90 +2464,108 @@ class KafkaApis(val requestChannel: RequestChannel, } } - def

[GitHub] [kafka] dajac commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067044728 ## core/src/test/scala/unit/kafka/coordinator/group/GroupCoordinatorAdapterTest.scala: ## @@ -58,7 +62,7 @@ class GroupCoordinatorAdapterTest {

[GitHub] [kafka] dajac commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1067043771 ## core/src/main/scala/kafka/coordinator/group/GroupCoordinatorAdapter.scala: ## @@ -234,4 +240,67 @@ class GroupCoordinatorAdapter( }

[GitHub] [kafka] dajac commented on pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on PR #12886: URL: https://github.com/apache/kafka/pull/12886#issuecomment-1378782340 @jeffkbkim @jolshan Updated and rebased the PR. -- 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

[GitHub] [kafka] dajac commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1067001037 ## core/src/test/scala/unit/kafka/coordinator/group/GroupCoordinatorAdapterTest.scala: ## @@ -436,4 +440,74 @@ class GroupCoordinatorAdapterTest {

[GitHub] [kafka] dajac commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r106727 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -411,137 +411,144 @@ class KafkaApis(val requestChannel: RequestChannel, /** * Handle an offset commit

[GitHub] [kafka] dajac commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1066999003 ## core/src/main/scala/kafka/coordinator/group/GroupCoordinatorAdapter.scala: ## @@ -234,4 +240,79 @@ class GroupCoordinatorAdapter( }

[GitHub] [kafka] dajac commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1066989454 ## core/src/main/scala/kafka/coordinator/group/GroupCoordinatorAdapter.scala: ## @@ -234,4 +240,79 @@ class GroupCoordinatorAdapter( }

[GitHub] [kafka] dajac commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1066988206 ## clients/src/main/java/org/apache/kafka/common/requests/OffsetCommitResponse.java: ## @@ -116,4 +118,80 @@ public void maybeSetThrottleTimeMs(int throttleTimeMs) {

[GitHub] [kafka] dajac commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-11 Thread GitBox
dajac commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1066981875 ## clients/src/main/java/org/apache/kafka/common/requests/OffsetCommitResponse.java: ## @@ -116,4 +118,80 @@ public void maybeSetThrottleTimeMs(int throttleTimeMs) {

[GitHub] [kafka] mimaison commented on pull request #13080: KAFKA-14575: Move ClusterTool to tools module

2023-01-11 Thread GitBox
mimaison commented on PR #13080: URL: https://github.com/apache/kafka/pull/13080#issuecomment-1378583171 @dengziming I opened https://issues.apache.org/jira/browse/KAFKA-14614 to look at the missing script for Windows -- This is an automated message from the Apache Git Service. To

[GitHub] [kafka] mimaison commented on a diff in pull request #13094: MINOR: Various cleanups in client tests

2023-01-11 Thread GitBox
mimaison commented on code in PR #13094: URL: https://github.com/apache/kafka/pull/13094#discussion_r1066839046 ## clients/src/main/java/org/apache/kafka/clients/FetchSessionHandler.java: ## @@ -266,7 +266,14 @@ public void add(TopicPartition topicPartition, PartitionData

[GitHub] [kafka] tombentley commented on a diff in pull request #13099: KAFKA-14604: avoid SASL session expiration time overflowed when calculation

2023-01-11 Thread GitBox
tombentley commented on code in PR #13099: URL: https://github.com/apache/kafka/pull/13099#discussion_r1066808165 ## clients/src/test/java/org/apache/kafka/common/security/authenticator/SaslServerAuthenticatorTest.java: ## @@ -243,6 +243,40 @@ public void

[GitHub] [kafka] OneCricketeer commented on pull request #12992: KIP-887: Add ConfigProvider to make use of environment variables

2023-01-11 Thread GitBox
OneCricketeer commented on PR #12992: URL: https://github.com/apache/kafka/pull/12992#issuecomment-1378401283 For reference, the workaround I have been using for this is a bash script around the connect ones that executes something like ``` env | grep -e ^KAFKA_CONNECT_ENV_ >

[GitHub] [kafka] cadonna merged pull request #12301: KAFKA-14003: Migrate streams module to JUnit 5 - Part 2

2023-01-11 Thread GitBox
cadonna merged PR #12301: URL: https://github.com/apache/kafka/pull/12301 -- 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] cadonna commented on pull request #12301: KAFKA-14003: Migrate streams module to JUnit 5 - Part 2

2023-01-11 Thread GitBox
cadonna commented on PR #12301: URL: https://github.com/apache/kafka/pull/12301#issuecomment-1378391578 Failures are unrelated: ``` Build / JDK 17 and Scala 2.13 / kafka.api.TransactionsTest.testBumpTransactionalEpoch(String).quorum=kraft Build / JDK 17 and Scala 2.13 /

[GitHub] [kafka] ijuma merged pull request #13092: KAFKA-14607: Move Scheduler/KafkaScheduler to server-common

2023-01-10 Thread GitBox
ijuma merged PR #13092: URL: https://github.com/apache/kafka/pull/13092 -- 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 pull request #13092: KAFKA-14607: Move Scheduler/KafkaScheduler to server-common

2023-01-10 Thread GitBox
ijuma commented on PR #13092: URL: https://github.com/apache/kafka/pull/13092#issuecomment-1378356657 JDK 17 build passed and the other two had unrelated failures: > Build / JDK 8 and Scala 2.12 / org.apache.kafka.streams.integration.SmokeTestDriverIntegrationTest.[1] true > Build

[GitHub] [kafka] ijuma commented on a diff in pull request #13046: KAFKA-14551 Move/Rewrite LeaderEpochFileCache and its dependencies to the storage module.

2023-01-10 Thread GitBox
ijuma commented on code in PR #13046: URL: https://github.com/apache/kafka/pull/13046#discussion_r1066641727 ## storage/src/main/java/org/apache/kafka/server/log/internals/CheckpointFileWithFailureHandler.java: ## @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software

[GitHub] [kafka] showuon commented on a diff in pull request #13100: MINOR: add size check for tagged fields

2023-01-10 Thread GitBox
showuon commented on code in PR #13100: URL: https://github.com/apache/kafka/pull/13100#discussion_r1066632142 ## clients/src/main/java/org/apache/kafka/common/protocol/types/TaggedFields.java: ## @@ -100,6 +100,13 @@ public NavigableMap read(ByteBuffer buffer) {

[GitHub] [kafka] ijuma commented on a diff in pull request #13090: KAFKA-14605 Change the log level to info when logIfAllowed is set, warn when logIfDenied is set.

2023-01-10 Thread GitBox
ijuma commented on code in PR #13090: URL: https://github.com/apache/kafka/pull/13090#discussion_r1066631471 ## metadata/src/main/java/org/apache/kafka/metadata/authorizer/StandardAuthorizerData.java: ## @@ -329,7 +329,7 @@ private void logAuditMessage( //

[GitHub] [kafka] ijuma commented on a diff in pull request #13094: MINOR: Various cleanups in client tests

2023-01-10 Thread GitBox
ijuma commented on code in PR #13094: URL: https://github.com/apache/kafka/pull/13094#discussion_r1066628366 ## clients/src/main/java/org/apache/kafka/clients/FetchSessionHandler.java: ## @@ -266,7 +266,14 @@ public void add(TopicPartition topicPartition, PartitionData data) {

[GitHub] [kafka] ijuma commented on a diff in pull request #13096: MINOR: Multiple clean ups associated with scala collection

2023-01-10 Thread GitBox
ijuma commented on code in PR #13096: URL: https://github.com/apache/kafka/pull/13096#discussion_r1066626422 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -483,7 +483,7 @@ class KafkaApis(val requestChannel: RequestChannel, case (topicPartition,

[GitHub] [kafka] showuon commented on a diff in pull request #13094: MINOR: Various cleanups in client tests

2023-01-10 Thread GitBox
showuon commented on code in PR #13094: URL: https://github.com/apache/kafka/pull/13094#discussion_r1066625107 ## clients/src/test/java/org/apache/kafka/common/security/oauthbearer/OAuthBearerSaslClientCallbackHandlerTest.java: ## @@ -32,7 +32,7 @@ import

[GitHub] [kafka] showuon commented on pull request #13102: KAFKA-14371: Remove unused clusterId field from quorum-state file

2023-01-10 Thread GitBox
showuon commented on PR #13102: URL: https://github.com/apache/kafka/pull/13102#issuecomment-1378254330 This file is not a public API, so I think updating it doesn't need a KIP. Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [kafka] showuon commented on a diff in pull request #13102: KAFKA-14371: Remove unused clusterId field from quorum-state file

2023-01-10 Thread GitBox
showuon commented on code in PR #13102: URL: https://github.com/apache/kafka/pull/13102#discussion_r1066580834 ## raft/src/main/resources/common/message/QuorumStateData.json: ## @@ -19,7 +19,6 @@ "validVersions": "0", Review Comment: Bumping the version is a good point,

[GitHub] [kafka] dengziming commented on a diff in pull request #13102: KAFKA-14371: Remove unused clusterId field from quorum-state file

2023-01-10 Thread GitBox
dengziming commented on code in PR #13102: URL: https://github.com/apache/kafka/pull/13102#discussion_r1066561563 ## raft/src/main/resources/common/message/QuorumStateData.json: ## @@ -19,7 +19,6 @@ "validVersions": "0", Review Comment: I guess this change is compatible

[GitHub] [kafka] showuon commented on pull request #12729: KAFKA-14285: Delete quota node in zookeeper when configs are empty

2023-01-10 Thread GitBox
showuon commented on PR #12729: URL: https://github.com/apache/kafka/pull/12729#issuecomment-1378161208 This issue will be fixed in v3.4.1, v3.5.0 and later. Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [kafka] jeffkbkim commented on a diff in pull request #12886: KAFKA-14367; Add `OffsetCommit` to the new `GroupCoordinator` interface

2023-01-10 Thread GitBox
jeffkbkim commented on code in PR #12886: URL: https://github.com/apache/kafka/pull/12886#discussion_r1066438547 ## clients/src/main/java/org/apache/kafka/common/requests/OffsetCommitResponse.java: ## @@ -116,4 +118,80 @@ public void maybeSetThrottleTimeMs(int throttleTimeMs) {

[GitHub] [kafka] junrao commented on a diff in pull request #13092: KAFKA-14607: Move Scheduler/KafkaScheduler to server-common

2023-01-10 Thread GitBox
junrao commented on code in PR #13092: URL: https://github.com/apache/kafka/pull/13092#discussion_r1066374013 ## server-common/src/main/java/org/apache/kafka/server/util/KafkaScheduler.java: ## @@ -0,0 +1,188 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] [kafka] ijuma commented on pull request #12407: [BUG] Remove duplicate common.message.* from clients:test jar file

2023-01-10 Thread GitBox
ijuma commented on PR #12407: URL: https://github.com/apache/kafka/pull/12407#issuecomment-1378101855 This will be part of 3.4.0. Is there a strong reason to backport it to older releases? -- This is an automated message from the Apache Git Service. To respond to the message, please log

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-10 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1066456951 ## core/src/test/scala/unit/kafka/server/KafkaApisTest.scala: ## @@ -1331,59 +1331,299 @@ class KafkaApisTest { } @Test - def

[GitHub] [kafka] peternied commented on pull request #12407: [BUG] Remove duplicate common.message.* from clients:test jar file

2023-01-10 Thread GitBox
peternied commented on PR #12407: URL: https://github.com/apache/kafka/pull/12407#issuecomment-1378003500 @ijuma Hi - I was checking the latest versions 3.3.1 and I still see the issue that I tried to fix. Does this change need to be picked into one of the release branches, is there a way

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-10 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1066414494 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -2464,90 +2464,108 @@ class KafkaApis(val requestChannel: RequestChannel, } } - def

[GitHub] [kafka] andymg3 commented on a diff in pull request #13104: KAFKA-14612: Make sure to write ConfigRecords to metadata log iff topic is created

2023-01-10 Thread GitBox
andymg3 commented on code in PR #13104: URL: https://github.com/apache/kafka/pull/13104#discussion_r1066412518 ## metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java: ## @@ -725,6 +725,8 @@ private ApiError createTopic(CreatableTopic topic,

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-10 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1066412394 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -2464,90 +2464,108 @@ class KafkaApis(val requestChannel: RequestChannel, } } - def

[GitHub] [kafka] hachikuji commented on a diff in pull request #13104: KAFKA-14612: Make sure to write ConfigRecords to metadata log iff topic is created

2023-01-10 Thread GitBox
hachikuji commented on code in PR #13104: URL: https://github.com/apache/kafka/pull/13104#discussion_r1066409782 ## metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java: ## @@ -725,6 +725,8 @@ private ApiError createTopic(CreatableTopic topic,

[GitHub] [kafka] hachikuji commented on a diff in pull request #13104: KAFKA-14612: Make sure to write ConfigRecords to metadata log iff topic is created

2023-01-10 Thread GitBox
hachikuji commented on code in PR #13104: URL: https://github.com/apache/kafka/pull/13104#discussion_r1066408319 ## metadata/src/test/java/org/apache/kafka/controller/ReplicationControlManagerTest.java: ## @@ -605,6 +617,16 @@ public void testCreateTopicsWithConfigs() throws

[GitHub] [kafka] jolshan commented on a diff in pull request #12901: KAFKA-14367; Add `TxnOffsetCommit` to the new `GroupCoordinator` interface

2023-01-10 Thread GitBox
jolshan commented on code in PR #12901: URL: https://github.com/apache/kafka/pull/12901#discussion_r1066401542 ## core/src/main/scala/kafka/server/KafkaApis.scala: ## @@ -2464,90 +2464,108 @@ class KafkaApis(val requestChannel: RequestChannel, } } - def

<    1   2   3   4   5   6   7   8   9   10   >