[GitHub] [kafka] hachikuji commented on a diff in pull request #13138: MINOR: Small cleanups in refactored consumer implementation

2023-01-23 Thread via GitHub
hachikuji commented on code in PR #13138: URL: https://github.com/apache/kafka/pull/13138#discussion_r1084522285 ## clients/src/main/java/org/apache/kafka/clients/consumer/internals/CoordinatorRequestManager.java: ## @@ -149,11 +156,14 @@ private void onSuccessfulResponse(final

[GitHub] [kafka] hachikuji commented on a diff in pull request #13138: MINOR: Small cleanups in refactored consumer implementation

2023-01-23 Thread via GitHub
hachikuji commented on code in PR #13138: URL: https://github.com/apache/kafka/pull/13138#discussion_r1084522285 ## clients/src/main/java/org/apache/kafka/clients/consumer/internals/CoordinatorRequestManager.java: ## @@ -149,11 +156,14 @@ private void onSuccessfulResponse(final

[GitHub] [kafka] hachikuji merged pull request #13138: MINOR: Small cleanups in refactored consumer implementation

2023-01-23 Thread via GitHub
hachikuji merged PR #13138: URL: https://github.com/apache/kafka/pull/13138 -- 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] C0urante commented on a diff in pull request #12984: KAFKA-14455: Kafka Connect create and update REST APIs should surface failures while writing to the config topic

2023-01-23 Thread via GitHub
C0urante commented on code in PR #12984: URL: https://github.com/apache/kafka/pull/12984#discussion_r1084555816 ## connect/runtime/src/main/java/org/apache/kafka/connect/storage/KafkaConfigBackingStore.java: ## @@ -711,9 +742,9 @@ KafkaBasedLog setupAndCreateKafkaBasedLog(Strin

[GitHub] [kafka] anshvnm opened a new pull request, #13150: MINOR: Add new functions to client example Producer for sending messages to multiple topics, with key, and timestamp

2023-01-23 Thread via GitHub
anshvnm opened a new pull request, #13150: URL: https://github.com/apache/kafka/pull/13150 This pull request adds new functions to the Producer.java file in the examples directory to provide more flexibility for clients using Kafka. The `sendToMultipleTopics` method allows clients to send a

[GitHub] [kafka] rondagostino merged pull request #13118: MINOR: fix some typos in comments/docs/variable names

2023-01-23 Thread via GitHub
rondagostino merged PR #13118: URL: https://github.com/apache/kafka/pull/13118 -- 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.ap

[GitHub] [kafka] ahuang98 opened a new pull request, #13151: Fail broker and controller startup on authorizer failure

2023-01-23 Thread via GitHub
ahuang98 opened a new pull request, #13151: URL: https://github.com/apache/kafka/pull/13151 If any authorizer fails to start up, we should also fail to start up the broker or controller *More detailed description of your change, if necessary. The PR title and PR message become t

[GitHub] [kafka] rondagostino commented on pull request #13116: KAFKA-14351: Controller Mutation Quota for KRaft

2023-01-23 Thread via GitHub
rondagostino commented on PR #13116: URL: https://github.com/apache/kafka/pull/13116#issuecomment-1401088949 Thanks, Colin. That all makes sense. The KIP indicates that `validateOnly` is not throttled because it does not load the controller (https://cwiki.apache.org/confluence/display/KAF

[GitHub] [kafka] kirktrue opened a new pull request, #13152: KAFKA-14365 refactor fetcher, take 4

2023-01-23 Thread via GitHub
kirktrue opened a new pull request, #13152: URL: https://github.com/apache/kafka/pull/13152 WIP. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including

[GitHub] [kafka] cmccabe opened a new pull request, #13153: MINOR: startup timeouts for KRaft integration tests

2023-01-23 Thread via GitHub
cmccabe opened a new pull request, #13153: URL: https://github.com/apache/kafka/pull/13153 When running junit tests, it is not good to block forever on CompletableFuture objects. When there are bugs, this can lead to junit tests hanging forever. Jenkins does not deal with this well -- it o

[GitHub] [kafka] jsancio opened a new pull request, #13154: MINOR; Make granting voter immutable

2023-01-23 Thread via GitHub
jsancio opened a new pull request, #13154: URL: https://github.com/apache/kafka/pull/13154 Make LeaderState's grantingVoters field explicitly immutable. The set of voters that granted their voter to the current leader was already immutable. This change makes that explicit. ### Commit

[GitHub] [kafka] ableegoldman merged pull request #13147: KAFKA-14533: temporarily disable the 'false' parameter of SmokeTestDriverIntegrationTest

2023-01-23 Thread via GitHub
ableegoldman merged PR #13147: URL: https://github.com/apache/kafka/pull/13147 -- 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.ap

[GitHub] [kafka] ableegoldman opened a new pull request, #13155: [DO NOT MERGE] KAFKA-14533: re-enable the 'false' parameter of SmokeTestDriverIntegrationTest

