[GitHub] [kafka] chia7712 commented on a change in pull request #9714: MINOR: Remove connection id from Send and consolidate request/message utils

2020-12-09 Thread GitBox
chia7712 commented on a change in pull request #9714: URL: https://github.com/apache/kafka/pull/9714#discussion_r539086381 ## File path: clients/src/main/java/org/apache/kafka/common/network/SizeDelimitedSend.java ## @@ -14,18 +14,22 @@ * See the License for the specific lan

[GitHub] [kafka] chia7712 edited a comment on pull request #9435: KAFKA-10606: Disable auto topic creation for fetch-all-topic-metadata request

2020-12-09 Thread GitBox
chia7712 edited a comment on pull request #9435: URL: https://github.com/apache/kafka/pull/9435#issuecomment-741600635 > I thought my suggested comment in the following was clear and concise, but I'm interested in other opinions: > #9435 (comment) @ijuma Sorry that I neglected tha

[GitHub] [kafka] chia7712 commented on pull request #8552: MINOR: Fix some java docs and move repeated `if condition` to the method

2020-12-09 Thread GitBox
chia7712 commented on pull request #8552: URL: https://github.com/apache/kafka/pull/8552#issuecomment-741639187 @dengziming The docs fix LGTM. Maybe we can merge the code about docs fix. The issue about ```isTraceEnabled``` can be addressed in another PR. WDYT? ---

[GitHub] [kafka] chia7712 commented on pull request #9494: KAFKA-10641: ACL Command Exit properly always with error code

2020-12-09 Thread GitBox
chia7712 commented on pull request #9494: URL: https://github.com/apache/kafka/pull/9494#issuecomment-741642937 > the process is not terminating after successful ACL operation. @senthilm-ms Pardon me. Are there running thread which is not terminated? ---

[GitHub] [kafka] dajac commented on a change in pull request #9628: KAFKA-10747: Implement APIs for altering and describing IP connection rate quotas

2020-12-09 Thread GitBox
dajac commented on a change in pull request #9628: URL: https://github.com/apache/kafka/pull/9628#discussion_r539138004 ## File path: core/src/test/scala/unit/kafka/server/ClientQuotasRequestTest.scala ## @@ -223,8 +279,34 @@ class ClientQuotasRequestTest extends BaseRequestTes

[GitHub] [kafka] dengziming commented on pull request #8552: MINOR: Fix some java docs and move repeated `if condition` to the method

2020-12-09 Thread GitBox
dengziming commented on pull request #8552: URL: https://github.com/apache/kafka/pull/8552#issuecomment-741646665 > @dengziming The docs fix LGTM. Maybe we can merge the code about docs fix. The issue about `isTraceEnabled` can be addressed in another PR. WDYT? Thank you for your suggest

[jira] [Commented] (KAFKA-5386) [Kafka Streams] - custom name for state-store change-log topic

