[GitHub] [kafka] guozhangwang commented on a diff in pull request #12739: Replace EasyMock and PowerMock with Mockito | TimeOrderedCachingPersistentWindowStoreTest

2022-10-12 Thread GitBox
guozhangwang commented on code in PR #12739: URL: https://github.com/apache/kafka/pull/12739#discussion_r994141999 ## streams/src/test/java/org/apache/kafka/streams/state/internals/TimeOrderedCachingPersistentWindowStoreTest.java: ## @@ -138,51 +144,69 @@ public void setUp() {

[jira] [Commented] (KAFKA-14133) Remaining EasyMock to Mockito tests

2022-10-12 Thread Shekhar Prasad Rajak (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616757#comment-17616757 ] Shekhar Prasad Rajak commented on KAFKA-14133: -- PR #12739 for 

[GitHub] [kafka] shekhar-rajak opened a new pull request, #12739: Replace EasyMock and PowerMock with Mockito | TimeOrderedCachingPersistentWindowStoreTest

2022-10-12 Thread GitBox
shekhar-rajak opened a new pull request, #12739: URL: https://github.com/apache/kafka/pull/12739 Related to KAFKA-14059 and KAFKA-14132 Link: * https://issues.apache.org/jira/browse/KAFKA-14133 * https://issues.apache.org/jira/browse/KAFKA-14132 ### Committer

[GitHub] [kafka] showuon commented on pull request #11211: KAFKA-12960: Enforcing strict retention time for WindowStore and Sess…

2022-10-12 Thread GitBox
showuon commented on PR #11211: URL: https://github.com/apache/kafka/pull/11211#issuecomment-1276917798 Thanks for the patience, @vamossagar12 ! -- 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

[GitHub] [kafka] showuon merged pull request #11211: KAFKA-12960: Enforcing strict retention time for WindowStore and Sess…

2022-10-12 Thread GitBox
showuon merged PR #11211: URL: https://github.com/apache/kafka/pull/11211 -- 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] showuon commented on pull request #11211: KAFKA-12960: Enforcing strict retention time for WindowStore and Sess…

2022-10-12 Thread GitBox
showuon commented on PR #11211: URL: https://github.com/apache/kafka/pull/11211#issuecomment-1276916375 Failed tests are unrelated. ``` Build / JDK 11 and Scala 2.13 / org.apache.kafka.controller.QuorumControllerTest.testBalancePartitionLeaders() ``` -- This is an automated

[GitHub] [kafka] hachikuji commented on a diff in pull request #12738: minor: Trying to fix some flakiness in KRaftClusterTest::testDescribeQuorumRequestToBrokers()

2022-10-12 Thread GitBox
hachikuji commented on code in PR #12738: URL: https://github.com/apache/kafka/pull/12738#discussion_r994016187 ## core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala: ## @@ -811,20 +811,29 @@ class KRaftClusterTest {

[GitHub] [kafka] divijvaidya commented on a diff in pull request #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
divijvaidya commented on code in PR #12735: URL: https://github.com/apache/kafka/pull/12735#discussion_r994015093 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ErrorHandlingTaskTest.java: ## @@ -374,30 +344,37 @@ public void testErrorHandlingInSourceTasks()

[GitHub] [kafka] alexec closed pull request #12699: KIP-873: Add PipeDeserializer/PipeSerialize

2022-10-12 Thread GitBox
alexec closed pull request #12699: KIP-873: Add PipeDeserializer/PipeSerialize URL: https://github.com/apache/kafka/pull/12699 -- 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.

[GitHub] [kafka] alexec closed pull request #12698: KIP-873: Add ExceptionHandlingDeserializer

2022-10-12 Thread GitBox
alexec closed pull request #12698: KIP-873: Add ExceptionHandlingDeserializer URL: https://github.com/apache/kafka/pull/12698 -- 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.

[GitHub] [kafka] hachikuji commented on a diff in pull request #12736: KAFKA-14292 controlledShutDownOffset should only be updated if set to -1

2022-10-12 Thread GitBox
hachikuji commented on code in PR #12736: URL: https://github.com/apache/kafka/pull/12736#discussion_r993999005 ## metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java: ## @@ -400,12 +412,13 @@ long lowestActiveOffset() { } /** - * Mark

[GitHub] [kafka] guozhangwang merged pull request #12737: Kafka Streams Threading P1: Add Interface for new TaskManager and TaskExecutor

2022-10-12 Thread GitBox
guozhangwang merged PR #12737: URL: https://github.com/apache/kafka/pull/12737 -- 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] guozhangwang commented on pull request #12737: Kafka Streams Threading P1: Add Interface for new TaskManager and TaskExecutor

2022-10-12 Thread GitBox
guozhangwang commented on PR #12737: URL: https://github.com/apache/kafka/pull/12737#issuecomment-1276844346 Thanks for the reviews @vvcephei @ableegoldman , I will try to improve the javadocs in the next PR while merging this one as-is. Also none of the interface functions here are

[GitHub] [kafka] hachikuji commented on a diff in pull request #12736: KAFKA-14292 controlledShutDownOffset should only be updated if set to -1

2022-10-12 Thread GitBox
hachikuji commented on code in PR #12736: URL: https://github.com/apache/kafka/pull/12736#discussion_r993980280 ## metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java: ## @@ -276,7 +277,7 @@ Collection brokers() { } // VisibleForTesting -

[GitHub] [kafka] guozhangwang commented on a diff in pull request #12737: Kafka Streams Threading P1: Add Interface for new TaskManager and TaskExecutor

2022-10-12 Thread GitBox
guozhangwang commented on code in PR #12737: URL: https://github.com/apache/kafka/pull/12737#discussion_r993980012 ## streams/src/main/java/org/apache/kafka/streams/processor/internals/tasks/TaskManager.java: ## @@ -0,0 +1,100 @@ +/* + * Licensed to the Apache Software

[GitHub] [kafka] guozhangwang commented on a diff in pull request #12737: Kafka Streams Threading P1: Add Interface for new TaskManager and TaskExecutor

2022-10-12 Thread GitBox
guozhangwang commented on code in PR #12737: URL: https://github.com/apache/kafka/pull/12737#discussion_r993979720 ## streams/src/main/java/org/apache/kafka/streams/processor/internals/tasks/TaskManager.java: ## @@ -0,0 +1,100 @@ +/* + * Licensed to the Apache Software

[GitHub] [kafka] guozhangwang commented on a diff in pull request #12737: Kafka Streams Threading P1: Add Interface for new TaskManager and TaskExecutor

2022-10-12 Thread GitBox
guozhangwang commented on code in PR #12737: URL: https://github.com/apache/kafka/pull/12737#discussion_r993978872 ## streams/src/main/java/org/apache/kafka/streams/processor/internals/tasks/TaskExecutor.java: ## @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software

[GitHub] [kafka] guozhangwang commented on a diff in pull request #12737: Kafka Streams Threading P1: Add Interface for new TaskManager and TaskExecutor

2022-10-12 Thread GitBox
guozhangwang commented on code in PR #12737: URL: https://github.com/apache/kafka/pull/12737#discussion_r993975293 ## streams/src/main/java/org/apache/kafka/streams/processor/internals/tasks/TaskExecutor.java: ## @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software

[GitHub] [kafka] ahuang98 commented on a diff in pull request #12736: KAFKA-14292 controlledShutDownOffset should only be updated if set to -1

2022-10-12 Thread GitBox
ahuang98 commented on code in PR #12736: URL: https://github.com/apache/kafka/pull/12736#discussion_r993968289 ## metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java: ## @@ -276,7 +277,7 @@ Collection brokers() { } // VisibleForTesting -

[GitHub] [kafka] ahuang98 commented on a diff in pull request #12736: KAFKA-14292 controlledShutDownOffset should only be updated if set to -1

2022-10-12 Thread GitBox
ahuang98 commented on code in PR #12736: URL: https://github.com/apache/kafka/pull/12736#discussion_r993968289 ## metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java: ## @@ -276,7 +277,7 @@ Collection brokers() { } // VisibleForTesting -

[GitHub] [kafka] ahuang98 commented on a diff in pull request #12736: KAFKA-14292 controlledShutDownOffset should only be updated if set to -1

2022-10-12 Thread GitBox
ahuang98 commented on code in PR #12736: URL: https://github.com/apache/kafka/pull/12736#discussion_r993968289 ## metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java: ## @@ -276,7 +277,7 @@ Collection brokers() { } // VisibleForTesting -

[GitHub] [kafka] ableegoldman commented on pull request #11433: KAFKA-13295: Avoiding Transation timeouts arising due to long restora…

2022-10-12 Thread GitBox
ableegoldman commented on PR #11433: URL: https://github.com/apache/kafka/pull/11433#issuecomment-1276822852 Hey @vamossagar12 , sorry for the seriously long silence on this -- it was important and I shouldn't have let it slip. Anyways I know you pointed me to a specific question about

[GitHub] [kafka] ableegoldman commented on a diff in pull request #12737: Kafka Streams Threading P1: Add Interface for new TaskManager and TaskExecutor

2022-10-12 Thread GitBox
ableegoldman commented on code in PR #12737: URL: https://github.com/apache/kafka/pull/12737#discussion_r993948622 ## streams/src/main/java/org/apache/kafka/streams/processor/internals/tasks/TaskExecutor.java: ## @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software

[GitHub] [kafka] hachikuji commented on a diff in pull request #12736: KAFKA-14292 controlledShutDownOffset should only be updated if set to -1

2022-10-12 Thread GitBox
hachikuji commented on code in PR #12736: URL: https://github.com/apache/kafka/pull/12736#discussion_r993931747 ## metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java: ## @@ -276,7 +277,7 @@ Collection brokers() { } // VisibleForTesting -

[GitHub] [kafka] niket-goel commented on pull request #12733: KAFKA-14275; KRaft Controllers should crash after failing to apply any metadata record (#12709)

2022-10-12 Thread GitBox
niket-goel commented on PR #12733: URL: https://github.com/apache/kafka/pull/12733#issuecomment-1276769574 PS submitted https://github.com/apache/kafka/pull/12733 to try to address one of the Flaky tests above. -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [kafka] cmccabe commented on a diff in pull request #12715: MINOR: Refactor KRaft image generation

2022-10-12 Thread GitBox
cmccabe commented on code in PR #12715: URL: https://github.com/apache/kafka/pull/12715#discussion_r991501134 ## metadata/src/main/java/org/apache/kafka/image/MetadataImage.java: ## @@ -120,17 +116,17 @@ public AclsImage acls() { return acls; } -public void

[jira] [Created] (KAFKA-14295) FetchMessageConversionsPerSec meter not recorded

2022-10-12 Thread David Mao (Jira)
David Mao created KAFKA-14295: - Summary: FetchMessageConversionsPerSec meter not recorded Key: KAFKA-14295 URL: https://issues.apache.org/jira/browse/KAFKA-14295 Project: Kafka Issue Type: Bug

[GitHub] [kafka] jsancio commented on a diff in pull request #12715: MINOR: Refactor KRaft image generation

2022-10-12 Thread GitBox
jsancio commented on code in PR #12715: URL: https://github.com/apache/kafka/pull/12715#discussion_r993773605 ## core/src/main/scala/kafka/server/metadata/BrokerMetadataListener.scala: ## @@ -179,8 +184,13 @@ class BrokerMetadataListener( snapshotter.foreach { snapshotter

[GitHub] [kafka] hachikuji commented on a diff in pull request #12736: KAFKA-14292 controlledShutDownOffset should only be updated if set to -1

2022-10-12 Thread GitBox
hachikuji commented on code in PR #12736: URL: https://github.com/apache/kafka/pull/12736#discussion_r993756766 ## metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java: ## @@ -414,7 +420,9 @@ void updateControlledShutdownOffset(int brokerId, long

[GitHub] [kafka] hachikuji merged pull request #12732: MINOR: Fix incorrect example in feature command help

2022-10-12 Thread GitBox
hachikuji merged PR #12732: URL: https://github.com/apache/kafka/pull/12732 -- 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] soarez commented on a diff in pull request #12729: KAFKA-14285: Delete quota node in zookeeper when configs are empty

2022-10-12 Thread GitBox
soarez commented on code in PR #12729: URL: https://github.com/apache/kafka/pull/12729#discussion_r993735973 ## core/src/main/scala/kafka/zk/AdminZkClient.scala: ## @@ -365,6 +365,29 @@ class AdminZkClient(zkClient: KafkaZkClient) extends Logging { case ConfigType.Ip =>

[GitHub] [kafka] shekhar-rajak commented on pull request #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
shekhar-rajak commented on PR #12735: URL: https://github.com/apache/kafka/pull/12735#issuecomment-1276537604 Thanks @divijvaidya for the comments. I have done some changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

[GitHub] [kafka] niket-goel commented on pull request #12733: KAFKA-14275; KRaft Controllers should crash after failing to apply any metadata record (#12709)

2022-10-12 Thread GitBox
niket-goel commented on PR #12733: URL: https://github.com/apache/kafka/pull/12733#issuecomment-1276537439 All failing tests seem to have failed due to general flakiness. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [kafka] guozhangwang opened a new pull request, #12737: Kafka Streams Threading P1: Add Interface for new TaskManager and TaskExecutor

2022-10-12 Thread GitBox
guozhangwang opened a new pull request, #12737: URL: https://github.com/apache/kafka/pull/12737 1. TaskExecutor is the interface for a processor thread. It takes at most one task to process at a given time from the task manager. When being asked from the task manager to un-assign the

[GitHub] [kafka] philipnee commented on pull request #12672: KAFKA-14247: Consumer background thread base implementation

2022-10-12 Thread GitBox
philipnee commented on PR #12672: URL: https://github.com/apache/kafka/pull/12672#issuecomment-1276490455 Hey @guozhangwang , much thanks for the detail reviews, I tried to address some of the comments, please review them. In particular: 1. poll timeout logic 2. InterruptException

[GitHub] [kafka] vvcephei commented on pull request #11211: KAFKA-12960: Enforcing strict retention time for WindowStore and Sess…

2022-10-12 Thread GitBox
vvcephei commented on PR #11211: URL: https://github.com/apache/kafka/pull/11211#issuecomment-1276484490 Hey @showuon , I see you already approved this PR, and it doesn't look like any of the following questions were blockers. Do you want to go ahead and merge it? -- This is an

[GitHub] [kafka] ahuang98 opened a new pull request, #12736: KAFKA-14292 controlledShutDownOffset should only be updated if set to -1

2022-10-12 Thread GitBox
ahuang98 opened a new pull request, #12736: URL: https://github.com/apache/kafka/pull/12736 The `controlledShutDownOffset` is defined as the "offset at which the broker should complete its controlled shutdown, or -1 if the broker is not performing a controlled shutdown". The controller

[GitHub] [kafka] niket-goel commented on pull request #12733: KAFKA-14275; KRaft Controllers should crash after failing to apply any metadata record (#12709)

2022-10-12 Thread GitBox
niket-goel commented on PR #12733: URL: https://github.com/apache/kafka/pull/12733#issuecomment-1276460657 Interesting test failures on this. All are in related code, but not if sure if there are flakes or actual failures. Will run some local tests to verify. ``` Build / JDK 8 and

[jira] [Created] (KAFKA-14294) Kafka Streams should commit transaction even no records are processed

2022-10-12 Thread Vicky Papavasileiou (Jira)
Vicky Papavasileiou created KAFKA-14294: --- Summary: Kafka Streams should commit transaction even no records are processed Key: KAFKA-14294 URL: https://issues.apache.org/jira/browse/KAFKA-14294

[jira] [Updated] (KAFKA-14294) Kafka Streams should commit transaction when no records are processed

2022-10-12 Thread Vicky Papavasileiou (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vicky Papavasileiou updated KAFKA-14294: Summary: Kafka Streams should commit transaction when no records are processed

[jira] [Updated] (KAFKA-14132) Remaining PowerMock to Mockito tests

2022-10-12 Thread Divij Vaidya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Divij Vaidya updated KAFKA-14132: - Description: {color:#de350b}Some of the tests below use EasyMock as well. For those migrate

[GitHub] [kafka] divijvaidya commented on a diff in pull request #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
divijvaidya commented on code in PR #12735: URL: https://github.com/apache/kafka/pull/12735#discussion_r993621273 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ErrorHandlingTaskTest.java: ## @@ -224,85 +231,68 @@ public void tearDown() { if (metrics

[jira] [Commented] (KAFKA-14266) MirrorSourceTask will stop mirroring when get corrupt record

2022-10-12 Thread Chris Egerton (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616499#comment-17616499 ] Chris Egerton commented on KAFKA-14266: --- That's good to hear, thanks [~LucentWong]! >

[GitHub] [kafka] calmera commented on a diff in pull request #12188: KAFKA-10892: Shared Readonly State Stores

2022-10-12 Thread GitBox
calmera commented on code in PR #12188: URL: https://github.com/apache/kafka/pull/12188#discussion_r993559392 ## streams/src/test/java/org/apache/kafka/streams/kstream/internals/KStreamBranchTest.java: ## @@ -59,7 +59,7 @@ public void testKStreamBranch() {

[jira] [Updated] (KAFKA-14293) Basic Auth filter should set the SecurityContext after a successful login

2022-10-12 Thread Jira
[ https://issues.apache.org/jira/browse/KAFKA-14293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrik Márton updated KAFKA-14293: -- Component/s: KafkaConnect > Basic Auth filter should set the SecurityContext after a

[jira] [Assigned] (KAFKA-14293) Basic Auth filter should set the SecurityContext after a successful login

2022-10-12 Thread Jira
[ https://issues.apache.org/jira/browse/KAFKA-14293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrik Márton reassigned KAFKA-14293: - Assignee: Patrik Márton > Basic Auth filter should set the SecurityContext after a

[GitHub] [kafka] calmera commented on a diff in pull request #12188: KAFKA-10892: Shared Readonly State Stores

2022-10-12 Thread GitBox
calmera commented on code in PR #12188: URL: https://github.com/apache/kafka/pull/12188#discussion_r993550391 ## streams/src/main/java/org/apache/kafka/streams/Topology.java: ## @@ -737,6 +737,91 @@ public synchronized Topology addStateStore(final StoreBuilder storeBuilder,

[jira] [Resolved] (KAFKA-14099) No REST API request logs in Kafka connect

2022-10-12 Thread Chris Egerton (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Egerton resolved KAFKA-14099. --- Fix Version/s: 3.4.0 Reviewer: Chris Egerton Resolution: Fixed > No REST

[GitHub] [kafka] C0urante merged pull request #12434: KAFKA-14099 - Fix request logs in connect

2022-10-12 Thread GitBox
C0urante merged PR #12434: URL: https://github.com/apache/kafka/pull/12434 -- 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] zigarn commented on pull request #12434: KAFKA-14099 - Fix request logs in connect

2022-10-12 Thread GitBox
zigarn commented on PR #12434: URL: https://github.com/apache/kafka/pull/12434#issuecomment-1276269841 @C0urante No problem. Your scenario is fine by me. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above

[GitHub] [kafka] C0urante commented on pull request #12434: KAFKA-14099 - Fix request logs in connect

2022-10-12 Thread GitBox
C0urante commented on PR #12434: URL: https://github.com/apache/kafka/pull/12434#issuecomment-1276267039 Apologies for the delay @zigarn, and thank you for sticking with this. I'm still not sure we should be relying on the Scala `LogCaptureAppender`, but I don't want to ask you to

[jira] [Commented] (KAFKA-14133) Remaining EasyMock to Mockito tests

2022-10-12 Thread Shekhar Prasad Rajak (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616459#comment-17616459 ] Shekhar Prasad Rajak commented on KAFKA-14133: -- I am working on  StreamsMetricsImplTest

[GitHub] [kafka] dajac commented on pull request #12674: KAFKA-14255: Fetching from follower should be disallowed if fetch from follower is disabled

2022-10-12 Thread GitBox
dajac commented on PR #12674: URL: https://github.com/apache/kafka/pull/12674#issuecomment-1276256629 Jason and I discussed offline. Returning `OFFSET_NOT_AVAILABLE` is not really appropriate here because clients may not expect it on the fetch path. The issue is that we have never

[jira] [Commented] (KAFKA-14133) Remaining EasyMock to Mockito tests

2022-10-12 Thread Shekhar Prasad Rajak (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616454#comment-17616454 ] Shekhar Prasad Rajak commented on KAFKA-14133: -- I am working on PR

[jira] [Commented] (KAFKA-14132) Remaining PowerMock to Mockito tests

2022-10-12 Thread Shekhar Prasad Rajak (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616450#comment-17616450 ] Shekhar Prasad Rajak commented on KAFKA-14132: -- https://github.com/apache/kafka/pull/12735

[GitHub] [kafka] shekhar-rajak commented on a diff in pull request #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
shekhar-rajak commented on code in PR #12735: URL: https://github.com/apache/kafka/pull/12735#discussion_r993520740 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ErrorHandlingTaskTest.java: ## @@ -494,72 +502,29 @@ private void

[GitHub] [kafka] shekhar-rajak commented on a diff in pull request #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
shekhar-rajak commented on code in PR #12735: URL: https://github.com/apache/kafka/pull/12735#discussion_r993519986 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ErrorHandlingTaskTest.java: ## @@ -494,72 +502,29 @@ private void

[GitHub] [kafka] shekhar-rajak commented on a diff in pull request #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
shekhar-rajak commented on code in PR #12735: URL: https://github.com/apache/kafka/pull/12735#discussion_r993519420 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ErrorHandlingTaskTest.java: ## @@ -494,72 +502,29 @@ private void

[GitHub] [kafka] shekhar-rajak commented on a diff in pull request #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
shekhar-rajak commented on code in PR #12735: URL: https://github.com/apache/kafka/pull/12735#discussion_r993518887 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ErrorHandlingTaskTest.java: ## @@ -349,13 +340,15 @@ public void testErrorHandlingInSinkTasks()

[GitHub] [kafka] shekhar-rajak commented on a diff in pull request #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
shekhar-rajak commented on code in PR #12735: URL: https://github.com/apache/kafka/pull/12735#discussion_r993517764 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/ErrorHandlingTaskTest.java: ## @@ -177,16 +180,14 @@ public class ErrorHandlingTaskTest {

[GitHub] [kafka] shekhar-rajak opened a new pull request, #12735: Replace EasyMock and PowerMock with Mockito in connect/runtime/ErrorHandlingTaskTest | KAFKA-14059

2022-10-12 Thread GitBox
shekhar-rajak opened a new pull request, #12735: URL: https://github.com/apache/kafka/pull/12735 Related to KAFKA-14059 and KAFKA-14132 Link: * https://issues.apache.org/jira/browse/KAFKA-14133 * https://issues.apache.org/jira/browse/KAFKA-14132 ### Committer

[GitHub] [kafka] C0urante merged pull request #10910: KAFKA-12965 - Graceful clean up of task error metrics

2022-10-12 Thread GitBox
C0urante merged PR #10910: URL: https://github.com/apache/kafka/pull/10910 -- 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] C0urante commented on pull request #12355: KAFKA-14017: Implement new KIP-618 APIs in FileStreamSourceConnector

2022-10-12 Thread GitBox
C0urante commented on PR #12355: URL: https://github.com/apache/kafka/pull/12355#issuecomment-1276195174 @showuon Would you mind giving this a pass? Should be a quick one! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [kafka] C0urante commented on a diff in pull request #12355: KAFKA-14017: Implement new KIP-618 APIs in FileStreamSourceConnector

2022-10-12 Thread GitBox
C0urante commented on code in PR #12355: URL: https://github.com/apache/kafka/pull/12355#discussion_r993477767 ## connect/file/src/main/java/org/apache/kafka/connect/file/FileStreamSourceConnector.java: ## @@ -95,4 +96,18 @@ public void stop() { public ConfigDef config() {

[GitHub] [kafka] dajac commented on pull request #12734: KAFKA-14255; Return an empty record instead of an OffsetOutOfRangeException when fetching from a follower without a leader epoch

2022-10-12 Thread GitBox
dajac commented on PR #12734: URL: https://github.com/apache/kafka/pull/12734#issuecomment-1276174598 This is an potential alternative to https://github.com/apache/kafka/pull/12674. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [kafka] dajac opened a new pull request, #12734: KAFKA-14255; Return an empty record instead of an OffsetOutOfRangeException when fetching from a follower without a leader epoch

2022-10-12 Thread GitBox
dajac opened a new pull request, #12734: URL: https://github.com/apache/kafka/pull/12734 Fetching from a follower is only allowed from version 11 of the fetch request. Our intent was to allow it assuming that those would also implement KIP-320 (leader epoch). It turns out that some clients

[jira] [Created] (KAFKA-14293) Basic Auth filter should set the SecurityContext after a successful login

2022-10-12 Thread Jira
Patrik Márton created KAFKA-14293: - Summary: Basic Auth filter should set the SecurityContext after a successful login Key: KAFKA-14293 URL: https://issues.apache.org/jira/browse/KAFKA-14293 Project:

[jira] [Commented] (KAFKA-7739) Kafka Tiered Storage

2022-10-12 Thread Evan Williams (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-7739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17616235#comment-17616235 ] Evan Williams commented on KAFKA-7739: -- [~satish.duggana] How is this KIP moving along? 3.3.1 is