2023-01-23 Thread via GitHub
ableegoldman opened a new pull request, #13155: URL: https://github.com/apache/kafka/pull/13155 Doing the PR to re-enable the test build that I temporarily disabled in https://github.com/apache/kafka/pull/13147 in order to help with debugging and to stabilize the 3.4 release branch.

[GitHub] [kafka] ableegoldman commented on a diff in pull request #13155: [DO NOT MERGE] KAFKA-14533: re-enable the 'false' parameter of SmokeTestDriverIntegrationTest

2023-01-23 Thread via GitHub
ableegoldman commented on code in PR #13155: URL: https://github.com/apache/kafka/pull/13155#discussion_r1084678438 ## streams/src/test/java/org/apache/kafka/streams/integration/SmokeTestDriverIntegrationTest.java: ## @@ -96,9 +96,8 @@ SmokeTestDriver.VerificationResult result()

[GitHub] [kafka] ableegoldman commented on pull request #13155: [DO NOT MERGE] KAFKA-14533: re-enable the 'false' parameter of SmokeTestDriverIntegrationTest

2023-01-23 Thread via GitHub
ableegoldman commented on PR #13155: URL: https://github.com/apache/kafka/pull/13155#issuecomment-1401152718 cc @lucasbru @mjsax -- 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 comm

[GitHub] [kafka] philipnee commented on pull request #13125: KAFKA-14626: Kafka Consumer Coordinator does not cleanup all metrics after shutdown

2023-01-23 Thread via GitHub
philipnee commented on PR #13125: URL: https://github.com/apache/kafka/pull/13125#issuecomment-1401162257 Thanks @guozhangwang - A comment I have here is, would it be more convenient to close/remove all the metrics and sensors in the Metrics class upon closing instead of relying on these su

[GitHub] [kafka] guozhangwang commented on pull request #13125: KAFKA-14626: Kafka Consumer Coordinator does not cleanup all metrics after shutdown

2023-01-23 Thread via GitHub
guozhangwang commented on PR #13125: URL: https://github.com/apache/kafka/pull/13125#issuecomment-1401212144 The concern I had is that, the same metrics registry object is used across multiple nested classes, while some of those classes may be closed and re-created along the lifetime of the

[GitHub] [kafka] C0urante merged pull request #13144: KAFKA-14463 Invoke of ConnectorClientConfigOverridePolicy#close

2023-01-23 Thread via GitHub
C0urante merged PR #13144: URL: https://github.com/apache/kafka/pull/13144 -- 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] mjsax commented on a diff in pull request #13155: [DO NOT MERGE] KAFKA-14533: re-enable the 'false' parameter of SmokeTestDriverIntegrationTest

2023-01-23 Thread via GitHub
mjsax commented on code in PR #13155: URL: https://github.com/apache/kafka/pull/13155#discussion_r1084789144 ## streams/src/test/java/org/apache/kafka/streams/integration/SmokeTestDriverIntegrationTest.java: ## @@ -96,9 +96,8 @@ SmokeTestDriver.VerificationResult result() {

[GitHub] [kafka] mjsax commented on a diff in pull request #13142: KAFKA-14491: [2/N] Refactor RocksDB store open iterator management

2023-01-23 Thread via GitHub
mjsax commented on code in PR #13142: URL: https://github.com/apache/kafka/pull/13142#discussion_r1084826103 ## streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBStore.java: ## @@ -114,6 +114,7 @@ public class RocksDBStore implements KeyValueStore, BatchWriti

[GitHub] [kafka] mjsax commented on a diff in pull request #13143: KAFKA-14491: [3/N] Add logical key value segments

2023-01-23 Thread via GitHub
mjsax commented on code in PR #13143: URL: https://github.com/apache/kafka/pull/13143#discussion_r1084834388 ## streams/src/main/java/org/apache/kafka/streams/state/internals/LogicalKeyValueSegment.java: ## @@ -0,0 +1,297 @@ +/* + * Licensed to the Apache Software Foundation (AS

[GitHub] [kafka] ableegoldman opened a new pull request, #13156: KAFKA-14533: re-enable 'false' and disable the 'true' parameter of SmokeTestDriverIntegrationTest

2023-01-24 Thread via GitHub
ableegoldman opened a new pull request, #13156: URL: https://github.com/apache/kafka/pull/13156 I immediately saw a failure with `stateUpdaterEnabled = true` after disabling the `false` parameter, which suggests the problem actually does lie in the state updater itself and not the act of pa

[GitHub] [kafka] ableegoldman commented on pull request #13156: KAFKA-14533: re-enable 'false' and disable the 'true' parameter of SmokeTestDriverIntegrationTest

2023-01-24 Thread via GitHub
ableegoldman commented on PR #13156: URL: https://github.com/apache/kafka/pull/13156#issuecomment-1401529084 cc @lucasbru @mjsax -- 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 comm