2020-12-09 Thread Jira
[ https://issues.apache.org/jira/browse/KAFKA-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246388#comment-17246388 ] Clément MATHIEU commented on KAFKA-5386: Thanks for the clarification, it matches

[GitHub] [kafka] lmr3796 commented on pull request #9435: KAFKA-10606: Disable auto topic creation for fetch-all-topic-metadata request

2020-12-09 Thread GitBox
lmr3796 commented on pull request #9435: URL: https://github.com/apache/kafka/pull/9435#issuecomment-741649483 Hi thanks @ijuma @chia7712 , I updated the comments accordingly to make it more concise and rebased latest trunk. Please let me know if there are any other issues.

[GitHub] [kafka] chia7712 commented on pull request #8742: KAFKA-10057 optimize class ConfigCommand method alterConfig parameters

2020-12-09 Thread GitBox
chia7712 commented on pull request #8742: URL: https://github.com/apache/kafka/pull/8742#issuecomment-741650880 This PR may be invalid in trunk branch since ```zkClient``` is required ( see https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/admin/ConfigCommand.scala#L149)

[GitHub] [kafka] chia7712 commented on a change in pull request #7641: MINOR: Add a unit test for GroupMetadataManager#offsetExpiredSensor

2020-12-09 Thread GitBox
chia7712 commented on a change in pull request #7641: URL: https://github.com/apache/kafka/pull/7641#discussion_r539153408 ## File path: core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala ## @@ -791,52 +797,52 @@ class GroupMetadataManager(brokerId: Int,

[jira] [Commented] (KAFKA-7540) Flaky Test ConsumerBounceTest#testClose

2020-12-09 Thread Bruno Cadonna (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-7540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246404#comment-17246404 ] Bruno Cadonna commented on KAFKA-7540: -- https://github.com/apache/kafka/pull/9696/ch

[GitHub] [kafka] cadonna commented on pull request #9696: MINOR: Clean up streams metric sensors

2020-12-09 Thread GitBox
cadonna commented on pull request #9696: URL: https://github.com/apache/kafka/pull/9696#issuecomment-741660036 Unrelated test failure of a known flaky test `kafka.api.ConsumerBounceTest.testClose` in JDK 8. @chia7712 Could you merge this PR? --

[GitHub] [kafka] chia7712 merged pull request #9696: MINOR: Clean up streams metric sensors

2020-12-09 Thread GitBox
chia7712 merged pull request #9696: URL: https://github.com/apache/kafka/pull/9696 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 t

[GitHub] [kafka] chia7712 commented on pull request #9696: MINOR: Clean up streams metric sensors

2020-12-09 Thread GitBox
chia7712 commented on pull request #9696: URL: https://github.com/apache/kafka/pull/9696#issuecomment-741661396 @lct45 Thanks for your patch. Merge it to trunk! This is an automated message from the Apache Git Service. To res

[GitHub] [kafka] chia7712 closed pull request #3958: Re-enable KafkaAdminClientTest#testHandleTimeout

2020-12-09 Thread GitBox
chia7712 closed pull request #3958: URL: https://github.com/apache/kafka/pull/3958 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 t

[GitHub] [kafka] chia7712 closed pull request #2748: MINOR: remove misleading scala setter in ControllerContext

2020-12-09 Thread GitBox
chia7712 closed pull request #2748: URL: https://github.com/apache/kafka/pull/2748 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 t

[GitHub] [kafka] chia7712 commented on pull request #2748: MINOR: remove misleading scala setter in ControllerContext

2020-12-09 Thread GitBox
chia7712 commented on pull request #2748: URL: https://github.com/apache/kafka/pull/2748#issuecomment-741665929 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and u

[GitHub] [kafka] chia7712 commented on pull request #1820: MINOR: Add timeout to testRenegotiation.

2020-12-09 Thread GitBox
chia7712 commented on pull request #1820: URL: https://github.com/apache/kafka/pull/1820#issuecomment-741668772 @SinghAsDev Thanks for your patch. The related code was removed by https://github.com/apache/kafka/commit/f4e9c84c52fbb7ec6a4ca50c9ac35cacbd0df082 so I'm going to close this PR.

[GitHub] [kafka] chia7712 closed pull request #1820: MINOR: Add timeout to testRenegotiation.

2020-12-09 Thread GitBox
chia7712 closed pull request #1820: URL: https://github.com/apache/kafka/pull/1820 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 t

[GitHub] [kafka] dajac commented on pull request #9689: KAFKA-10740; Replace OffsetsForLeaderEpochRequest.PartitionData with automated protocol

2020-12-09 Thread GitBox
dajac commented on pull request #9689: URL: https://github.com/apache/kafka/pull/9689#issuecomment-741692045 cc @chia7712 @hachikuji This is an automated message from the Apache Git Service. To respond to the message, please

[jira] [Commented] (KAFKA-10768) Make ByteBufferInputStream.read(byte[], int, int) to follow the contract

2020-12-09 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246462#comment-17246462 ] Chia-Ping Tsai commented on KAFKA-10768: [~parth017] Are you working at this iss

[GitHub] [kafka] chia7712 commented on a change in pull request #9689: KAFKA-10740; Replace OffsetsForLeaderEpochRequest.PartitionData with automated protocol

2020-12-09 Thread GitBox
chia7712 commented on a change in pull request #9689: URL: https://github.com/apache/kafka/pull/9689#discussion_r539254641 ## File path: core/src/main/scala/kafka/server/AbstractFetcherThread.scala ## @@ -160,7 +161,9 @@ abstract class AbstractFetcherThread(name: String,

[GitHub] [kafka] chia7712 merged pull request #5435: MINOR: fix typo "intervall" to "interval"

2020-12-09 Thread GitBox
chia7712 merged pull request #5435: URL: https://github.com/apache/kafka/pull/5435 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 t

[GitHub] [kafka] chia7712 commented on pull request #9435: KAFKA-10606: Disable auto topic creation for fetch-all-topic-metadata request

2020-12-09 Thread GitBox
chia7712 commented on pull request #9435: URL: https://github.com/apache/kafka/pull/9435#issuecomment-741744599 > I updated the comments accordingly to make it more concise and rebased latest trunk. Please let me know if there are any other issues. @lmr3796 Thanks for updating. wa

[GitHub] [kafka] mumrah commented on a change in pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
mumrah commented on a change in pull request #9715: URL: https://github.com/apache/kafka/pull/9715#discussion_r539295919 ## File path: core/src/main/scala/kafka/server/KafkaApis.scala ## @@ -98,6 +97,7 @@ import scala.annotation.nowarn * Logic to handle the various Kafka requ

[jira] [Commented] (KAFKA-7888) kafka cluster not recovering - Shrinking ISR from 14,13 to 13 (kafka.cluster.Partition) continously

2020-12-09 Thread Tomas Matejovic (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246535#comment-17246535 ] Tomas Matejovic commented on KAFKA-7888: [~kemalerden] What backup do you mean? C

[GitHub] [kafka] ijuma commented on a change in pull request #9714: MINOR: Remove connection id from Send and consolidate request/message utils

2020-12-09 Thread GitBox
ijuma commented on a change in pull request #9714: URL: https://github.com/apache/kafka/pull/9714#discussion_r539323586 ## File path: clients/src/main/java/org/apache/kafka/common/network/SizeDelimitedSend.java ## @@ -14,18 +14,22 @@ * See the License for the specific langua

[jira] [Comment Edited] (KAFKA-7888) kafka cluster not recovering - Shrinking ISR from 14,13 to 13 (kafka.cluster.Partition) continously

2020-12-09 Thread Tomas Matejovic (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246535#comment-17246535 ] Tomas Matejovic edited comment on KAFKA-7888 at 12/9/20, 1:53 PM: -

[jira] [Comment Edited] (KAFKA-7888) kafka cluster not recovering - Shrinking ISR from 14,13 to 13 (kafka.cluster.Partition) continously

2020-12-09 Thread Tomas Matejovic (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246535#comment-17246535 ] Tomas Matejovic edited comment on KAFKA-7888 at 12/9/20, 1:53 PM: -

[GitHub] [kafka] ijuma commented on a change in pull request #9714: MINOR: Remove connection id from Send and consolidate request/message utils

2020-12-09 Thread GitBox
ijuma commented on a change in pull request #9714: URL: https://github.com/apache/kafka/pull/9714#discussion_r539323586 ## File path: clients/src/main/java/org/apache/kafka/common/network/SizeDelimitedSend.java ## @@ -14,18 +14,22 @@ * See the License for the specific langua

[GitHub] [kafka] mumrah commented on a change in pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
mumrah commented on a change in pull request #9715: URL: https://github.com/apache/kafka/pull/9715#discussion_r539329604 ## File path: core/src/main/scala/kafka/server/KafkaRequestHandler.scala ## @@ -34,6 +34,10 @@ trait ApiRequestHandler { def handle(request: RequestChanne

[GitHub] [kafka] mumrah commented on pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
mumrah commented on pull request #9715: URL: https://github.com/apache/kafka/pull/9715#issuecomment-741791066 @chia7712 thanks for the feedback. I've incorporated your suggestions, can you take another look? This is an autom

[GitHub] [kafka] ijuma commented on pull request #9718: MINOR: Use the correct ProducerStateManager instance when updating producers

2020-12-09 Thread GitBox
ijuma commented on pull request #9718: URL: https://github.com/apache/kafka/pull/9718#issuecomment-741791486 Good catch. This looks a bit error prone. Should we be moving some of these methods to the companion object or something? --

[GitHub] [kafka] ijuma commented on pull request #9671: KAFKA-10793: move handling of FindCoordinatorFuture to fix race condition

2020-12-09 Thread GitBox
ijuma commented on pull request #9671: URL: https://github.com/apache/kafka/pull/9671#issuecomment-741798735 Is this a 2.7.0 blocker? cc @bbejeck This is an automated message from the Apache Git Service. To respond to the me

[jira] [Commented] (KAFKA-10827) Consumer group coordinator node never gets updated for manual partition assignment with infrequent requests

2020-12-09 Thread Ismael Juma (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246558#comment-17246558 ] Ismael Juma commented on KAFKA-10827: - cc [~ableegoldman] and [~guozhang] who were l

[GitHub] [kafka] chia7712 commented on pull request #9714: MINOR: Remove connection id from Send and consolidate request/message utils

2020-12-09 Thread GitBox
chia7712 commented on pull request #9714: URL: https://github.com/apache/kafka/pull/9714#issuecomment-741804931 + 1 to latest commit This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [kafka] bertber commented on a change in pull request #9699: MINOR: remove duplicate code from resetByDuration

2020-12-09 Thread GitBox
bertber commented on a change in pull request #9699: URL: https://github.com/apache/kafka/pull/9699#discussion_r539354420 ## File path: core/src/main/scala/kafka/tools/StreamsResetter.java ## @@ -491,17 +491,8 @@ private void resetByDuration(final Consumer client,

[GitHub] [kafka] ijuma commented on pull request #9435: KAFKA-10606: Disable auto topic creation for fetch-all-topic-metadata request

2020-12-09 Thread GitBox
ijuma commented on pull request #9435: URL: https://github.com/apache/kafka/pull/9435#issuecomment-741810105 @chia7712 feel free to merge if it looks good to you. Thanks @lmr3796 for the patience. This is an automated messag

[GitHub] [kafka] ijuma commented on pull request #9701: KAFKA-10713: (redux) Also allow underscore in protocol name

2020-12-09 Thread GitBox
ijuma commented on pull request #9701: URL: https://github.com/apache/kafka/pull/9701#issuecomment-741826230 @tombentley Done. This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [kafka] ijuma commented on a change in pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
ijuma commented on a change in pull request #9715: URL: https://github.com/apache/kafka/pull/9715#discussion_r539390329 ## File path: core/src/main/scala/kafka/server/KafkaApis.scala ## @@ -98,6 +97,7 @@ import scala.annotation.nowarn * Logic to handle the various Kafka reque

[GitHub] [kafka] ijuma commented on pull request #9703: KAFKA-10697 Remove ProduceResponse.responses

2020-12-09 Thread GitBox
ijuma commented on pull request #9703: URL: https://github.com/apache/kafka/pull/9703#issuecomment-741836419 Thanks for the PR. I don't see `responses` being removed. This is an automated message from the Apache Git Service.

[GitHub] [kafka] ijuma commented on pull request #9702: CVE-2020-25649: bumping jackson to patched version 2.10.5.1

2020-12-09 Thread GitBox
ijuma commented on pull request #9702: URL: https://github.com/apache/kafka/pull/9702#issuecomment-741836921 cc @bbejeck @niteshmor This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [kafka] ijuma commented on a change in pull request #9694: MINOR: Change the input type of DescribeAclsResponse#aclsResources from Collection to Iterable to avoid creating useless collection

2020-12-09 Thread GitBox
ijuma commented on a change in pull request #9694: URL: https://github.com/apache/kafka/pull/9694#discussion_r539394353 ## File path: core/src/main/scala/kafka/server/KafkaApis.scala ## @@ -2509,12 +2509,10 @@ class KafkaApis(val requestChannel: RequestChannel, .se

[GitHub] [kafka] chia7712 commented on a change in pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
chia7712 commented on a change in pull request #9715: URL: https://github.com/apache/kafka/pull/9715#discussion_r539362958 ## File path: core/src/main/scala/kafka/network/RequestChannel.scala ## @@ -432,6 +432,43 @@ class RequestChannel(val queueSize: Int, } } + def

[GitHub] [kafka] chia7712 merged pull request #9435: KAFKA-10606: Disable auto topic creation for fetch-all-topic-metadata request

2020-12-09 Thread GitBox
chia7712 merged pull request #9435: URL: https://github.com/apache/kafka/pull/9435 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 t

[GitHub] [kafka] chia7712 commented on pull request #9435: KAFKA-10606: Disable auto topic creation for fetch-all-topic-metadata request

2020-12-09 Thread GitBox
chia7712 commented on pull request #9435: URL: https://github.com/apache/kafka/pull/9435#issuecomment-741847741 @Lincong @lmr3796 Thanks for your efforts! This is an automated message from the Apache Git Service. To respond t

[jira] [Resolved] (KAFKA-10606) Auto create non-existent topics when fetching metadata for all topics

2020-12-09 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai resolved KAFKA-10606. Fix Version/s: 2.7.0 Resolution: Fixed > Auto create non-existent topics when fetch

[GitHub] [kafka] ijuma commented on a change in pull request #9517: MINOR: add comments to explain why it needs to add synchronization on…

2020-12-09 Thread GitBox
ijuma commented on a change in pull request #9517: URL: https://github.com/apache/kafka/pull/9517#discussion_r539415671 ## File path: clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslClientAuthenticator.java ## @@ -612,6 +612,9 @@ private void handleSa

[GitHub] [kafka] ijuma commented on a change in pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2020-12-09 Thread GitBox
ijuma commented on a change in pull request #9520: URL: https://github.com/apache/kafka/pull/9520#discussion_r539416139 ## File path: clients/src/test/java/org/apache/kafka/clients/NetworkClientTest.java ## @@ -117,13 +118,12 @@ public void setup() { selector.reset();

[GitHub] [kafka] chia7712 commented on a change in pull request #9694: MINOR: Change the input type of DescribeAclsResponse#aclsResources from Collection to Iterable to avoid creating useless collecti

2020-12-09 Thread GitBox
chia7712 commented on a change in pull request #9694: URL: https://github.com/apache/kafka/pull/9694#discussion_r539416849 ## File path: core/src/main/scala/kafka/server/KafkaApis.scala ## @@ -2509,12 +2509,10 @@ class KafkaApis(val requestChannel: RequestChannel,

[GitHub] [kafka] ijuma commented on pull request #9620: MINOR: Get rid of generic from FetchResponse

2020-12-09 Thread GitBox
ijuma commented on pull request #9620: URL: https://github.com/apache/kafka/pull/9620#issuecomment-741859826 It's a bit hard to know when the Lazy version can be used though, right? This is an automated message from the Apach

[GitHub] [kafka] chia7712 commented on a change in pull request #9517: MINOR: add comments to explain why it needs to add synchronization on…

2020-12-09 Thread GitBox
chia7712 commented on a change in pull request #9517: URL: https://github.com/apache/kafka/pull/9517#discussion_r539420751 ## File path: clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslClientAuthenticator.java ## @@ -612,6 +612,9 @@ private void handl

[GitHub] [kafka] chia7712 commented on a change in pull request #9520: MINOR: replace test "expected" parameter by assertThrows

2020-12-09 Thread GitBox
chia7712 commented on a change in pull request #9520: URL: https://github.com/apache/kafka/pull/9520#discussion_r539422760 ## File path: clients/src/test/java/org/apache/kafka/clients/NetworkClientTest.java ## @@ -117,13 +118,12 @@ public void setup() { selector.reset(

[GitHub] [kafka] ijuma commented on pull request #9516: MINOR: make Send and Receive work with TransportLayer rather than Gat…

2020-12-09 Thread GitBox
ijuma commented on pull request #9516: URL: https://github.com/apache/kafka/pull/9516#issuecomment-741864178 For some reason, I can't add a comment to the previous discussion. In my opinion TransportLayer is a fat interface and it seems like a step back to require it in so many places. Are

[GitHub] [kafka] ijuma commented on pull request #9548: Disable inlining of Scala library methods.

2020-12-09 Thread GitBox
ijuma commented on pull request #9548: URL: https://github.com/apache/kafka/pull/9548#issuecomment-741865282 I think I'll have time to look into this later this week. This is an automated message from the Apache Git Service.

[GitHub] [kafka] ijuma commented on a change in pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
ijuma commented on a change in pull request #9715: URL: https://github.com/apache/kafka/pull/9715#discussion_r539429096 ## File path: core/src/main/scala/kafka/server/KafkaRequestHandler.scala ## @@ -34,6 +34,10 @@ trait ApiRequestHandler { def handle(request: RequestChannel

[GitHub] [kafka] chia7712 commented on pull request #9620: MINOR: Get rid of generic from FetchResponse

2020-12-09 Thread GitBox
chia7712 commented on pull request #9620: URL: https://github.com/apache/kafka/pull/9620#issuecomment-741868042 > It's a bit hard to know when the Lazy version can be used though, right? You are right :( Will go back when I have a better idea.

[GitHub] [kafka] ijuma commented on pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
ijuma commented on pull request #9715: URL: https://github.com/apache/kafka/pull/9715#issuecomment-741871617 Note that the goal here is not to reduce `KafkaApis` footprint, it is to allow reuse from `ControllerApis`. The latter is required for the KIP-500 effort. I think it makes sense to

[GitHub] [kafka] mumrah commented on a change in pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
mumrah commented on a change in pull request #9715: URL: https://github.com/apache/kafka/pull/9715#discussion_r539437410 ## File path: core/src/main/scala/kafka/server/KafkaApis.scala ## @@ -98,6 +97,7 @@ import scala.annotation.nowarn * Logic to handle the various Kafka requ

[GitHub] [kafka] chia7712 commented on pull request #9715: Upstream ApisUtils from kip-500

2020-12-09 Thread GitBox
chia7712 commented on pull request #9715: URL: https://github.com/apache/kafka/pull/9715#issuecomment-741876404 > I think it makes sense to go with a simple change here that extracts commonly used methods. If we want to discuss breaking up KafkaApis, that is a fair discussion, but can happ

[GitHub] [kafka] chia7712 commented on pull request #9516: MINOR: make Send and Receive work with TransportLayer rather than Gat…

2020-12-09 Thread GitBox
chia7712 commented on pull request #9516: URL: https://github.com/apache/kafka/pull/9516#issuecomment-741877277 > Are hasPendingWrites and transferFrom the only methods we cast in order to access at the moment? yes T

[GitHub] [kafka] splett2 commented on a change in pull request #9628: KAFKA-10747: Implement APIs for altering and describing IP connection rate quotas

2020-12-09 Thread GitBox
splett2 commented on a change in pull request #9628: URL: https://github.com/apache/kafka/pull/9628#discussion_r539455602 ## File path: core/src/main/scala/kafka/server/AdminManager.scala ## @@ -920,32 +954,57 @@ class AdminManager(val config: KafkaConfig, !name.isDefi

[GitHub] [kafka] ijuma commented on a change in pull request #9516: MINOR: make Send and Receive work with TransportLayer rather than Gat…

2020-12-09 Thread GitBox
ijuma commented on a change in pull request #9516: URL: https://github.com/apache/kafka/pull/9516#discussion_r539458932 ## File path: clients/src/main/java/org/apache/kafka/common/network/NetworkReceive.java ## @@ -89,7 +88,8 @@ public boolean complete() { return !siz

[GitHub] [kafka] ijuma commented on pull request #9516: MINOR: make Send and Receive work with TransportLayer rather than Gat…

2020-12-09 Thread GitBox
ijuma commented on pull request #9516: URL: https://github.com/apache/kafka/pull/9516#issuecomment-741891195 Maybe we can introduce an interface that only adds `hasPendingWrites` and `transferFrom`. Then use that on the `Send` side. And revert the changes on the `Receive` side. -

[jira] [Commented] (KAFKA-10772) java.lang.IllegalStateException: There are insufficient bytes available to read assignment from the sync-group response (actual byte size 0)

2020-12-09 Thread Bruno Cadonna (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246677#comment-17246677 ] Bruno Cadonna commented on KAFKA-10772: --- I think, I found the bug. If a static mem

[GitHub] [kafka] lisa2lisa opened a new pull request #9719: [MINOR] enrich the kafka log message

2020-12-09 Thread GitBox
lisa2lisa opened a new pull request #9719: URL: https://github.com/apache/kafka/pull/9719 *More detailed description of your change, if necessary. The PR title and PR message become the squashed commit message, so use a separate comment to ping reviewers.* *Summary of testing

[GitHub] [kafka] tombentley commented on pull request #9701: KAFKA-10713: (redux) Also allow underscore in protocol name

2020-12-09 Thread GitBox
tombentley commented on pull request #9701: URL: https://github.com/apache/kafka/pull/9701#issuecomment-741954740 Thanks @ijuma, I've opened https://cwiki.apache.org/confluence/display/KAFKA/KIP-697%3A+Stricter+parsing+of+addresses+in+configs, targetting 3.0. ---

[GitHub] [kafka] tombentley closed pull request #9701: KAFKA-10713: (redux) Also allow underscore in protocol name

2020-12-09 Thread GitBox
tombentley closed pull request #9701: URL: https://github.com/apache/kafka/pull/9701 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

[jira] [Updated] (KAFKA-10713) Surprising behaviour when bootstrap servers are separated by semicolons

2020-12-09 Thread Tom Bentley (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Bentley updated KAFKA-10713: Fix Version/s: (was: 2.8.0) > Surprising behaviour when bootstrap servers are separated by sem

[jira] [Reopened] (KAFKA-10713) Surprising behaviour when bootstrap servers are separated by semicolons

2020-12-09 Thread Tom Bentley (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom Bentley reopened KAFKA-10713: - > Surprising behaviour when bootstrap servers are separated by semicolons >

[GitHub] [kafka] g1geordie commented on pull request #9707: KAFKA-10790 Detect/Prevent Deadlock on Producer Network Thread

2020-12-09 Thread GitBox
g1geordie commented on pull request #9707: URL: https://github.com/apache/kafka/pull/9707#issuecomment-741968372 @chia7712 thanks again This is an automated message from the Apache Git Service. To respond to the message, pl

[GitHub] [kafka] niteshmor commented on pull request #9702: CVE-2020-25649: bumping jackson to patched version 2.10.5.1

2020-12-09 Thread GitBox
niteshmor commented on pull request #9702: URL: https://github.com/apache/kafka/pull/9702#issuecomment-741973244 Thanks @sirocchj, you beat me to it for this upgrade request. For older branches, these are the current versions of jackson databind in use: ``` 2.1:2.9.8

[GitHub] [kafka] hachikuji commented on pull request #9621: KAFKA-9892: Producer state snapshot needs to be forced to disk

2020-12-09 Thread GitBox
hachikuji commented on pull request #9621: URL: https://github.com/apache/kafka/pull/9621#issuecomment-741974252 @bristy Thanks for the patch. I'd suggest changing to this: ```java try { fileChannel.write(buffer) fileChannel.force(true) } finally {

[jira] [Commented] (KAFKA-10772) java.lang.IllegalStateException: There are insufficient bytes available to read assignment from the sync-group response (actual byte size 0)

2020-12-09 Thread John Roesler (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246741#comment-17246741 ] John Roesler commented on KAFKA-10772: -- Thanks, [~cadonna] ! The scenario you outl

[GitHub] [kafka] ableegoldman commented on pull request #9671: KAFKA-10793: move handling of FindCoordinatorFuture to fix race condition

2020-12-09 Thread GitBox
ableegoldman commented on pull request #9671: URL: https://github.com/apache/kafka/pull/9671#issuecomment-741977437 @ijuma no, I don't think it should be a 2.7 blocker. It's definitely not a regression, AFAICT this has been around since the beginning. And a restart of the client will get i

[GitHub] [kafka] bristy commented on a change in pull request #9621: KAFKA-9892: Producer state snapshot needs to be forced to disk

2020-12-09 Thread GitBox
bristy commented on a change in pull request #9621: URL: https://github.com/apache/kafka/pull/9621#discussion_r539562607 ## File path: core/src/main/scala/kafka/log/ProducerStateManager.scala ## @@ -437,7 +437,7 @@ object ProducerStateManager { val fileChannel = FileChan

[GitHub] [kafka] bristy commented on a change in pull request #9621: KAFKA-9892: Producer state snapshot needs to be forced to disk

2020-12-09 Thread GitBox
bristy commented on a change in pull request #9621: URL: https://github.com/apache/kafka/pull/9621#discussion_r539562607 ## File path: core/src/main/scala/kafka/log/ProducerStateManager.scala ## @@ -437,7 +437,7 @@ object ProducerStateManager { val fileChannel = FileChan

[GitHub] [kafka] guozhangwang commented on a change in pull request #9671: KAFKA-10793: move handling of FindCoordinatorFuture to fix race condition

2020-12-09 Thread GitBox
guozhangwang commented on a change in pull request #9671: URL: https://github.com/apache/kafka/pull/9671#discussion_r539567098 ## File path: clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java ## @@ -853,7 +844,7 @@ public void onSuccess(

[GitHub] [kafka] guozhangwang commented on a change in pull request #9671: KAFKA-10793: move handling of FindCoordinatorFuture to fix race condition

2020-12-09 Thread GitBox
guozhangwang commented on a change in pull request #9671: URL: https://github.com/apache/kafka/pull/9671#discussion_r539568378 ## File path: clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java ## @@ -248,18 +243,26 @@ protected synchroniz

[GitHub] [kafka] ijuma commented on pull request #9714: MINOR: Remove connection id from Send and consolidate request/message utils

2020-12-09 Thread GitBox
ijuma commented on pull request #9714: URL: https://github.com/apache/kafka/pull/9714#issuecomment-741989016 Tests passed, merging to trunk. This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [kafka] ijuma merged pull request #9714: MINOR: Remove connection id from Send and consolidate request/message utils

2020-12-09 Thread GitBox
ijuma merged pull request #9714: URL: https://github.com/apache/kafka/pull/9714 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

[GitHub] [kafka] guozhangwang merged pull request #9711: MINOR: add "flush=True" to all print in system tests

2020-12-09 Thread GitBox
guozhangwang merged pull request #9711: URL: https://github.com/apache/kafka/pull/9711 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] guozhangwang commented on pull request #9711: MINOR: add "flush=True" to all print in system tests

2020-12-09 Thread GitBox
guozhangwang commented on pull request #9711: URL: https://github.com/apache/kafka/pull/9711#issuecomment-741991812 Thanks for the patch @chia7712 . LGTM! This is an automated message from the Apache Git Service. To respond t

[GitHub] [kafka] ijuma commented on pull request #9671: KAFKA-10793: move handling of FindCoordinatorFuture to fix race condition

2020-12-09 Thread GitBox
ijuma commented on pull request #9671: URL: https://github.com/apache/kafka/pull/9671#issuecomment-741993693 > And a restart of the client will get it out of the bad state This is a massive deal though, right? This is

[GitHub] [kafka] vvcephei commented on a change in pull request #9697: KAFKA-10810: Replace stream threads

2020-12-09 Thread GitBox
vvcephei commented on a change in pull request #9697: URL: https://github.com/apache/kafka/pull/9697#discussion_r539583538 ## File path: streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java ## @@ -444,6 +444,25 @@ private void handleStreamsUncaughtException(final T

[GitHub] [kafka] vvcephei commented on a change in pull request #9697: KAFKA-10810: Replace stream threads

2020-12-09 Thread GitBox
vvcephei commented on a change in pull request #9697: URL: https://github.com/apache/kafka/pull/9697#discussion_r539584371 ## File path: streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java ## @@ -444,6 +444,18 @@ private void handleStreamsUncaughtException(final T

[jira] [Commented] (KAFKA-10827) Consumer group coordinator node never gets updated for manual partition assignment with infrequent requests

2020-12-09 Thread Guozhang Wang (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246777#comment-17246777 ] Guozhang Wang commented on KAFKA-10827: --- [~jaebinyo] I think your reasoning is rig

[GitHub] [kafka] guozhangwang commented on pull request #9640: KAFKA-10283; Consolidate client-level and consumer-level assignment within ClientState

2020-12-09 Thread GitBox
guozhangwang commented on pull request #9640: URL: https://github.com/apache/kafka/pull/9640#issuecomment-742006637 @ableegoldman could you also take a look at this PR? Thanks! This is an automated message from the Apache Git

[GitHub] [kafka] kowshik commented on pull request #9718: MINOR: Use the correct ProducerStateManager instance when updating producers

2020-12-09 Thread GitBox
kowshik commented on pull request #9718: URL: https://github.com/apache/kafka/pull/9718#issuecomment-742008769 @ijuma Good idea. I can move `Log.rebuildProducerState` into the `Log` companion object, and consequently the following methods will move too: `Log.loadProducersFromLog` and `Log.

[jira] [Created] (KAFKA-10832) Recovery logic is using incorrect ProducerStateManager instance when updating producers

2020-12-09 Thread Kowshik Prakasam (Jira)
Kowshik Prakasam created KAFKA-10832: Summary: Recovery logic is using incorrect ProducerStateManager instance when updating producers Key: KAFKA-10832 URL: https://issues.apache.org/jira/browse/KAFKA-10832

[GitHub] [kafka] vvcephei commented on a change in pull request #9697: KAFKA-10810: Replace stream threads

2020-12-09 Thread GitBox
vvcephei commented on a change in pull request #9697: URL: https://github.com/apache/kafka/pull/9697#discussion_r539615678 ## File path: streams/src/test/java/org/apache/kafka/streams/integration/StreamsUncaughtExceptionHandlerIntegrationTest.java ## @@ -202,6 +213,28 @@ priva

[jira] [Commented] (KAFKA-10772) java.lang.IllegalStateException: There are insufficient bytes available to read assignment from the sync-group response (actual byte size 0)

2020-12-09 Thread Bruno Cadonna (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246797#comment-17246797 ] Bruno Cadonna commented on KAFKA-10772: --- I think this issue is fixed for brokers 2

[jira] [Comment Edited] (KAFKA-10772) java.lang.IllegalStateException: There are insufficient bytes available to read assignment from the sync-group response (actual byte size 0)

2020-12-09 Thread Bruno Cadonna (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246797#comment-17246797 ] Bruno Cadonna edited comment on KAFKA-10772 at 12/9/20, 8:20 PM: -

[jira] [Comment Edited] (KAFKA-10772) java.lang.IllegalStateException: There are insufficient bytes available to read assignment from the sync-group response (actual byte size 0)

2020-12-09 Thread Bruno Cadonna (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246797#comment-17246797 ] Bruno Cadonna edited comment on KAFKA-10772 at 12/9/20, 8:22 PM: -

[jira] [Comment Edited] (KAFKA-10772) java.lang.IllegalStateException: There are insufficient bytes available to read assignment from the sync-group response (actual byte size 0)

2020-12-09 Thread Bruno Cadonna (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246797#comment-17246797 ] Bruno Cadonna edited comment on KAFKA-10772 at 12/9/20, 8:22 PM: -

[GitHub] [kafka] sirocchj commented on pull request #9702: CVE-2020-25649: bumping jackson to patched version 2.10.5.1

2020-12-09 Thread GitBox
sirocchj commented on pull request #9702: URL: https://github.com/apache/kafka/pull/9702#issuecomment-742027911 Sounds good to me @niteshmor Want me to open them as separate PRs and as fast follows to this or what do you propose? PS: I did see we needed to jump a few patch release

[GitHub] [kafka] sirocchj edited a comment on pull request #9702: CVE-2020-25649: bumping jackson to patched version 2.10.5.1

2020-12-09 Thread GitBox
sirocchj edited a comment on pull request #9702: URL: https://github.com/apache/kafka/pull/9702#issuecomment-742027911 Sounds good to me @niteshmor Want me to open them as separate PRs and as fast follows to this or what do you propose? PS: I did see we needed to jump a few patch

[jira] [Commented] (KAFKA-10772) java.lang.IllegalStateException: There are insufficient bytes available to read assignment from the sync-group response (actual byte size 0)

2020-12-09 Thread Bruno Cadonna (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246806#comment-17246806 ] Bruno Cadonna commented on KAFKA-10772: --- bq. It seems bad, and quite possibly a re

[jira] [Comment Edited] (KAFKA-10772) java.lang.IllegalStateException: There are insufficient bytes available to read assignment from the sync-group response (actual byte size 0)

2020-12-09 Thread Bruno Cadonna (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246806#comment-17246806 ] Bruno Cadonna edited comment on KAFKA-10772 at 12/9/20, 8:35 PM: -

[GitHub] [kafka] wcarlson5 commented on a change in pull request #9697: KAFKA-10810: Replace stream threads

2020-12-09 Thread GitBox
wcarlson5 commented on a change in pull request #9697: URL: https://github.com/apache/kafka/pull/9697#discussion_r539636011 ## File path: streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java ## @@ -444,6 +444,18 @@ private void handleStreamsUncaughtException(final

  1   2   >