Re: [PR] KAFKA-15561: Client support for new SubscriptionPattern based subscription [kafka]

2024-03-09 Thread via GitHub
Phuc-Hong-Tran commented on code in PR #15188: URL: https://github.com/apache/kafka/pull/15188#discussion_r1518786653 ## clients/src/main/resources/common/message/ConsumerGroupHeartbeatRequest.json: ## @@ -35,6 +38,8 @@ "about": "-1 if it didn't change since the last

Re: [PR] KAFKA-14517: Implement regex subscriptions [kafka]

2024-03-09 Thread via GitHub
Phuc-Hong-Tran commented on PR #14327: URL: https://github.com/apache/kafka/pull/14327#issuecomment-1987118580 hi @JimmyWang6, are you still working on this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[jira] [Updated] (KAFKA-16345) Optionally allow urlencoding clientId and clientSecret in authorization header

2024-03-09 Thread Nelson B. (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nelson B. updated KAFKA-16345: -- Description: When a client communicates with OIDC provider to retrieve an access token RFC-6749 says

[PR] MINOR: Cleanup BoundedList to Make Constructors More Safe [kafka]

2024-03-09 Thread via GitHub
ChrisAHolland opened a new pull request, #15507: URL: https://github.com/apache/kafka/pull/15507 I noticed that were were a few implementation quirks with the implementation of `BoundedList.java` that could potentially lead to bugs if used improperly. 1. A constructor like method

Re: [PR] MINOR: remove the copy constructor of LogSegment [kafka]

2024-03-09 Thread via GitHub
chia7712 commented on code in PR #15488: URL: https://github.com/apache/kafka/pull/15488#discussion_r1518695740 ## core/src/test/scala/unit/kafka/log/LogLoaderTest.scala: ## @@ -352,19 +352,15 @@ class LogLoaderTest { // Intercept all segment read calls val

Re: [PR] MINOR: Cleanup log.dirs in ReplicaManagerTest on JVM exit [kafka]

2024-03-09 Thread via GitHub
chia7712 commented on code in PR #15289: URL: https://github.com/apache/kafka/pull/15289#discussion_r1518692934 ## clients/src/test/java/org/apache/kafka/test/TestUtils.java: ## @@ -195,6 +195,25 @@ public static File tempDirectory() { return tempDirectory(null);

Re: [PR] KAFKA-15417 flip joinSpuriousLookBackTimeMs and emit non-joined items [kafka]

2024-03-09 Thread via GitHub
florin-akermann commented on code in PR #14426: URL: https://github.com/apache/kafka/pull/14426#discussion_r1518681146 ## streams/src/main/java/org/apache/kafka/streams/kstream/internals/KStreamKStreamJoin.java: ## @@ -230,8 +234,19 @@ private void emitNonJoinedOuterRecords(

Re: [PR] MINOR: remove the copy constructor of LogSegment [kafka]

2024-03-09 Thread via GitHub
ijuma commented on code in PR #15488: URL: https://github.com/apache/kafka/pull/15488#discussion_r1518681734 ## core/src/test/scala/unit/kafka/log/LogLoaderTest.scala: ## @@ -352,19 +352,15 @@ class LogLoaderTest { // Intercept all segment read calls val

Re: [PR] KAFKA-15417 flip joinSpuriousLookBackTimeMs and emit non-joined items [kafka]

2024-03-09 Thread via GitHub
florin-akermann commented on code in PR #14426: URL: https://github.com/apache/kafka/pull/14426#discussion_r1518681146 ## streams/src/main/java/org/apache/kafka/streams/kstream/internals/KStreamKStreamJoin.java: ## @@ -230,8 +234,19 @@ private void emitNonJoinedOuterRecords(

Re: [PR] MINOR: Cleanup log.dirs in ReplicaManagerTest on JVM exit [kafka]

2024-03-09 Thread via GitHub
ijuma commented on code in PR #15289: URL: https://github.com/apache/kafka/pull/15289#discussion_r1518680219 ## clients/src/test/java/org/apache/kafka/test/TestUtils.java: ## @@ -195,6 +195,25 @@ public static File tempDirectory() { return tempDirectory(null); }

Re: [PR] KAFKA-16123: KStreamKStreamJoinProcessor does not drop late records. [kafka]

2024-03-09 Thread via GitHub
florin-akermann commented on PR #15189: URL: https://github.com/apache/kafka/pull/15189#issuecomment-1986999670 > So I would have expected that some test need an update with either advancing time pro-actively, or by expected certain result later in the test, because windows are closes

Re: [PR] KAFKA-16123: KStreamKStreamJoinProcessor does not drop late records. [kafka]

2024-03-09 Thread via GitHub
florin-akermann commented on code in PR #15189: URL: https://github.com/apache/kafka/pull/15189#discussion_r1518671144 ## streams/src/test/java/org/apache/kafka/streams/integration/RelaxedNullKeyRequirementJoinTest.java: ## @@ -71,11 +71,21 @@ void afterEach() { @Test

Re: [PR] KAFKA-16123: KStreamKStreamJoinProcessor does not drop late records. [kafka]

2024-03-09 Thread via GitHub
florin-akermann commented on code in PR #15189: URL: https://github.com/apache/kafka/pull/15189#discussion_r1518667989 ## streams/src/test/java/org/apache/kafka/streams/integration/RelaxedNullKeyRequirementJoinTest.java: ## @@ -71,11 +71,21 @@ void afterEach() { @Test

Re: [PR] KAFKA-16123: KStreamKStreamJoinProcessor does not drop late records. [kafka]

2024-03-09 Thread via GitHub
florin-akermann commented on code in PR #15189: URL: https://github.com/apache/kafka/pull/15189#discussion_r1518667829 ## streams/src/test/java/org/apache/kafka/streams/kstream/internals/KStreamKStreamJoinTest.java: ## @@ -1901,6 +1903,66 @@ public void

Re: [PR] KAFKA-16346: Fix flaky MetricsTest.testMetrics [kafka]

2024-03-09 Thread via GitHub
chia7712 commented on code in PR #15502: URL: https://github.com/apache/kafka/pull/15502#discussion_r1518650689 ## core/src/main/scala/kafka/network/RequestChannel.scala: ## @@ -258,7 +258,11 @@ object RequestChannel extends Logging {

Re: [PR] MINOR: Cleanup log.dirs in ReplicaManagerTest on JVM exit [kafka]

2024-03-09 Thread via GitHub
chia7712 commented on code in PR #15289: URL: https://github.com/apache/kafka/pull/15289#discussion_r1518650602 ## clients/src/test/java/org/apache/kafka/test/TestUtils.java: ## @@ -195,6 +195,25 @@ public static File tempDirectory() { return tempDirectory(null);

Re: [PR] MINOR: Reduce memory allocation in ClientTelemetryReporter.java [kafka]

2024-03-09 Thread via GitHub
ijuma commented on code in PR #15402: URL: https://github.com/apache/kafka/pull/15402#discussion_r1518649604 ## clients/src/main/java/org/apache/kafka/common/telemetry/internals/ClientTelemetryReporter.java: ## @@ -336,33 +337,35 @@ public long timeToNextUpdate(long

Re: [PR] MINOR: remove the copy constructor of LogSegment [kafka]

2024-03-09 Thread via GitHub
chia7712 commented on code in PR #15488: URL: https://github.com/apache/kafka/pull/15488#discussion_r1518649558 ## core/src/test/scala/unit/kafka/log/LogLoaderTest.scala: ## @@ -352,19 +352,15 @@ class LogLoaderTest { // Intercept all segment read calls val

Re: [PR] MINOR: Reduce memory allocation in ClientTelemetryReporter.java [kafka]

2024-03-09 Thread via GitHub
ijuma commented on code in PR #15402: URL: https://github.com/apache/kafka/pull/15402#discussion_r1518649290 ## clients/src/main/java/org/apache/kafka/common/telemetry/internals/ClientTelemetryReporter.java: ## @@ -336,33 +337,35 @@ public long timeToNextUpdate(long

Re: [PR] MINOR: Cleanup log.dirs in ReplicaManagerTest on JVM exit [kafka]

2024-03-09 Thread via GitHub
ijuma commented on code in PR #15289: URL: https://github.com/apache/kafka/pull/15289#discussion_r1518649065 ## clients/src/test/java/org/apache/kafka/test/TestUtils.java: ## @@ -195,6 +195,25 @@ public static File tempDirectory() { return tempDirectory(null); }

Re: [PR] MINOR: remove the copy constructor of LogSegment [kafka]

2024-03-09 Thread via GitHub
ijuma commented on code in PR #15488: URL: https://github.com/apache/kafka/pull/15488#discussion_r1518648733 ## core/src/test/scala/unit/kafka/log/LogLoaderTest.scala: ## @@ -352,19 +352,15 @@ class LogLoaderTest { // Intercept all segment read calls val

Re: [PR] MINOR: change inter.broker.protocol version to inter.broker.protocol.version [kafka]

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

Re: [PR] MINOR: Cleanup log.dirs in ReplicaManagerTest on JVM exit [kafka]

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

Re: [PR] MINOR: remove the copy constructor of LogSegment [kafka]

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

Re: [PR] MINOR: remove the copy constructor of LogSegment [kafka]

2024-03-09 Thread via GitHub
chia7712 commented on PR #15488: URL: https://github.com/apache/kafka/pull/15488#issuecomment-1986950699 the failed tests pass on my local. ```sh ./gradlew cleanTest core:test --tests QuorumControllerTest --tests ReplicaManagerTest ``` -- This is an automated message from the

[jira] [Comment Edited] (KAFKA-16356) Remove class-name dispatch in RemoteLogMetadataSerde

2024-03-09 Thread Linu Shibu (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17824971#comment-17824971 ] Linu Shibu edited comment on KAFKA-16356 at 3/9/24 5:30 PM: Can I assign

[jira] [Commented] (KAFKA-16356) Remove class-name dispatch in RemoteLogMetadataSerde

2024-03-09 Thread Linu Shibu (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17824971#comment-17824971 ] Linu Shibu commented on KAFKA-16356: Can I assign this to myself and work on it? > Remove

[jira] [Resolved] (KAFKA-14683) Replace EasyMock and PowerMock with Mockito in WorkerSinkTaskTest

2024-03-09 Thread Hector Geraldino (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hector Geraldino resolved KAFKA-14683. -- Reviewer: Greg Harris Resolution: Fixed > Replace EasyMock and PowerMock with

[jira] [Reopened] (KAFKA-16223) Replace EasyMock and PowerMock with Mockito for KafkaConfigBackingStoreTest

2024-03-09 Thread Hector Geraldino (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hector Geraldino reopened KAFKA-16223: -- > Replace EasyMock and PowerMock with Mockito for KafkaConfigBackingStoreTest >

[jira] [Resolved] (KAFKA-16223) Replace EasyMock and PowerMock with Mockito for KafkaConfigBackingStoreTest

2024-03-09 Thread Hector Geraldino (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hector Geraldino resolved KAFKA-16223. -- Fix Version/s: 3.8.0 Reviewer: Greg Harris Resolution: Fixed >

[PR] Cleanup WorkerSinkTaskTest [kafka]

2024-03-09 Thread via GitHub
hgeraldino opened a new pull request, #15506: URL: https://github.com/apache/kafka/pull/15506 Follow up of https://github.com/apache/kafka/pull/15316 * Rename `WorkerSinkTaskMockitoTest` back to `WorkerSinkTaskTest` * Tidy up the code a bit ### Committer Checklist (excluded

[PR] KAFKA-15949: Unify metadata.version format in log and error message [kafka]

2024-03-09 Thread via GitHub
FrankYang0529 opened a new pull request, #15505: URL: https://github.com/apache/kafka/pull/15505 There were different words for `metadata.version` like `metadata version` or `metadataVersion`. Unify format as `metadata.version`. ### Committer Checklist (excluded from commit

[PR] MINOR: change inter.broker.protocol version to inter.broker.protocol.version [kafka]

2024-03-09 Thread via GitHub
FrankYang0529 opened a new pull request, #15504: URL: https://github.com/apache/kafka/pull/15504 It looks like there is no `inter.broker.protocol` config. Change the name to `inter.broker.protocol.version`. ### Committer Checklist (excluded from commit message) - [ ] Verify

Re: [PR] KAFKA-16234: Log directory failure re-creates partitions in another logdir automatically [kafka]

2024-03-09 Thread via GitHub
soarez commented on code in PR #15335: URL: https://github.com/apache/kafka/pull/15335#discussion_r1518545295 ## core/src/main/scala/kafka/log/LogManager.scala: ## @@ -355,10 +355,11 @@ class LogManager(logDirs: Seq[File], } else if

Re: [PR] Fix documentation for RETRIES_DOC on version 3.2 [kafka]

2024-03-09 Thread via GitHub
kamalcph commented on PR #15413: URL: https://github.com/apache/kafka/pull/15413#issuecomment-1986805186 > Yeah, totally; I think the important thing is correcting the documentation, as people may be confused while reading it. Still, I don't know where the documentation is. Is it a