[GitHub] [kafka] ableegoldman merged pull request #13156: KAFKA-14533: re-enable 'false' and disable the 'true' parameter of SmokeTestDriverIntegrationTest

2023-01-24 Thread via GitHub
ableegoldman merged PR #13156: URL: https://github.com/apache/kafka/pull/13156 -- 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.ap

[GitHub] [kafka] ableegoldman commented on pull request #13156: KAFKA-14533: re-enable 'false' and disable the 'true' parameter of SmokeTestDriverIntegrationTest

2023-01-24 Thread via GitHub
ableegoldman commented on PR #13156: URL: https://github.com/apache/kafka/pull/13156#issuecomment-1401535688 Merged to trunk and cherrypicked back to 3.4 since this is trivial and rather time-sensitive -- hopefully we can finally narrow down the culprit for good and have a better shot at ge

[GitHub] [kafka] fvaleri commented on pull request #13136: KAFKA-14582: Move JmxTool to tools

2023-01-24 Thread via GitHub
fvaleri commented on PR #13136: URL: https://github.com/apache/kafka/pull/13136#issuecomment-1401539053 @mimaison @clolov @vamossagar12 this is ready for review if you have some time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [kafka] yashmayya commented on a diff in pull request #12984: KAFKA-14455: Kafka Connect create and update REST APIs should surface failures while writing to the config topic

2023-01-24 Thread via GitHub
yashmayya commented on code in PR #12984: URL: https://github.com/apache/kafka/pull/12984#discussion_r1084960389 ## connect/runtime/src/main/java/org/apache/kafka/connect/storage/KafkaConfigBackingStore.java: ## @@ -712,8 +733,16 @@ KafkaBasedLog setupAndCreateKafkaBasedLog(Str

[GitHub] [kafka] nizhikov opened a new pull request, #13157: KAFKA-14599 Enable javadoc for :connect:mirror module

2023-01-24 Thread via GitHub
nizhikov opened a new pull request, #13157: URL: https://github.com/apache/kafka/pull/13157 Currently, javadoc task disabled for `:connect:mirror` module. This PR enables it. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] V

[GitHub] [kafka] vamossagar12 opened a new pull request, #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-24 Thread via GitHub
vamossagar12 opened a new pull request, #13158: URL: https://github.com/apache/kafka/pull/13158 Moving TopicFilter to server-common/utils -- 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 speci

[GitHub] [kafka] divijvaidya commented on pull request #12331: KAFKA-1194: changes needed to run on Windows

2023-01-24 Thread via GitHub
divijvaidya commented on PR #12331: URL: https://github.com/apache/kafka/pull/12331#issuecomment-1401813587 @sjetha you should probably send an email to the [d...@kafka.apache.org](mailto:d...@kafka.apache.org) mailing list, explaining the urgency and asking for someone to take a look at th

[GitHub] [kafka] vamossagar12 commented on pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-24 Thread via GitHub
vamossagar12 commented on PR #13158: URL: https://github.com/apache/kafka/pull/13158#issuecomment-1401815286 @fvaleri , plz review this 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 to the spe

[GitHub] [kafka] divijvaidya commented on pull request #13111: KAFKA-14190: Update Zk TopicId from locally stored cache in controller

2023-01-24 Thread via GitHub
divijvaidya commented on PR #13111: URL: https://github.com/apache/kafka/pull/13111#issuecomment-1401824565 @dajac > Will this code still be around by the time tiered storage is completed? I don't know but my point is that this code change is simple and safe enough to add it to the cu

[GitHub] [kafka] ruslankrivoshein commented on pull request #13074: MINOR: upgrade.from is revealed for Upgrade doc

2023-01-24 Thread via GitHub
ruslankrivoshein commented on PR #13074: URL: https://github.com/apache/kafka/pull/13074#issuecomment-1401965227 @hachikuji, what do you think about this tiny edition? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

[GitHub] [kafka] vamossagar12 commented on pull request #12561: KAFKA-12495: Exponential backoff retry to prevent rebalance storms when worker joins after revoking rebalance

2023-01-24 Thread via GitHub
vamossagar12 commented on PR #12561: URL: https://github.com/apache/kafka/pull/12561#issuecomment-1402008138 @C0urante , thanks for your response. Makes sense. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL ab

[GitHub] [kafka] MPeli commented on pull request #6329: KAFKA-1194: Fix renaming open files on Windows

2023-01-24 Thread via GitHub
MPeli commented on PR #6329: URL: https://github.com/apache/kafka/pull/6329#issuecomment-1402091415 Hi, I have created a new pull request. See #12331 -- 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] mimaison commented on a diff in pull request #13131: KAFKA-14628: Move CommandLineUtils and CommandDefaultOptions shared classes

