[GitHub] [kafka] kowshik edited a comment on pull request #10280: KAFKA-12554: Refactor Log layer

2021-04-27 Thread GitBox
kowshik edited a comment on pull request #10280: URL: https://github.com/apache/kafka/pull/10280#issuecomment-808514958 @junrao Just a heads up on the following. I'm working on the changes for the following in separate PRs, these are related with refactoring the recovery logic (KAFKA-12553

[GitHub] [kafka] showuon commented on a change in pull request #10591: Fix minor bugs in the existing documentation

2021-04-27 Thread GitBox
showuon commented on a change in pull request #10591: URL: https://github.com/apache/kafka/pull/10591#discussion_r620956779 ## File path: docs/ops.html ## @@ -78,7 +78,7 @@ auto.leader.rebalance.enable=true You can also set this to false, but you will then need to m

[GitHub] [kafka] satishd commented on a change in pull request #10271: KAFKA-12429: Added serdes for the default implementation of RLMM based on an internal topic as storage.

2021-04-27 Thread GitBox
satishd commented on a change in pull request #10271: URL: https://github.com/apache/kafka/pull/10271#discussion_r620996380 ## File path: storage/src/main/java/org/apache/kafka/server/log/remote/metadata/storage/serialization/RemoteLogMetadataSerde.java ## @@ -0,0 +1,103 @@ +/

[GitHub] [kafka] dajac commented on a change in pull request #10599: KAFKA-12716; Add `Admin` API to abort transactions

2021-04-27 Thread GitBox
dajac commented on a change in pull request #10599: URL: https://github.com/apache/kafka/pull/10599#discussion_r620974574 ## File path: clients/src/main/java/org/apache/kafka/clients/admin/AbortTransactionResult.java ## @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Software

[GitHub] [kafka] daehokimm commented on pull request #9259: KAFKA-10466: Allow regex for MaskField SMT to replacement

2021-04-27 Thread GitBox
daehokimm commented on pull request #9259: URL: https://github.com/apache/kafka/pull/9259#issuecomment-827442242 please review 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 above to go to the spec

[GitHub] [kafka] satishd commented on a change in pull request #10271: KAFKA-12429: Added serdes for the default implementation of RLMM based on an internal topic as storage.

2021-04-27 Thread GitBox
satishd commented on a change in pull request #10271: URL: https://github.com/apache/kafka/pull/10271#discussion_r621028610 ## File path: storage/src/main/java/org/apache/kafka/server/log/remote/metadata/storage/serialization/RemoteLogMetadataSerde.java ## @@ -0,0 +1,103 @@ +/

[GitHub] [kafka] vitojeng commented on pull request #10597: KAFKA-5876: Apply StreamsNotStartedException for Interactive Queries

2021-04-27 Thread GitBox
vitojeng commented on pull request #10597: URL: https://github.com/apache/kafka/pull/10597#issuecomment-827475511 @ableegoldman Please take a look. :) If all work in this PR is completed, I will update the KIP and discussion thread. -- This is an automated message from the Apache Git

[GitHub] [kafka] chia7712 commented on pull request #10592: MINOR: Remove redudant test files and close LogSegment after test

2021-04-27 Thread GitBox
chia7712 commented on pull request #10592: URL: https://github.com/apache/kafka/pull/10592#issuecomment-827477372 @dengziming nice find and thanks for your patch. Those files are noisy to me :( -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [kafka] chia7712 commented on pull request #10446: KAFKA-12661 ConfigEntry#equal does not compare other fields when value is NOT null

2021-04-27 Thread GitBox
chia7712 commented on pull request #10446: URL: https://github.com/apache/kafka/pull/10446#issuecomment-827478300 ``` Build / JDK 8 and Scala 2.12 / org.apache.kafka.connect.mirror.integration.MirrorConnectorsIntegrationSSLTest.testOneWayReplicationWithAutoOffsetSync() Build / JDK 11

[GitHub] [kafka] Nathan22177 commented on a change in pull request #10548: KAFKA-12396 added a nullcheck before trying to retrieve a key

2021-04-27 Thread GitBox
Nathan22177 commented on a change in pull request #10548: URL: https://github.com/apache/kafka/pull/10548#discussion_r621061574 ## File path: streams/src/main/java/org/apache/kafka/streams/state/internals/MeteredKeyValueStore.java ## @@ -234,13 +247,15 @@ public V delete(final

