[GitHub] [kafka] Stephan14 commented on a diff in pull request #12308: KAFKA-14009: update rebalance timeout in memory when consumers use st…

2022-08-03 Thread GitBox
Stephan14 commented on code in PR #12308: URL: https://github.com/apache/kafka/pull/12308#discussion_r937373327 ## core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala: ## @@ -1300,7 +1304,9 @@ class GroupCoordinator(val brokerId: Int,

[jira] [Commented] (KAFKA-12495) Unbalanced connectors/tasks distribution will happen in Connect's incremental cooperative assignor

2022-08-03 Thread Sagar Rao (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17575018#comment-17575018 ] Sagar Rao commented on KAFKA-12495: --- Thanks [~ChrisEgerton] . I would take a look. I had another idea

[GitHub] [kafka] guozhangwang commented on a diff in pull request #12458: MINOR: Adds KRaft versions of most streams system tests

2022-08-03 Thread GitBox
guozhangwang commented on code in PR #12458: URL: https://github.com/apache/kafka/pull/12458#discussion_r937261885 ## tests/kafkatest/tests/streams/streams_broker_bounce_test.py: ## @@ -251,8 +264,9 @@ def test_broker_type_bounce_at_start(self, failure_mode, broker_type,

[GitHub] [kafka] guozhangwang commented on a diff in pull request #12458: MINOR: Adds KRaft versions of most streams system tests

2022-08-03 Thread GitBox
guozhangwang commented on code in PR #12458: URL: https://github.com/apache/kafka/pull/12458#discussion_r937256375 ## tests/kafkatest/tests/streams/streams_broker_bounce_test.py: ## @@ -205,11 +212,17 @@ def collect_results(self, sleep_time_secs): return data

[GitHub] [kafka] guozhangwang commented on pull request #12458: MINOR: Adds KRaft versions of most streams system tests

2022-08-03 Thread GitBox
guozhangwang commented on PR #12458: URL: https://github.com/apache/kafka/pull/12458#issuecomment-1204622110 > In addition to addressing the review comments, can you post a link to the system test results with this change? It would be good to verify the impact before merging. +1.

[jira] [Assigned] (KAFKA-14140) Ensure a fenced or in-controlled-shutdown replica is not eligible to become leader in ZK mode

2022-08-03 Thread Justine Olshan (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justine Olshan reassigned KAFKA-14140: -- Assignee: Justine Olshan > Ensure a fenced or in-controlled-shutdown replica is not

[jira] [Updated] (KAFKA-13299) Accept listeners that have the same port but use IPv4 vs IPv6

2022-08-03 Thread Jose Armando Garcia Sancio (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jose Armando Garcia Sancio updated KAFKA-13299: --- Fix Version/s: 3.4.0 (was: 3.3.0) > Accept

[jira] [Commented] (KAFKA-13299) Accept listeners that have the same port but use IPv4 vs IPv6

2022-08-03 Thread Jose Armando Garcia Sancio (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574967#comment-17574967 ] Jose Armando Garcia Sancio commented on KAFKA-13299: I am going to replace 3.3.0

[jira] [Created] (KAFKA-14140) Ensure a fenced or in-controlled-shutdown replica is not eligible to become leader in ZK mode

2022-08-03 Thread Justine Olshan (Jira)
Justine Olshan created KAFKA-14140: -- Summary: Ensure a fenced or in-controlled-shutdown replica is not eligible to become leader in ZK mode Key: KAFKA-14140 URL: https://issues.apache.org/jira/browse/KAFKA-14140

[jira] [Updated] (KAFKA-14139) Replaced disk can lead to loss of committed data even with non-empty ISR

2022-08-03 Thread Jason Gustafson (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Gustafson updated KAFKA-14139: Description: We have been thinking about disk failure cases recently. Suppose that a disk

[jira] [Created] (KAFKA-14139) Replaced disk can lead to loss of committed data even with non-empty ISR

2022-08-03 Thread Jason Gustafson (Jira)
Jason Gustafson created KAFKA-14139: --- Summary: Replaced disk can lead to loss of committed data even with non-empty ISR Key: KAFKA-14139 URL: https://issues.apache.org/jira/browse/KAFKA-14139

[GitHub] [kafka] guozhangwang merged pull request #12476: K14130: Reduce RackAwarenesssTest to unit Test

2022-08-03 Thread GitBox
guozhangwang merged PR #12476: URL: https://github.com/apache/kafka/pull/12476 -- 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] cmccabe merged pull request #12380: MINOR: Remove ARM/PowerPC builds from Jenkinsfile

2022-08-03 Thread GitBox
cmccabe merged PR #12380: URL: https://github.com/apache/kafka/pull/12380 -- 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 #12476: K14130: Reduce RackAwarenesssTest to unit Test

2022-08-03 Thread GitBox
guozhangwang commented on PR #12476: URL: https://github.com/apache/kafka/pull/12476#issuecomment-1204551176 I'm merging in this PR now since it includes a hotfix on [StreamTaskTest.java] to turn the build to green. -- This is an automated message from the Apache Git Service. To respond

[GitHub] [kafka] cmccabe commented on pull request #12380: MINOR: Remove ARM/PowerPC builds from Jenkinsfile

2022-08-03 Thread GitBox
cmccabe commented on PR #12380: URL: https://github.com/apache/kafka/pull/12380#issuecomment-1204549585 Yeah, these builds are out of control, failing all the time. It's probably more appropriate to make these nightly builds anyway -- This is an automated message from the Apache Git

[jira] [Created] (KAFKA-14138) The Exception Throwing Behavior of Transactional Producer is Inconsistent

2022-08-03 Thread Guozhang Wang (Jira)
Guozhang Wang created KAFKA-14138: - Summary: The Exception Throwing Behavior of Transactional Producer is Inconsistent Key: KAFKA-14138 URL: https://issues.apache.org/jira/browse/KAFKA-14138 Project:

[GitHub] [kafka] cmccabe commented on pull request #12483: KAFKA-14136 Generate ConfigRecord even if the value is unchanged

2022-08-03 Thread GitBox
cmccabe commented on PR #12483: URL: https://github.com/apache/kafka/pull/12483#issuecomment-1204544001 Can we do this just for the broker configs? We don't have this behavior for topic configs or other types of configs... LGTM other than that. -- This is an automated message from

[jira] [Commented] (KAFKA-10000) Atomic commit of source connector records and offsets

2022-08-03 Thread Jose Armando Garcia Sancio (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574945#comment-17574945 ] Jose Armando Garcia Sancio commented on KAFKA-1: {quote} I can file a separate

[GitHub] [kafka] niket-goel commented on a diff in pull request #12457: KAFKA-14104: Add CRC validation when iterating over Metadata Log Records

2022-08-03 Thread GitBox
niket-goel commented on code in PR #12457: URL: https://github.com/apache/kafka/pull/12457#discussion_r937164272 ## raft/src/test/java/org/apache/kafka/raft/internals/RecordsIteratorTest.java: ## @@ -85,18 +88,41 @@ public void testFileRecords( FileRecords fileRecords

[GitHub] [kafka] mumrah opened a new pull request, #12483: KAFKA-14136 Generate ConfigRecord even if the value is unchanged

2022-08-03 Thread GitBox
mumrah opened a new pull request, #12483: URL: https://github.com/apache/kafka/pull/12483 This patch changes the AlterConfigs behavior in KRaft mode to match that of ZK. When we receive a LegacyAlterConfig or IncrementalAlterConfig that does _not_ change a value for a key, we will still

[jira] [Commented] (KAFKA-13840) KafkaConsumer is unable to recover connection to group coordinator after commitOffsetsAsync exception

2022-08-03 Thread Guozhang Wang (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574928#comment-17574928 ] Guozhang Wang commented on KAFKA-13840: --- I think this issue is indeed fixed in the latest release

[GitHub] [kafka] ijuma commented on pull request #12482: Merge up to Apache Kafka 3.3 branching point

2022-08-03 Thread GitBox
ijuma commented on PR #12482: URL: https://github.com/apache/kafka/pull/12482#issuecomment-1204477274 Please disregard, wrong 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 specific

[GitHub] [kafka] ijuma opened a new pull request, #12482: Merge up to Apache Kafka 3.3 branching point

2022-08-03 Thread GitBox
ijuma opened a new pull request, #12482: URL: https://github.com/apache/kafka/pull/12482 > $ git merge-base apache-github/3.3 apache-github/trunk > 23c92ce79366e86ca719e5e51c550c27324acd83 > $ git show 23c92ce79366e86ca719e5e51c550c27324acd83 > commit

[GitHub] [kafka] ijuma closed pull request #12482: Merge up to Apache Kafka 3.3 branching point

2022-08-03 Thread GitBox
ijuma closed pull request #12482: Merge up to Apache Kafka 3.3 branching point URL: https://github.com/apache/kafka/pull/12482 -- 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.

[jira] [Commented] (KAFKA-13530) Flaky test ReplicaManagerTest

2022-08-03 Thread Matthew de Detrich (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574920#comment-17574920 ] Matthew de Detrich commented on KAFKA-13530: So I ran the tests inside a docker container to

[GitHub] [kafka] mdedetrich commented on a diff in pull request #12281: KAFKA-13971: Fix atomicity violations caused by improper usage of ConcurrentHashMap - part2

2022-08-03 Thread GitBox
mdedetrich commented on code in PR #12281: URL: https://github.com/apache/kafka/pull/12281#discussion_r937115822 ## streams/src/main/java/org/apache/kafka/streams/state/internals/metrics/RocksDBMetricsRecordingTrigger.java: ## @@ -32,12 +32,12 @@ public

[jira] [Updated] (KAFKA-13840) KafkaConsumer is unable to recover connection to group coordinator after commitOffsetsAsync exception

2022-08-03 Thread Ismael Juma (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ismael Juma updated KAFKA-13840: Priority: Critical (was: Major) > KafkaConsumer is unable to recover connection to group

[jira] [Created] (KAFKA-14137) Security Vulnerabilities reported in CVE-2021-45046 and CVE-2021-45046

2022-08-03 Thread venkat (Jira)
venkat created KAFKA-14137: -- Summary: Security Vulnerabilities reported in CVE-2021-45046 and CVE-2021-45046 Key: KAFKA-14137 URL: https://issues.apache.org/jira/browse/KAFKA-14137 Project: Kafka

[jira] [Commented] (KAFKA-13840) KafkaConsumer is unable to recover connection to group coordinator after commitOffsetsAsync exception

2022-08-03 Thread Kyle R Stehbens (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574909#comment-17574909 ] Kyle R Stehbens commented on KAFKA-13840: - [~guozhang]  In this instance, flink is continually

[GitHub] [kafka] dplavcic commented on pull request #12449: KAFKA-12947 [WIP]: Replace EasyMock and PowerMock with Mockito for StreamsMetricsImplTest

2022-08-03 Thread GitBox
dplavcic commented on PR #12449: URL: https://github.com/apache/kafka/pull/12449#issuecomment-1204406842 @ableegoldman, @cadonna could you please help review this changes in the streams test domain? -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [kafka] dplavcic commented on a diff in pull request #12449: KAFKA-12947 [WIP]: Replace EasyMock and PowerMock with Mockito for StreamsMetricsImplTest

2022-08-03 Thread GitBox
dplavcic commented on code in PR #12449: URL: https://github.com/apache/kafka/pull/12449#discussion_r937067118 ## streams/src/test/java/org/apache/kafka/streams/processor/internals/metrics/StreamsMetricsImplTest.java: ## @@ -287,7 +279,7 @@ public void

[GitHub] [kafka] ashmeet13 commented on pull request #12414: KAFKA-14073 Logging the reason for Snapshot

2022-08-03 Thread GitBox
ashmeet13 commented on PR #12414: URL: https://github.com/apache/kafka/pull/12414#issuecomment-1204360460 Hi @jsancio, I have defined an enum in the raft module for `SnapshotReason` and have used it in place of string messages that were being passed previously. I am working on making

[GitHub] [kafka] jsancio commented on a diff in pull request #12414: KAFKA-14073 Logging the reason for Snapshot

2022-08-03 Thread GitBox
jsancio commented on code in PR #12414: URL: https://github.com/apache/kafka/pull/12414#discussion_r937029349 ## core/src/main/scala/kafka/server/metadata/BrokerMetadataListener.scala: ## @@ -129,16 +129,17 @@ class BrokerMetadataListener( } } - private def

[GitHub] [kafka] mdedetrich commented on a diff in pull request #12475: MINOR; Update scalafmt to latest version

2022-08-03 Thread GitBox
mdedetrich commented on code in PR #12475: URL: https://github.com/apache/kafka/pull/12475#discussion_r937028065 ## checkstyle/.scalafmt.conf: ## @@ -12,7 +12,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific

[GitHub] [kafka] dplavcic commented on a diff in pull request #12476: K14130: Reduce RackAwarenesssTest to unit Test

2022-08-03 Thread GitBox
dplavcic commented on code in PR #12476: URL: https://github.com/apache/kafka/pull/12476#discussion_r937020156 ## streams/src/test/java/org/apache/kafka/streams/processor/internals/RackAwarenessStreamsPartitionAssignorTest.java: ## @@ -0,0 +1,582 @@ +/* + * Licensed to the

[GitHub] [kafka] jsancio commented on a diff in pull request #12457: KAFKA-14104: Add CRC validation when iterating over Metadata Log Records

2022-08-03 Thread GitBox
jsancio commented on code in PR #12457: URL: https://github.com/apache/kafka/pull/12457#discussion_r936987763 ## raft/src/test/java/org/apache/kafka/raft/internals/RecordsIteratorTest.java: ## @@ -85,18 +88,41 @@ public void testFileRecords( FileRecords fileRecords =

[GitHub] [kafka] dplavcic commented on pull request #12459: KAFKA-13036: Replace EasyMock and PowerMock with Mockito for RocksDBMetricsRecorderTest

2022-08-03 Thread GitBox
dplavcic commented on PR #12459: URL: https://github.com/apache/kafka/pull/12459#issuecomment-1204331217 Looks good to 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 to go to the specific comment.

[jira] [Created] (KAFKA-14136) AlterConfigs in KRaft does not generate records for unchanged values

2022-08-03 Thread David Arthur (Jira)
David Arthur created KAFKA-14136: Summary: AlterConfigs in KRaft does not generate records for unchanged values Key: KAFKA-14136 URL: https://issues.apache.org/jira/browse/KAFKA-14136 Project: Kafka

[GitHub] [kafka] guozhangwang commented on pull request #7670: KAFKA-7016: Not hide the stack trace for ApiException

2022-08-03 Thread GitBox
guozhangwang commented on PR #7670: URL: https://github.com/apache/kafka/pull/7670#issuecomment-1204324571 Hello @gitlw @garyrussell @kkolyan sorry for getting late on you. There's a concern which is not recorded on the PR here, which is that printing the stack trace on each ApiException

[jira] [Commented] (KAFKA-13840) KafkaConsumer is unable to recover connection to group coordinator after commitOffsetsAsync exception

2022-08-03 Thread Guozhang Wang (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574893#comment-17574893 ] Guozhang Wang commented on KAFKA-13840: --- [~kyle.stehbens] Just to clarify, when the retriable

[jira] [Updated] (KAFKA-14111) Dynamic config update fails for "password" configs in KRaft

2022-08-03 Thread David Arthur (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Arthur updated KAFKA-14111: - Fix Version/s: 3.3.0 3.4.0 > Dynamic config update fails for "password"

[jira] [Resolved] (KAFKA-14111) Dynamic config update fails for "password" configs in KRaft

2022-08-03 Thread David Arthur (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Arthur resolved KAFKA-14111. -- Resolution: Fixed > Dynamic config update fails for "password" configs in KRaft >

[GitHub] [kafka] mumrah commented on pull request #12455: KAFKA-14111 Fix sensitive dynamic broker configs in KRaft

2022-08-03 Thread GitBox
mumrah commented on PR #12455: URL: https://github.com/apache/kafka/pull/12455#issuecomment-1204298550 Manually cherry-picked to 3.3 as a687d4d3f687 -- 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] premkamal23 opened a new pull request, #12481: Kafka 14115

2022-08-03 Thread GitBox
premkamal23 opened a new pull request, #12481: URL: https://github.com/apache/kafka/pull/12481 [KAFKA-14115] Password configs are logged in plaintext in KRaft While updating the config for a broker ConfigurationControlManager is logging sensitive config values

[GitHub] [kafka] mumrah merged pull request #12455: KAFKA-14111 Fix sensitive dynamic broker configs in KRaft

2022-08-03 Thread GitBox
mumrah merged PR #12455: URL: https://github.com/apache/kafka/pull/12455 -- 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 #12455: KAFKA-14111 Fix sensitive dynamic broker configs in KRaft

2022-08-03 Thread GitBox
mumrah commented on PR #12455: URL: https://github.com/apache/kafka/pull/12455#issuecomment-1204262912 After latest commit, only test failures are unrelated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [kafka] guozhangwang commented on a diff in pull request #12476: K14130: Reduce RackAwarenesssTest to unit Test

2022-08-03 Thread GitBox
guozhangwang commented on code in PR #12476: URL: https://github.com/apache/kafka/pull/12476#discussion_r936948546 ## streams/src/test/java/org/apache/kafka/streams/processor/internals/RackAwarenessStreamsPartitionAssignorTest.java: ## @@ -0,0 +1,582 @@ +/* + * Licensed to the

[GitHub] [kafka] mimaison opened a new pull request, #12480: MINOR: Small cleanups in integration.kafka tests

2022-08-03 Thread GitBox
mimaison opened a new pull request, #12480: URL: https://github.com/apache/kafka/pull/12480 ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including

[GitHub] [kafka] clolov commented on pull request #12418: KAFKA-13414: Replace PowerMock/EasyMock with Mockito in connect.storage.KafkaOffsetBackingStoreTest

2022-08-03 Thread GitBox
clolov commented on PR #12418: URL: https://github.com/apache/kafka/pull/12418#issuecomment-1204186138 Thank you for the review @C0urante! I will have a look and aim to provide answers (+ new commits) in the next couple of days. -- This is an automated message from the Apache Git

[GitHub] [kafka] niket-goel commented on pull request #12457: KAFKA-14104: Add CRC validation when iterating over Metadata Log Records

2022-08-03 Thread GitBox
niket-goel commented on PR #12457: URL: https://github.com/apache/kafka/pull/12457#issuecomment-1204185885 The build failures are a little cryptic. The same tests all pass locally, and the failing step in the build only complains of the script exiting with a non-zero status, but there are

[jira] [Resolved] (KAFKA-13877) Flaky RackAwarenessIntegrationTest.shouldDistributeStandbyReplicasOverMultipleClientTags

2022-08-03 Thread Guozhang Wang (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guozhang Wang resolved KAFKA-13877. --- Resolution: Fixed > Flaky >

[GitHub] [kafka] guozhangwang merged pull request #12468: KAFKA-13877: Fix flakiness in RackAwarenessIntegrationTest

2022-08-03 Thread GitBox
guozhangwang merged PR #12468: URL: https://github.com/apache/kafka/pull/12468 -- 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] divijvaidya commented on a diff in pull request #12475: MINOR; Update scalafmt to latest version

2022-08-03 Thread GitBox
divijvaidya commented on code in PR #12475: URL: https://github.com/apache/kafka/pull/12475#discussion_r936828320 ## checkstyle/.scalafmt.conf: ## @@ -12,7 +12,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the

[jira] [Commented] (KAFKA-12495) Unbalanced connectors/tasks distribution will happen in Connect's incremental cooperative assignor

2022-08-03 Thread Chris Egerton (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574771#comment-17574771 ] Chris Egerton commented on KAFKA-12495: --- [~sagarrao] yes, it's unassigned so anyone can feel free

[jira] [Commented] (KAFKA-12495) Unbalanced connectors/tasks distribution will happen in Connect's incremental cooperative assignor

2022-08-03 Thread Sagar Rao (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574767#comment-17574767 ] Sagar Rao commented on KAFKA-12495: --- [~showuon] , is this still open? I can take a stab at it. Let me

[GitHub] [kafka] ahuang98 opened a new pull request, #12479: Convert DeleteTopicTest, DeleteTopicsRequestTest, and DeleteTopicsRequestWithDeletionDisabledTest to run in KRaft mode

2022-08-03 Thread GitBox
ahuang98 opened a new pull request, #12479: URL: https://github.com/apache/kafka/pull/12479 DeleteTopicRequestTest and DeleteTopicsRequestWithDeletionDisabledTest are still a work in progress ### Committer Checklist (excluded from commit message) - [ ] Verify design and

[GitHub] [kafka] ashmeet13 commented on pull request #12414: KAFKA-14073 Logging the reason for Snapshot

2022-08-03 Thread GitBox
ashmeet13 commented on PR #12414: URL: https://github.com/apache/kafka/pull/12414#issuecomment-1204027403 Got it, working on these changes. Taking a bit of time to go through the code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[jira] [Commented] (KAFKA-13952) Infinite retry timeout is not working

2022-08-03 Thread Yash Mayya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574748#comment-17574748 ] Yash Mayya commented on KAFKA-13952: [~jmalek] this definitely looks like a bug in the

[GitHub] [kafka] yashmayya opened a new pull request, #12478: KAFKA-13952 fix RetryWithToleranceOperator to respect infinite retries configuration

2022-08-03 Thread GitBox
yashmayya opened a new pull request, #12478: URL: https://github.com/apache/kafka/pull/12478 - https://issues.apache.org/jira/browse/KAFKA-13952: RetryWithToleranceOperator doesn't respect infinite retries config - i.e. when `errors.retry.timeout` is set to `-1` - From

[jira] [Commented] (KAFKA-13840) KafkaConsumer is unable to recover connection to group coordinator after commitOffsetsAsync exception

2022-08-03 Thread Luke Chen (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574735#comment-17574735 ] Luke Chen commented on KAFKA-13840: --- I'll take a look. > KafkaConsumer is unable to recover

[GitHub] [kafka] see-quick opened a new pull request, #12477: [MINOR] - update scala version in bin scripts (2.13.8)

2022-08-03 Thread GitBox
see-quick opened a new pull request, #12477: URL: https://github.com/apache/kafka/pull/12477 Signed-off-by: morsak This PR updates scala versions inside `bin/scripts` (i.e., `kafka-run-class.sh`). https://github.com/apache/kafka/pull/12273 fix modified only inside

[jira] [Updated] (KAFKA-14135) KafkaConfig value sasl.server.callback.handler.class is set to null even when custom class is used

2022-08-03 Thread Jira
[ https://issues.apache.org/jira/browse/KAFKA-14135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gábor Nagy updated KAFKA-14135: --- Description: As mentioned in the summary, the value `sasl.server.callback.handler.class` is set to

[jira] [Created] (KAFKA-14135) KafkaConfig value sasl.server.callback.handler.class is set to null even when custom class is used

2022-08-03 Thread Jira
Gábor Nagy created KAFKA-14135: -- Summary: KafkaConfig value sasl.server.callback.handler.class is set to null even when custom class is used Key: KAFKA-14135 URL: https://issues.apache.org/jira/browse/KAFKA-14135

[GitHub] [kafka] divijvaidya commented on a diff in pull request #12476: K14130: Reduce RackAwarenesssTest to unit Test

2022-08-03 Thread GitBox
divijvaidya commented on code in PR #12476: URL: https://github.com/apache/kafka/pull/12476#discussion_r936500749 ## streams/src/test/java/org/apache/kafka/streams/processor/internals/RackAwarenessStreamsPartitionAssignorTest.java: ## @@ -0,0 +1,582 @@ +/* + * Licensed to the

[GitHub] [kafka] mdedetrich commented on a diff in pull request #12475: MINOR; Update scalafmt to latest version

2022-08-03 Thread GitBox
mdedetrich commented on code in PR #12475: URL: https://github.com/apache/kafka/pull/12475#discussion_r936511846 ## checkstyle/.scalafmt.conf: ## @@ -12,7 +12,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific

[GitHub] [kafka] mdedetrich commented on a diff in pull request #12475: MINOR; Update scalafmt to latest version

2022-08-03 Thread GitBox
mdedetrich commented on code in PR #12475: URL: https://github.com/apache/kafka/pull/12475#discussion_r936511846 ## checkstyle/.scalafmt.conf: ## @@ -12,7 +12,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific

[GitHub] [kafka] mdedetrich commented on a diff in pull request #12475: MINOR; Update scalafmt to latest version

2022-08-03 Thread GitBox
mdedetrich commented on code in PR #12475: URL: https://github.com/apache/kafka/pull/12475#discussion_r936511846 ## checkstyle/.scalafmt.conf: ## @@ -12,7 +12,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific

[GitHub] [kafka] divijvaidya commented on a diff in pull request #12473: KAFKA-13133: Replace EasyMock and PowerMock with Mockito for AbstractHerderTest

2022-08-03 Thread GitBox
divijvaidya commented on code in PR #12473: URL: https://github.com/apache/kafka/pull/12473#discussion_r936497559 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/AbstractHerderTest.java: ## @@ -236,31 +198,23 @@ public void connectorStatus() {

[GitHub] [kafka] divijvaidya commented on a diff in pull request #12473: KAFKA-13133: Replace EasyMock and PowerMock with Mockito for AbstractHerderTest

2022-08-03 Thread GitBox
divijvaidya commented on code in PR #12473: URL: https://github.com/apache/kafka/pull/12473#discussion_r936496903 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/AbstractHerderTest.java: ## @@ -141,89 +141,51 @@ public class AbstractHerderTest { private

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

2022-08-03 Thread Christo Lolov (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574595#comment-17574595 ] Christo Lolov edited comment on KAFKA-14132 at 8/3/22 10:01 AM: Great,

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

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

[GitHub] [kafka] divijvaidya commented on pull request #12474: KAFKA-13133 Replace EasyMock and PowerMock with Mockito for AbstractHerderTest

2022-08-03 Thread GitBox
divijvaidya commented on PR #12474: URL: https://github.com/apache/kafka/pull/12474#issuecomment-1203704542 > #12473 got here first, closing this one :) Ah duplicated effort! Please assign the JIRA to yourself (or add a comment) if you beginning to work on something. I helps avoid

[GitHub] [kafka] divijvaidya commented on a diff in pull request #12472: KAFKA-14134: Replace EasyMock with Mockito for WorkerConnectorTest

2022-08-03 Thread GitBox
divijvaidya commented on code in PR #12472: URL: https://github.com/apache/kafka/pull/12472#discussion_r936433188 ## connect/runtime/src/test/java/org/apache/kafka/connect/runtime/WorkerConnectorTest.java: ## @@ -60,15 +64,15 @@ public class WorkerConnectorTest extends

[GitHub] [kafka] divijvaidya commented on pull request #12230: MINOR: Catch InvocationTargetException explicitly and propagate underlying cause

2022-08-03 Thread GitBox
divijvaidya commented on PR #12230: URL: https://github.com/apache/kafka/pull/12230#issuecomment-1203693391 @mimaison kindly review when you get a chance. -- 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] divijvaidya commented on a diff in pull request #12475: MINOR; Update scalafmt to latest version

2022-08-03 Thread GitBox
divijvaidya commented on code in PR #12475: URL: https://github.com/apache/kafka/pull/12475#discussion_r936426643 ## checkstyle/.scalafmt.conf: ## @@ -12,7 +12,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the

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

2022-08-03 Thread Christo Lolov (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christo Lolov updated KAFKA-14133: -- Description: {color:#DE350B}There are tests which use both PowerMock and EasyMock. I have

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

2022-08-03 Thread Christo Lolov (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574604#comment-17574604 ] Christo Lolov commented on KAFKA-14133: --- I wanted to collect all tests which are remaining so we

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

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

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

2022-08-03 Thread Christo Lolov (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574595#comment-17574595 ] Christo Lolov commented on KAFKA-14132: --- Great, thank you, I will put your alias next to the in

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

2022-08-03 Thread Yash Mayya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-14133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17574561#comment-17574561 ] Yash Mayya commented on KAFKA-14133: Hi [~christo_lolov], are you planning to work on migrating all

[GitHub] [kafka] yashmayya commented on pull request #12472: KAFKA-14134: Replace EasyMock with Mockito for WorkerConnectorTest

2022-08-03 Thread GitBox
yashmayya commented on PR #12472: URL: https://github.com/apache/kafka/pull/12472#issuecomment-1203578055 Thanks for the reviews @divijvaidya and @C0urante! I've incorporated your feedback, could you please take another look? -- This is an automated message from the Apache Git Service.

[GitHub] [kafka] mdedetrich commented on pull request #12475: MINOR; Update scalafmt to latest version

2022-08-03 Thread GitBox
mdedetrich commented on PR #12475: URL: https://github.com/apache/kafka/pull/12475#issuecomment-1203547014 @divijvaidya This is one of the first PR's in adding the linting/formatting using scalafmt/scalafix for the Scala sources within Kafka if you want to have a look. @cadonna Do you want

[GitHub] [kafka] showuon commented on pull request #12452: KAFKA-14122: Fix flaky test DynamicBrokerReconfigurationTest#testKeyStoreAlter

2022-08-03 Thread GitBox
showuon commented on PR #12452: URL: https://github.com/apache/kafka/pull/12452#issuecomment-1203545154 Thanks @divijvaidya for fixing it! Thanks for @mimaison 's review! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and