2023-01-24 Thread via GitHub
mimaison commented on code in PR #13131: URL: https://github.com/apache/kafka/pull/13131#discussion_r1085116578 ## server-common/src/main/java/org/apache/kafka/server/util/CommandLineUtils.java: ## @@ -0,0 +1,201 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under

[GitHub] [kafka] mimaison commented on pull request #13157: KAFKA-14599 Enable javadoc for :connect:mirror module

2023-01-24 Thread via GitHub
mimaison commented on PR #13157: URL: https://github.com/apache/kafka/pull/13157#issuecomment-1402188145 @nizhikov Thanks for looking at this issue. I don't think we can simply enable the javadoc on the `connect:mirror` project as it will also include all public classes from that module tha

[GitHub] [kafka] nizhikov commented on pull request #13157: KAFKA-14599 Enable javadoc for :connect:mirror module

2023-01-24 Thread via GitHub
nizhikov commented on PR #13157: URL: https://github.com/apache/kafka/pull/13157#issuecomment-1402195231 @mimaison Thanks for the review. What about *Config classes? like `MirrorCheckpointConfig` or `MirrorConnectorConfig`. Are the part of public API? Should I move them to mirro

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

2023-01-24 Thread via GitHub
viktorsomogyi commented on code in PR #12992: URL: https://github.com/apache/kafka/pull/12992#discussion_r1085559673 ## clients/src/main/java/org/apache/kafka/common/config/provider/EnvVarConfigProvider.java: ## @@ -0,0 +1,89 @@ +/* + * Licensed to the Apache Software Foundation

[GitHub] [kafka] fvaleri commented on a diff in pull request #13131: KAFKA-14628: Move CommandLineUtils and CommandDefaultOptions shared classes

2023-01-24 Thread via GitHub
fvaleri commented on code in PR #13131: URL: https://github.com/apache/kafka/pull/13131#discussion_r1085675650 ## server-common/src/main/java/org/apache/kafka/server/util/CommandLineUtils.java: ## @@ -0,0 +1,201 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under o

[GitHub] [kafka] fvaleri commented on pull request #13131: KAFKA-14628: Move CommandLineUtils and CommandDefaultOptions shared classes

2023-01-24 Thread via GitHub
fvaleri commented on PR #13131: URL: https://github.com/apache/kafka/pull/13131#issuecomment-1402347644 > we have pushed Exit.exit(1) down into CommandLineUtils. @clolov it wasn't pushed down, that's the original logic. The code you are referring to in ZkSecurityMigrator.scala:103 is

[GitHub] [kafka] fvaleri commented on a diff in pull request #13131: KAFKA-14628: Move CommandLineUtils and CommandDefaultOptions shared classes

2023-01-24 Thread via GitHub
fvaleri commented on code in PR #13131: URL: https://github.com/apache/kafka/pull/13131#discussion_r1085675650 ## server-common/src/main/java/org/apache/kafka/server/util/CommandLineUtils.java: ## @@ -0,0 +1,201 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under o

[GitHub] [kafka] fvaleri commented on a diff in pull request #13131: KAFKA-14628: Move CommandLineUtils and CommandDefaultOptions shared classes

2023-01-24 Thread via GitHub
fvaleri commented on code in PR #13131: URL: https://github.com/apache/kafka/pull/13131#discussion_r1085675650 ## server-common/src/main/java/org/apache/kafka/server/util/CommandLineUtils.java: ## @@ -0,0 +1,201 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under o

[GitHub] [kafka] mimaison commented on a diff in pull request #13136: KAFKA-14582: Move JmxTool to tools

2023-01-24 Thread via GitHub
mimaison commented on code in PR #13136: URL: https://github.com/apache/kafka/pull/13136#discussion_r1085565198 ## checkstyle/import-control.xml: ## @@ -347,7 +347,7 @@ - Review Comment: We seem to have the trailing space everywhere else, so maybe keep it her

[GitHub] [kafka] mimaison commented on pull request #13157: KAFKA-14599 Enable javadoc for :connect:mirror module

2023-01-24 Thread via GitHub
mimaison commented on PR #13157: URL: https://github.com/apache/kafka/pull/13157#issuecomment-1402375492 The Config classes are not part of the public API. I suggested moving the interfaces without thinking too much about it, have you considered if this could break anything? -- This is a

[GitHub] [kafka] nizhikov commented on pull request #13157: KAFKA-14599 Enable javadoc for :connect:mirror module

2023-01-24 Thread via GitHub
nizhikov commented on PR #13157: URL: https://github.com/apache/kafka/pull/13157#issuecomment-1402420416 I can only imagine users who excluded mirror-client dependency for whatever reason :) Don't think we should consider such case as a blocker. -- This is an automated message from the

[GitHub] [kafka] rajinisivaram commented on pull request #13119: KAFKA-14623: OAuth's HttpAccessTokenRetriever potentially leaks secrets in logging