[GitHub] [kafka] Nathan22177 commented on a change in pull request #10548: KAFKA-12396 added a nullcheck before trying to retrieve a key

2021-04-27 Thread GitBox
Nathan22177 commented on a change in pull request #10548: URL: https://github.com/apache/kafka/pull/10548#discussion_r621063125 ## File path: streams/src/test/java/org/apache/kafka/streams/state/internals/MeteredSessionStoreTest.java ## @@ -472,11 +472,26 @@ public void should

[jira] [Created] (KAFKA-12719) Kafka MirrorMaker 2 can only mirror in one direction in Active/Active config

2021-04-27 Thread Bui Thanh MInh (Jira)
Bui Thanh MInh created KAFKA-12719: -- Summary: Kafka MirrorMaker 2 can only mirror in one direction in Active/Active config Key: KAFKA-12719 URL: https://issues.apache.org/jira/browse/KAFKA-12719 Proj

[jira] [Updated] (KAFKA-12719) Kafka MirrorMaker 2 can only mirror in one direction in Active/Active config

2021-04-27 Thread Bui Thanh MInh (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bui Thanh MInh updated KAFKA-12719: --- Description: Config: _clusters = DC1, DC2_ _NPS.bootstrap.servers = _ _NTL.bootstrap.server

[jira] [Updated] (KAFKA-12719) Kafka MirrorMaker 2 can only mirror in one direction in Active/Active config

2021-04-27 Thread Bui Thanh MInh (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bui Thanh MInh updated KAFKA-12719: --- Description: Config: ``` clusters = DC1, DC2 NPS.bootstrap.servers = NTL.bootstrap.server

[GitHub] [kafka] satishd commented on a change in pull request #10271: KAFKA-12429: Added serdes for the default implementation of RLMM based on an internal topic as storage.

2021-04-27 Thread GitBox
satishd commented on a change in pull request #10271: URL: https://github.com/apache/kafka/pull/10271#discussion_r620996380 ## File path: storage/src/main/java/org/apache/kafka/server/log/remote/metadata/storage/serialization/RemoteLogMetadataSerde.java ## @@ -0,0 +1,103 @@ +/

[GitHub] [kafka] dengziming commented on pull request #10598: MINOR: rename wrong topic id variable name and description

2021-04-27 Thread GitBox
dengziming commented on pull request #10598: URL: https://github.com/apache/kafka/pull/10598#issuecomment-827554412 @showuon Thank you, I also think it's not reasonable to fix it here since there are also some other occurrence, so I revert the JMap change. -- This is an automated message

[GitHub] [kafka] chia7712 commented on a change in pull request #10547: KAFKA-12284: increase request timeout to make tests reliable

2021-04-27 Thread GitBox
chia7712 commented on a change in pull request #10547: URL: https://github.com/apache/kafka/pull/10547#discussion_r621167591 ## File path: connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedKafkaCluster.java ## @@ -337,18 +337,28 @@ public void create

[GitHub] [kafka] showuon commented on a change in pull request #10547: KAFKA-12284: increase request timeout to make tests reliable

2021-04-27 Thread GitBox
showuon commented on a change in pull request #10547: URL: https://github.com/apache/kafka/pull/10547#discussion_r621231344 ## File path: connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedKafkaCluster.java ## @@ -337,18 +337,28 @@ public void createT

[GitHub] [kafka] Mia-jeong opened a new pull request #10600: [WIP]MINOR: add abstract keywords to util classes

2021-04-27 Thread GitBox
Mia-jeong opened a new pull request #10600: URL: https://github.com/apache/kafka/pull/10600 I think that Util classes are intended for using the static method without instantiating the class. So in order to be clear, I add abstract keywords to some Util classes which have no private con

[jira] [Resolved] (KAFKA-12719) Kafka MirrorMaker 2 can only mirror in one direction in Active/Active config

2021-04-27 Thread Bui Thanh MInh (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bui Thanh MInh resolved KAFKA-12719. Resolution: Auto Closed Need to restart all mm2 instances > Kafka MirrorMaker 2 can only

[GitHub] [kafka] Mia-jeong closed pull request #10600: [WIP]MINOR: add abstract keywords to util classes

2021-04-27 Thread GitBox
Mia-jeong closed pull request #10600: URL: https://github.com/apache/kafka/pull/10600 -- 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. For queries about this service, plea

[GitHub] [kafka] satishd commented on pull request #10271: KAFKA-12429: Added serdes for the default implementation of RLMM based on an internal topic as storage.

2021-04-27 Thread GitBox
satishd commented on pull request #10271: URL: https://github.com/apache/kafka/pull/10271#issuecomment-827691407 @junrao Thanks for the review comments. Addressed them with the commit https://github.com/apache/kafka/pull/10271/commits/44cb1f374701cc6eca5d1df19dc9cd7c14497b3e -- This is a

[GitHub] [kafka] junrao commented on a change in pull request #10271: KAFKA-12429: Added serdes for the default implementation of RLMM based on an internal topic as storage.

2021-04-27 Thread GitBox
junrao commented on a change in pull request #10271: URL: https://github.com/apache/kafka/pull/10271#discussion_r621418419 ## File path: storage/src/test/java/org/apache/kafka/server/log/remote/metadata/storage/RemoteLogMetadataSerdeTest.java ## @@ -0,0 +1,111 @@ +/* + * Licen

[GitHub] [kafka] ableegoldman commented on a change in pull request #10597: KAFKA-5876: Apply StreamsNotStartedException for Interactive Queries

2021-04-27 Thread GitBox
ableegoldman commented on a change in pull request #10597: URL: https://github.com/apache/kafka/pull/10597#discussion_r621436955 ## File path: docs/streams/upgrade-guide.html ## @@ -94,7 +94,14 @@ Upgrade Guide and API Changes Streams API changes in 3.0.0 -

[GitHub] [kafka] satishd commented on a change in pull request #10271: KAFKA-12429: Added serdes for the default implementation of RLMM based on an internal topic as storage.

2021-04-27 Thread GitBox
satishd commented on a change in pull request #10271: URL: https://github.com/apache/kafka/pull/10271#discussion_r621474682 ## File path: storage/src/test/java/org/apache/kafka/server/log/remote/metadata/storage/RemoteLogMetadataSerdeTest.java ## @@ -0,0 +1,111 @@ +/* + * Lice

[GitHub] [kafka] yeralin commented on a change in pull request #6592: KAFKA-8326: Introduce List Serde

2021-04-27 Thread GitBox
yeralin commented on a change in pull request #6592: URL: https://github.com/apache/kafka/pull/6592#discussion_r621475071 ## File path: clients/src/main/java/org/apache/kafka/common/serialization/ListSerializer.java ## @@ -77,21 +87,39 @@ public void configure(Map configs, boo

[GitHub] [kafka] hachikuji commented on a change in pull request #10599: KAFKA-12716; Add `Admin` API to abort transactions

2021-04-27 Thread GitBox
hachikuji commented on a change in pull request #10599: URL: https://github.com/apache/kafka/pull/10599#discussion_r621477651 ## File path: clients/src/main/java/org/apache/kafka/clients/admin/AbortTransactionSpec.java ## @@ -0,0 +1,85 @@ +/* + * Licensed to the Apache Softwar

[GitHub] [kafka] satishd commented on pull request #10271: KAFKA-12429: Added serdes for the default implementation of RLMM based on an internal topic as storage.

2021-04-27 Thread GitBox
satishd commented on pull request #10271: URL: https://github.com/apache/kafka/pull/10271#issuecomment-827811882 Thanks @junrao for the comments. Fixed checkstyle in raft module and added a comment in `RemoteLogMetadataSerde`. -- This is an automated message from the Apache Git Service

[GitHub] [kafka] hachikuji commented on a change in pull request #10599: KAFKA-12716; Add `Admin` API to abort transactions

2021-04-27 Thread GitBox
hachikuji commented on a change in pull request #10599: URL: https://github.com/apache/kafka/pull/10599#discussion_r621484136 ## File path: clients/src/test/java/org/apache/kafka/clients/admin/internals/AbortTransactionHandlerTest.java ## @@ -0,0 +1,215 @@ +/* + * Licensed to

[GitHub] [kafka] hachikuji commented on a change in pull request #10599: KAFKA-12716; Add `Admin` API to abort transactions

2021-04-27 Thread GitBox
hachikuji commented on a change in pull request #10599: URL: https://github.com/apache/kafka/pull/10599#discussion_r621503064 ## File path: clients/src/main/java/org/apache/kafka/clients/admin/AbortTransactionResult.java ## @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Softw

[GitHub] [kafka] dejan2609 commented on a change in pull request #10466: KAFKA-12417 "streams" module: switch deprecated Gradle configuration `testRuntime`

2021-04-27 Thread GitBox
dejan2609 commented on a change in pull request #10466: URL: https://github.com/apache/kafka/pull/10466#discussion_r621504000 ## File path: build.gradle ## @@ -1491,13 +1491,14 @@ project(':streams') { } tasks.create(name: "copyDependantLibs", type: Copy) { -from (c

[jira] [Created] (KAFKA-12720) Ecosystem wiki page: Kafka Manager renamed CMAK (Cluster Manager for Apache Kafka)

2021-04-27 Thread Philippe Cloutier (Jira)
Philippe Cloutier created KAFKA-12720: - Summary: Ecosystem wiki page: Kafka Manager renamed CMAK (Cluster Manager for Apache Kafka) Key: KAFKA-12720 URL: https://issues.apache.org/jira/browse/KAFKA-12720

[GitHub] [kafka] dejan2609 commented on pull request #10466: KAFKA-12417 "streams" module: switch deprecated Gradle configuration `testRuntime`

2021-04-27 Thread GitBox
dejan2609 commented on pull request #10466: URL: https://github.com/apache/kafka/pull/10466#issuecomment-827844379 @ijuma previous commits are rebased/squashed and PR branch is force-pushed. Overall: Gradle build looks ok (on my loptop, that is). Some warnings do appear (related to s

[GitHub] [kafka] jeqo commented on pull request #10294: KAFKA-12450: Remove deprecated methods from ReadOnlyWindowStore

2021-04-27 Thread GitBox
jeqo commented on pull request #10294: URL: https://github.com/apache/kafka/pull/10294#issuecomment-827844833 @guozhangwang, it should be ready for review now. thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use t

[GitHub] [kafka] ijuma commented on pull request #10466: KAFKA-12417 "streams" module: switch deprecated Gradle configuration `testRuntime`

2021-04-27 Thread GitBox
ijuma commented on pull request #10466: URL: https://github.com/apache/kafka/pull/10466#issuecomment-827846345 Can you remove the Gradle version bump from this PR then? We can merge the other change and see if there's any impact. We can then go straight to Gradle 7.0.1 once it's released.

[GitHub] [kafka] dejan2609 commented on pull request #10466: KAFKA-12417 "streams" module: switch deprecated Gradle configuration `testRuntime`

2021-04-27 Thread GitBox
dejan2609 commented on pull request #10466: URL: https://github.com/apache/kafka/pull/10466#issuecomment-827849319 Sure, let go step-by-step then. -- 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] dejan2609 commented on pull request #10466: KAFKA-12417 "streams" module: switch deprecated Gradle configuration `testRuntime`

2021-04-27 Thread GitBox
dejan2609 commented on pull request #10466: URL: https://github.com/apache/kafka/pull/10466#issuecomment-827855369 Done, changes are trimmed down. -- 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] JoelWee commented on a change in pull request #8923: KAFKA-6435: KIP-623 Add internal topics option to streamResetter

2021-04-27 Thread GitBox
JoelWee commented on a change in pull request #8923: URL: https://github.com/apache/kafka/pull/8923#discussion_r621537903 ## File path: docs/streams/developer-guide/app-reset-tool.html ## @@ -78,6 +78,9 @@ Step 1: Run the application reset tool Invoke

[GitHub] [kafka] JoelWee commented on a change in pull request #8923: KAFKA-6435: KIP-623 Add internal topics option to streamResetter

2021-04-27 Thread GitBox
JoelWee commented on a change in pull request #8923: URL: https://github.com/apache/kafka/pull/8923#discussion_r621538528 ## File path: streams/src/test/java/org/apache/kafka/streams/integration/AbstractResetIntegrationTest.java ## @@ -205,6 +206,34 @@ private void add10InputE

[GitHub] [kafka] JoelWee commented on a change in pull request #8923: KAFKA-6435: KIP-623 Add internal topics option to streamResetter

2021-04-27 Thread GitBox
JoelWee commented on a change in pull request #8923: URL: https://github.com/apache/kafka/pull/8923#discussion_r621542393 ## File path: streams/src/test/java/org/apache/kafka/streams/integration/ResetIntegrationTest.java ## @@ -151,6 +151,22 @@ public void shouldNotAllowToRes

[GitHub] [kafka] hachikuji commented on a change in pull request #10599: KAFKA-12716; Add `Admin` API to abort transactions

2021-04-27 Thread GitBox
hachikuji commented on a change in pull request #10599: URL: https://github.com/apache/kafka/pull/10599#discussion_r621576098 ## File path: clients/src/main/java/org/apache/kafka/clients/admin/AbortTransactionResult.java ## @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Softw

[GitHub] [kafka] hachikuji commented on a change in pull request #10599: KAFKA-12716; Add `Admin` API to abort transactions

2021-04-27 Thread GitBox
hachikuji commented on a change in pull request #10599: URL: https://github.com/apache/kafka/pull/10599#discussion_r621576098 ## File path: clients/src/main/java/org/apache/kafka/clients/admin/AbortTransactionResult.java ## @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Softw

[GitHub] [kafka] gharris1727 commented on a change in pull request #10475: KAFKA-12610: Implement PluginClassLoader::getResource

2021-04-27 Thread GitBox
gharris1727 commented on a change in pull request #10475: URL: https://github.com/apache/kafka/pull/10475#discussion_r621586391 ## File path: connect/runtime/src/test/java/org/apache/kafka/connect/runtime/isolation/TestPlugins.java ## @@ -98,22 +97,56 @@ * to load intern

[jira] [Resolved] (KAFKA-6435) Application Reset Tool might delete incorrect internal topics

2021-04-27 Thread A. Sophie Blee-Goldman (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] A. Sophie Blee-Goldman resolved KAFKA-6435. --- Resolution: Fixed > Application Reset Tool might delete incorrect internal to

[jira] [Updated] (KAFKA-6435) Application Reset Tool might delete incorrect internal topics

2021-04-27 Thread A. Sophie Blee-Goldman (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] A. Sophie Blee-Goldman updated KAFKA-6435: -- Fix Version/s: 3.0.0 > Application Reset Tool might delete incorrect internal t

[jira] [Created] (KAFKA-12721) Flaky Test ResetConsumerGroupOffsetTest.testResetOffsetsAllTopicsAllGroups

2021-04-27 Thread A. Sophie Blee-Goldman (Jira)
A. Sophie Blee-Goldman created KAFKA-12721: -- Summary: Flaky Test ResetConsumerGroupOffsetTest.testResetOffsetsAllTopicsAllGroups Key: KAFKA-12721 URL: https://issues.apache.org/jira/browse/KAFKA-12721

[jira] [Resolved] (KAFKA-12666) Fix flaky kafka.server.RaftClusterTest.testCreateClusterAndCreateListDeleteTopic

2021-04-27 Thread A. Sophie Blee-Goldman (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] A. Sophie Blee-Goldman resolved KAFKA-12666. Resolution: Duplicate > Fix flaky > kafka.server.RaftClusterTest.testCrea

[jira] [Commented] (KAFKA-12629) Flaky Test RaftClusterTest

2021-04-27 Thread A. Sophie Blee-Goldman (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17334174#comment-17334174 ] A. Sophie Blee-Goldman commented on KAFKA-12629: I'm seeing a lot of tha

[jira] [Created] (KAFKA-12722) Evaluate moving replaceSegments into LogSegments class

2021-04-27 Thread Kowshik Prakasam (Jira)
Kowshik Prakasam created KAFKA-12722: Summary: Evaluate moving replaceSegments into LogSegments class Key: KAFKA-12722 URL: https://issues.apache.org/jira/browse/KAFKA-12722 Project: Kafka

[GitHub] [kafka] ableegoldman commented on a change in pull request #8923: KAFKA-6435: KIP-623 Add internal topics option to streamResetter

2021-04-27 Thread GitBox
ableegoldman commented on a change in pull request #8923: URL: https://github.com/apache/kafka/pull/8923#discussion_r621665639 ## File path: streams/src/test/java/org/apache/kafka/streams/integration/ResetIntegrationTest.java ## @@ -151,6 +151,22 @@ public void shouldNotAllow

[GitHub] [kafka] hachikuji commented on a change in pull request #10480: KAFKA-12265: Move the BatchAccumulator in KafkaRaftClient to LeaderState

2021-04-27 Thread GitBox
hachikuji commented on a change in pull request #10480: URL: https://github.com/apache/kafka/pull/10480#discussion_r621603737 ## File path: raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java ## @@ -2235,6 +2199,7 @@ private Long append(int epoch, List records, boolea

[GitHub] [kafka] ableegoldman commented on pull request #8923: KAFKA-6435: KIP-623 Add internal topics option to streamResetter

2021-04-27 Thread GitBox
ableegoldman commented on pull request #8923: URL: https://github.com/apache/kafka/pull/8923#issuecomment-827995691 Oof, there are a LOT of flaky test failures in this build. They're all unrelated to this PR, mostly in Connect and the RaftClusterTest, so I'll go ahead and merge, but yikes.

[GitHub] [kafka] junrao commented on a change in pull request #10564: MINOR: clean up some replication code

2021-04-27 Thread GitBox
junrao commented on a change in pull request #10564: URL: https://github.com/apache/kafka/pull/10564#discussion_r621652737 ## File path: metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java ## @@ -1119,6 +1057,83 @@ void validateManualPartitionAssi

[GitHub] [kafka] ableegoldman commented on a change in pull request #10509: KAFKA-12464: enhance constrained sticky Assign algorithm

2021-04-27 Thread GitBox
ableegoldman commented on a change in pull request #10509: URL: https://github.com/apache/kafka/pull/10509#discussion_r621502594 ## File path: clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractStickyAssignor.java ## @@ -163,127 +159,179 @@ private boole

[GitHub] [kafka] dielhennr commented on a change in pull request #10480: KAFKA-12265: Move the BatchAccumulator in KafkaRaftClient to LeaderState

2021-04-27 Thread GitBox
dielhennr commented on a change in pull request #10480: URL: https://github.com/apache/kafka/pull/10480#discussion_r621630725 ## File path: raft/src/test/java/org/apache/kafka/raft/internals/BatchAccumulatorTest.java ## @@ -354,6 +484,7 @@ public void testDrainDoesNotBlockWith

[jira] [Commented] (KAFKA-12666) Fix flaky kafka.server.RaftClusterTest.testCreateClusterAndCreateListDeleteTopic

2021-04-27 Thread A. Sophie Blee-Goldman (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-12666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17334205#comment-17334205 ] A. Sophie Blee-Goldman commented on KAFKA-12666: There are quite a few t

[GitHub] [kafka] jsancio commented on a change in pull request #10497: KAFKA-12342; Merge RaftClient and MetaLogManager interfaces and remove shim

2021-04-27 Thread GitBox
jsancio commented on a change in pull request #10497: URL: https://github.com/apache/kafka/pull/10497#discussion_r621670833 ## File path: core/src/test/scala/unit/kafka/server/metadata/BrokerMetadataListenerTest.scala ## @@ -108,18 +109,29 @@ class BrokerMetadataListenerTest {

[GitHub] [kafka] cmccabe commented on a change in pull request #10564: MINOR: clean up some replication code

2021-04-27 Thread GitBox
cmccabe commented on a change in pull request #10564: URL: https://github.com/apache/kafka/pull/10564#discussion_r621639045 ## File path: metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java ## @@ -1119,6 +1057,83 @@ void validateManualPartitionAss

[GitHub] [kafka] jsancio commented on a change in pull request #10497: KAFKA-12342; Merge RaftClient and MetaLogManager interfaces and remove shim

2021-04-27 Thread GitBox
jsancio commented on a change in pull request #10497: URL: https://github.com/apache/kafka/pull/10497#discussion_r621649450 ## File path: core/src/main/scala/kafka/raft/RaftManager.scala ## @@ -126,10 +130,10 @@ class KafkaRaftManager[T]( private val dataDir = createDataDir(

[GitHub] [kafka] ableegoldman commented on a change in pull request #6592: KAFKA-8326: Introduce List Serde

2021-04-27 Thread GitBox
ableegoldman commented on a change in pull request #6592: URL: https://github.com/apache/kafka/pull/6592#discussion_r621676170 ## File path: clients/src/main/java/org/apache/kafka/common/serialization/ListSerializer.java ## @@ -77,21 +87,39 @@ public void configure(Map configs

[GitHub] [kafka] hachikuji commented on a change in pull request #9590: KAFKA-7556: KafkaConsumer.beginningOffsets does not return actual first offsets

2021-04-27 Thread GitBox
hachikuji commented on a change in pull request #9590: URL: https://github.com/apache/kafka/pull/9590#discussion_r621734730 ## File path: core/src/test/scala/unit/kafka/log/LogCleanerTest.scala ## @@ -984,19 +1003,26 @@ class LogCleanerTest { def distinctValuesBySegment

[GitHub] [kafka] ableegoldman merged pull request #8923: KAFKA-6435: KIP-623 Add internal topics option to streamResetter

2021-04-27 Thread GitBox
ableegoldman merged pull request #8923: URL: https://github.com/apache/kafka/pull/8923 -- 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. For queries about this service, ple

[GitHub] [kafka] hachikuji commented on a change in pull request #9590: KAFKA-7556: KafkaConsumer.beginningOffsets does not return actual first offsets

2021-04-27 Thread GitBox
hachikuji commented on a change in pull request #9590: URL: https://github.com/apache/kafka/pull/9590#discussion_r621668165 ## File path: clients/src/main/java/org/apache/kafka/common/record/MemoryRecords.java ## @@ -340,17 +343,18 @@ private FilterResult(ByteBuffer outputBuff

[GitHub] [kafka] showuon commented on a change in pull request #10547: KAFKA-12284: increase request timeout to make tests reliable

2021-04-27 Thread GitBox
showuon commented on a change in pull request #10547: URL: https://github.com/apache/kafka/pull/10547#discussion_r621757453 ## File path: connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedKafkaCluster.java ## @@ -337,18 +337,28 @@ public void createT

[GitHub] [kafka] chia7712 commented on a change in pull request #10547: KAFKA-12284: increase request timeout to make tests reliable

2021-04-27 Thread GitBox
chia7712 commented on a change in pull request #10547: URL: https://github.com/apache/kafka/pull/10547#discussion_r621784059 ## File path: connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedKafkaCluster.java ## @@ -337,18 +337,28 @@ public void create

[GitHub] [kafka] showuon commented on a change in pull request #10547: KAFKA-12284: increase request timeout to make tests reliable

2021-04-27 Thread GitBox
showuon commented on a change in pull request #10547: URL: https://github.com/apache/kafka/pull/10547#discussion_r621788834 ## File path: connect/runtime/src/test/java/org/apache/kafka/connect/util/clusters/EmbeddedKafkaCluster.java ## @@ -337,18 +337,28 @@ public void createT

[GitHub] [kafka] vitojeng commented on a change in pull request #10597: KAFKA-5876: Apply StreamsNotStartedException for Interactive Queries

2021-04-27 Thread GitBox
vitojeng commented on a change in pull request #10597: URL: https://github.com/apache/kafka/pull/10597#discussion_r621794196 ## File path: streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java ## @@ -344,7 +345,7 @@ private boolean isRunningOrRebalancing() { p

[GitHub] [kafka] showuon commented on pull request #10547: KAFKA-12284: increase request timeout to make tests reliable

2021-04-27 Thread GitBox
showuon commented on pull request #10547: URL: https://github.com/apache/kafka/pull/10547#issuecomment-828180085 Failed tests are all un-related. (Not in MirrorMakerIntegrationTest) ``` Build / JDK 11 and Scala 2.13 / kafka.network.ConnectionQuotasTest.testListenerConnectionRateLi

[GitHub] [kafka] dengziming commented on pull request #10598: MINOR: rename wrong topic id variable name and description

2021-04-27 Thread GitBox
dengziming commented on pull request #10598: URL: https://github.com/apache/kafka/pull/10598#issuecomment-828185212 > @dengziming nice improvement. LGTM > > BTW, line#203 (https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/tools/ConsoleConsumer.scala#L203) has weir