2023-01-24 Thread via GitHub
rajinisivaram commented on PR #13119: URL: https://github.com/apache/kafka/pull/13119#issuecomment-1402448121 Test failures not related, merging to trunk. -- 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

[GitHub] [kafka] rajinisivaram merged pull request #13119: KAFKA-14623: OAuth's HttpAccessTokenRetriever potentially leaks secrets in logging

2023-01-24 Thread via GitHub
rajinisivaram merged PR #13119: URL: https://github.com/apache/kafka/pull/13119 -- 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.a

[GitHub] [kafka] lucasbru opened a new pull request, #13160: chore: fix flaky DefaultStateUpdaterTest

2023-01-24 Thread via GitHub
lucasbru opened a new pull request, #13160: URL: https://github.com/apache/kafka/pull/13160 Mockito should not make named topologies paused by default. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL ab

[GitHub] [kafka] Cerchie opened a new pull request, #13161: Kafka 14128

2023-01-24 Thread via GitHub
Cerchie opened a new pull request, #13161: URL: https://github.com/apache/kafka/pull/13161 In response to [14128](https://issues.apache.org/jira/browse/KAFKA-14128). Addresses by moving final catch condition into an else block. Testing strategy: I'm attempting a unit test first. I'v

[GitHub] [kafka] dpcollins-google opened a new pull request, #13162: fix: replace an inefficient loop in kafka internals

2023-01-24 Thread via GitHub
dpcollins-google opened a new pull request, #13162: URL: https://github.com/apache/kafka/pull/13162 Instead use Channels.newChannel to write in larger chunks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL abov

[GitHub] [kafka] vcrfxia commented on a diff in pull request #13142: KAFKA-14491: [2/N] Refactor RocksDB store open iterator management

2023-01-24 Thread via GitHub
vcrfxia commented on code in PR #13142: URL: https://github.com/apache/kafka/pull/13142#discussion_r1085935187 ## streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBTimestampedStore.java: ## @@ -383,7 +383,9 @@ public KeyValue makeNext() { @Override

[GitHub] [kafka] vcrfxia commented on a diff in pull request #13142: KAFKA-14491: [2/N] Refactor RocksDB store open iterator management

2023-01-24 Thread via GitHub
vcrfxia commented on code in PR #13142: URL: https://github.com/apache/kafka/pull/13142#discussion_r1085933946 ## streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBStore.java: ## @@ -351,13 +360,23 @@ public QueryResult query( @Override public , P>

[GitHub] [kafka] cmccabe commented on a diff in pull request #13140: KAFKA-14644: Process should crash after failure in Raft IO thread

2023-01-24 Thread via GitHub
cmccabe commented on code in PR #13140: URL: https://github.com/apache/kafka/pull/13140#discussion_r1085968353 ## core/src/test/scala/unit/kafka/raft/RaftManagerTest.scala: ## @@ -198,7 +200,8 @@ class RaftManagerTest { @Test def testShutdownIoThread(): Unit = { val r

[GitHub] [kafka] vcrfxia commented on a diff in pull request #13143: KAFKA-14491: [3/N] Add logical key value segments

2023-01-24 Thread via GitHub
vcrfxia commented on code in PR #13143: URL: https://github.com/apache/kafka/pull/13143#discussion_r1085990051 ## streams/src/main/java/org/apache/kafka/streams/state/internals/LogicalKeyValueSegment.java: ## @@ -0,0 +1,297 @@ +/* + * Licensed to the Apache Software Foundation (

[GitHub] [kafka] guozhangwang merged pull request #13160: chore: fix flaky DefaultStateUpdaterTest

2023-01-24 Thread via GitHub
guozhangwang merged PR #13160: URL: https://github.com/apache/kafka/pull/13160 -- 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.ap

[GitHub] [kafka] guozhangwang commented on pull request #13160: chore: fix flaky DefaultStateUpdaterTest

2023-01-24 Thread via GitHub
guozhangwang commented on PR #13160: URL: https://github.com/apache/kafka/pull/13160#issuecomment-1402827998 LGTM! -- 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 unsubs

[GitHub] [kafka] cmccabe merged pull request #13151: Fail broker and controller startup on authorizer failure

2023-01-24 Thread via GitHub
cmccabe merged PR #13151: URL: https://github.com/apache/kafka/pull/13151 -- 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] blueberrysugarhigh commented on pull request #12126: KAFKA-8713 KIP-581: Add new conf serialize.accept.optional.null in connect-json

2023-01-24 Thread via GitHub
blueberrysugarhigh commented on PR #12126: URL: https://github.com/apache/kafka/pull/12126#issuecomment-1402996186 > @rayokota sorry for bothering you. I'm trying to maintain my own version of `JsonConverter`. I just copied the code and pasted it to a new class `JsonConverter`. and I replac

[GitHub] [kafka] rayokota commented on pull request #12126: KAFKA-8713 KIP-581: Add new conf serialize.accept.optional.null in connect-json

2023-01-24 Thread via GitHub
rayokota commented on PR #12126: URL: https://github.com/apache/kafka/pull/12126#issuecomment-1403014501 @blueberrysugarhigh , sorry I'm not the author of this PR and I haven't tried it myself. -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [kafka] Playerharperb commented on pull request #13162: fix: replace an inefficient loop in kafka internals

2023-01-24 Thread via GitHub
Playerharperb commented on PR #13162: URL: https://github.com/apache/kafka/pull/13162#issuecomment-1403125466 Hello my name is playerharp...@gmail.com and I am interested in this job posting on the website -- This is an automated message from the Apache Git Service. To respond to the mes

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

2023-01-25 Thread via GitHub
Schm1tz1 commented on code in PR #12992: URL: https://github.com/apache/kafka/pull/12992#discussion_r1086368344 ## clients/src/main/java/org/apache/kafka/common/config/provider/EnvVarConfigProvider.java: ## @@ -0,0 +1,89 @@ +/* + * Licensed to the Apache Software Foundation (ASF

[GitHub] [kafka] urbandan commented on a diff in pull request #13137: KAFKA-15086: Intra-cluster communication for Mirror Maker 2

2023-01-25 Thread via GitHub
urbandan commented on code in PR #13137: URL: https://github.com/apache/kafka/pull/13137#discussion_r1086404484 ## connect/mirror/src/test/java/org/apache/kafka/connect/mirror/integration/DedicatedMirrorIntegrationTest.java: ## @@ -0,0 +1,228 @@ +/* + * Licensed to the Apache So

[GitHub] [kafka] urbandan opened a new pull request, #13163: KAFKA-14653: MirrorMakerConfig using raw properties instead of post-r…

2023-01-25 Thread via GitHub
urbandan opened a new pull request, #13163: URL: https://github.com/apache/kafka/pull/13163 …esolution properties. MirrorMakerConfig extends AbstractConfig, which resolves config provider based references eagerly, construction time. Because of this, Connector configurations created b

[GitHub] [kafka] urbandan commented on pull request #13163: KAFKA-14653: MirrorMakerConfig using raw properties instead of post-r…

2023-01-25 Thread via GitHub
urbandan commented on PR #13163: URL: https://github.com/apache/kafka/pull/13163#issuecomment-1403439915 @C0urante @viktorsomogyi Can you please 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 abov

[GitHub] [kafka] fvaleri commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-25 Thread via GitHub
fvaleri commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1086613346 ## server-common/src/test/java/org/apache/kafka/server/util/TopicFilterTest.java: ## @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] [kafka] fvaleri commented on a diff in pull request #13136: KAFKA-14582: Move JmxTool to tools

2023-01-25 Thread via GitHub
fvaleri commented on code in PR #13136: URL: https://github.com/apache/kafka/pull/13136#discussion_r1086675903 ## core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala: ## @@ -801,21 +801,15 @@ object ConsumerGroupCommand extends Logging { partitionsToReset.map { t

[GitHub] [kafka] fvaleri commented on a diff in pull request #13136: KAFKA-14582: Move JmxTool to tools

2023-01-25 Thread via GitHub
fvaleri commented on code in PR #13136: URL: https://github.com/apache/kafka/pull/13136#discussion_r1086694567 ## tools/src/main/java/org/apache/kafka/tools/JmxCommand.java: ## @@ -0,0 +1,441 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contr

[GitHub] [kafka] fvaleri commented on pull request #13136: KAFKA-14582: Move JmxTool to tools

2023-01-25 Thread via GitHub
fvaleri commented on PR #13136: URL: https://github.com/apache/kafka/pull/13136#issuecomment-1403712199 Thanks @mimaison. I addressed all your comments and now working on the test suite. -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [kafka] hachikuji merged pull request #13140: KAFKA-14644: Process should crash after failure in Raft IO thread

2023-01-25 Thread via GitHub
hachikuji merged PR #13140: URL: https://github.com/apache/kafka/pull/13140 -- 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] jolshan commented on a diff in pull request #12149: KAFKA-13668: Retry upon missing initProducerId due to authorization error

2023-01-25 Thread via GitHub
jolshan commented on code in PR #12149: URL: https://github.com/apache/kafka/pull/12149#discussion_r1086981346 ## clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java: ## @@ -300,9 +301,13 @@ void runOnce() { try { transacti

[GitHub] [kafka] jolshan commented on a diff in pull request #12149: KAFKA-13668: Retry upon missing initProducerId due to authorization error

2023-01-25 Thread via GitHub
jolshan commented on code in PR #12149: URL: https://github.com/apache/kafka/pull/12149#discussion_r1086981869 ## clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java: ## @@ -300,9 +301,13 @@ void runOnce() { try { transacti

[GitHub] [kafka] lucasbru opened a new pull request, #13164: chore: Fix scaladoc warnings

2023-01-25 Thread via GitHub
lucasbru opened a new pull request, #13164: URL: https://github.com/apache/kafka/pull/13164 Make sure no scaladoc warnings are emitted from the streams-scala project build. We cannot fully fix all scaladoc warnings due to limitations of the scaladoc tool, so this is a best-effort attempt at

[GitHub] [kafka] gharris1727 opened a new pull request, #13165: KAFKA-14654: Connector classes should statically initialize with plugin classloader

2023-01-25 Thread via GitHub
gharris1727 opened a new pull request, #13165: URL: https://github.com/apache/kafka/pull/13165 The scanPluginPath -> getPluginDesc -> versionFor code path instantiates connectors in order to evaluate their version() method. This is the first call to initialize these classes, and so performs

[GitHub] [kafka] jolshan commented on a diff in pull request #12149: KAFKA-13668: Retry upon missing initProducerId due to authorization error

2023-01-25 Thread via GitHub
jolshan commented on code in PR #12149: URL: https://github.com/apache/kafka/pull/12149#discussion_r1086992753 ## clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java: ## @@ -155,7 +155,7 @@ private enum State { private boolean isTra

[GitHub] [kafka] mjsax commented on a diff in pull request #13164: MINOR: Fix scaladoc warnings

2023-01-25 Thread via GitHub
mjsax commented on code in PR #13164: URL: https://github.com/apache/kafka/pull/13164#discussion_r1087040518 ## streams/streams-scala/src/main/scala/org/apache/kafka/streams/scala/kstream/Consumed.scala: ## @@ -43,7 +43,7 @@ object Consumed { ConsumedJ.`with`(keySerde, valu

[GitHub] [kafka] cmccabe commented on pull request #13098: MINOR: remove BrokerMetadataListener

2023-01-25 Thread via GitHub
cmccabe commented on PR #13098: URL: https://github.com/apache/kafka/pull/13098#issuecomment-1404230760 Looks like something exited the Jenkins process. Rerunning. ``` [2023-01-24T22ː55ː33.723Z] Execution failed for task 'ːcoreːintegrationTest'. [2023-01-24T22ː55ː33.723Z] > Process '

[GitHub] [kafka] kirktrue opened a new pull request, #13166: KAFKA-14623: OAuth's HttpAccessTokenRetriever potentially leaks secrets in logging

2023-01-25 Thread via GitHub
kirktrue opened a new pull request, #13166: URL: https://github.com/apache/kafka/pull/13166 Removes logging of the HTTP response directly in all known cases to prevent potentially logging access tokens. Reviewers: Sushant Mahajan , Rajini Sivaram (cherry picked from commit bc1ce

[GitHub] [kafka] jsancio commented on pull request #13154: MINOR; Make granting voter immutable

2023-01-25 Thread via GitHub
jsancio commented on PR #13154: URL: https://github.com/apache/kafka/pull/13154#issuecomment-1404366998 Merging. Unrelated 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 speci

[GitHub] [kafka] jsancio merged pull request #13154: MINOR; Make granting voter immutable

2023-01-25 Thread via GitHub
jsancio merged PR #13154: URL: https://github.com/apache/kafka/pull/13154 -- 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] guozhangwang opened a new pull request, #13167: KAFKA-14650: Synchronize access to tasks inside task manager

2023-01-25 Thread via GitHub
guozhangwang opened a new pull request, #13167: URL: https://github.com/apache/kafka/pull/13167 1) The major fix: synchronize access to tasks inside task manager. 2) Clarify on func names of StreamThread that maybe triggered outside the StreamThread. 3) Minor cleanups. ### Commi

[GitHub] [kafka] guozhangwang commented on pull request #13167: KAFKA-14650: Synchronize access to tasks inside task manager

2023-01-25 Thread via GitHub
guozhangwang commented on PR #13167: URL: https://github.com/apache/kafka/pull/13167#issuecomment-1404437326 ping @cadonna for review. -- 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] vamossagar12 commented on pull request #13095: KAFKA-14580: Moving EndToEndLatency from core to tools module

2023-01-25 Thread via GitHub
vamossagar12 commented on PR #13095: URL: https://github.com/apache/kafka/pull/13095#issuecomment-1404639472 hi @mimaison would you plz review this PR whenever you get the chance? It's already approved by @fvaleri . Thanks -- This is an automated message from the Apache Git Service. To re

[GitHub] [kafka] vamossagar12 commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-25 Thread via GitHub
vamossagar12 commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087508896 ## server-common/src/main/java/org/apache/kafka/server/util/TopicFilter.java: ## @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under on

[GitHub] [kafka] vamossagar12 commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
vamossagar12 commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087521073 ## server-common/src/main/java/org/apache/kafka/server/util/TopicFilter.java: ## @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under on

[GitHub] [kafka] vamossagar12 commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
vamossagar12 commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087521793 ## server-common/src/main/java/org/apache/kafka/server/util/TopicFilter.java: ## @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under on

[GitHub] [kafka] vamossagar12 commented on pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
vamossagar12 commented on PR #13158: URL: https://github.com/apache/kafka/pull/13158#issuecomment-1404671786 > TopicPartitionFilter @fvaleri , sorry about the build failures. I hadn't run the checkstyle for core on my local before pushing. I will work on the TopicPartitionFilter class

[GitHub] [kafka] fvaleri commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
fvaleri commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087550310 ## server-common/src/main/java/org/apache/kafka/server/util/TopicFilter.java: ## @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or

[GitHub] [kafka] fvaleri commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
fvaleri commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087550486 ## server-common/src/main/java/org/apache/kafka/server/util/TopicFilter.java: ## @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or

[GitHub] [kafka] fvaleri commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
fvaleri commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087550486 ## server-common/src/main/java/org/apache/kafka/server/util/TopicFilter.java: ## @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or

[GitHub] [kafka] fvaleri commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
fvaleri commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087551664 ## server-common/src/main/java/org/apache/kafka/server/util/TopicFilter.java: ## @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or

[GitHub] [kafka] mjsax commented on pull request #13142: KAFKA-14491: [2/N] Refactor RocksDB store open iterator management

2023-01-26 Thread via GitHub
mjsax commented on PR #13142: URL: https://github.com/apache/kafka/pull/13142#issuecomment-1404744058 There is a test failure -- seems you need to update `shouldCloseIterator()` test and set a callback via `onClose()`? -- This is an automated message from the Apache Git Service. To respon

[GitHub] [kafka] mjsax commented on pull request #13143: KAFKA-14491: [3/N] Add logical key value segments

2023-01-26 Thread via GitHub
mjsax commented on PR #13143: URL: https://github.com/apache/kafka/pull/13143#issuecomment-1404747240 Seems some of you newly added tests fail. Can 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 U

[GitHub] [kafka] rajinisivaram merged pull request #13166: KAFKA-14623: OAuth's HttpAccessTokenRetriever potentially leaks secrets in logging

2023-01-26 Thread via GitHub
rajinisivaram merged PR #13166: URL: https://github.com/apache/kafka/pull/13166 -- 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.a

[GitHub] [kafka] lucasbru commented on a diff in pull request #13164: MINOR: Fix scaladoc warnings

2023-01-26 Thread via GitHub
lucasbru commented on code in PR #13164: URL: https://github.com/apache/kafka/pull/13164#discussion_r1087656183 ## streams/streams-scala/src/main/scala/org/apache/kafka/streams/scala/kstream/Consumed.scala: ## @@ -43,7 +43,7 @@ object Consumed { ConsumedJ.`with`(keySerde, v

[GitHub] [kafka] vamossagar12 commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
vamossagar12 commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087826981 ## server-common/src/test/java/org/apache/kafka/server/util/TopicFilterTest.java: ## @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) unde

[GitHub] [kafka] vamossagar12 commented on a diff in pull request #13158: KAFKA-14647: Moving TopicFilter to server-common/utils

2023-01-26 Thread via GitHub
vamossagar12 commented on code in PR #13158: URL: https://github.com/apache/kafka/pull/13158#discussion_r1087838897 ## server-common/src/main/java/org/apache/kafka/server/util/TopicFilter.java: ## @@ -0,0 +1,51 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under on

[GitHub] [kafka] viktorsomogyi commented on a diff in pull request #13137: KAFKA-15086: Intra-cluster communication for Mirror Maker 2

2023-01-26 Thread via GitHub
viktorsomogyi commented on code in PR #13137: URL: https://github.com/apache/kafka/pull/13137#discussion_r1087986328 ## connect/mirror/src/main/java/org/apache/kafka/connect/mirror/MirrorMaker.java: ## @@ -119,7 +126,16 @@ public class MirrorMaker { public MirrorMaker(Mirro

[GitHub] [kafka] rondagostino commented on a diff in pull request #13116: KAFKA-14351: Controller Mutation Quota for KRaft

2023-01-26 Thread via GitHub
rondagostino commented on code in PR #13116: URL: https://github.com/apache/kafka/pull/13116#discussion_r1088113461 ## core/src/main/scala/kafka/server/ControllerApis.scala: ## @@ -392,14 +394,36 @@ class ControllerApis(val requestChannel: RequestChannel, val describableTop

[GitHub] [kafka] mimaison commented on a diff in pull request #13095: KAFKA-14580: Moving EndToEndLatency from core to tools module

2023-01-26 Thread via GitHub
mimaison commented on code in PR #13095: URL: https://github.com/apache/kafka/pull/13095#discussion_r1088121137 ## tools/src/main/java/org/apache/kafka/tools/EndToEndLatency.java: ## @@ -0,0 +1,225 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + *

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