[GitHub] [kafka] chia7712 commented on pull request #9423: KAFKA-9263 The new hw is added to incorrect log when ReplicaAlterLogD…

2020-11-25 Thread GitBox
chia7712 commented on pull request #9423: URL: https://github.com/apache/kafka/pull/9423#issuecomment-734131582 @junrao Could you take a look? There is no report about this bug in production but we can reproduce the bug by ```PlaintextAdminIntegrationTest.testAlterReplicaLogDirs```. It hap

[jira] [Created] (KAFKA-10769) Remove JoinGroupRequest#containsValidPattern as it is duplicate to Topic#containsValidPattern

2020-11-25 Thread Chia-Ping Tsai (Jira)
Chia-Ping Tsai created KAFKA-10769: -- Summary: Remove JoinGroupRequest#containsValidPattern as it is duplicate to Topic#containsValidPattern Key: KAFKA-10769 URL: https://issues.apache.org/jira/browse/KAFKA-10769

[GitHub] [kafka] chia7712 closed pull request #3752: Make ByteBufferInputStream.read(byte[], int, int) to follow the contract

2020-11-25 Thread GitBox
chia7712 closed pull request #3752: URL: https://github.com/apache/kafka/pull/3752 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 #3752: Make ByteBufferInputStream.read(byte[], int, int) to follow the contract

2020-11-25 Thread GitBox
chia7712 commented on pull request #3752: URL: https://github.com/apache/kafka/pull/3752#issuecomment-734066465 @leventov Thanks for your response. I'm going to close this PR. see https://issues.apache.org/jira/browse/KAFKA-10768 as follow-up --

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

2020-11-25 Thread Chia-Ping Tsai (Jira)
Chia-Ping Tsai created KAFKA-10768: -- Summary: Make ByteBufferInputStream.read(byte[], int, int) to follow the contract Key: KAFKA-10768 URL: https://issues.apache.org/jira/browse/KAFKA-10768 Project:

[jira] [Commented] (KAFKA-10753) check if ConsumerConfig.AUTO_COMMIT_INTERVAL_MS_CONFIG > 0

2020-11-25 Thread shiqihao (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239063#comment-17239063 ] shiqihao commented on KAFKA-10753: -- hi  [lqjacklee|https://issues.apache.org/jira/secur

[jira] [Resolved] (KAFKA-10565) Console producer displays interactive prompt even when input is not interactive

2020-11-25 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai resolved KAFKA-10565. Fix Version/s: 2.8.0 Resolution: Fixed > Console producer displays interactive prom

[GitHub] [kafka] chia7712 merged pull request #9644: KAFKA-10565: Only print console producer prompt with a tty

2020-11-25 Thread GitBox
chia7712 merged pull request #9644: URL: https://github.com/apache/kafka/pull/9644 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

[jira] [Assigned] (KAFKA-10565) Console producer displays interactive prompt even when input is not interactive

2020-11-25 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai reassigned KAFKA-10565: -- Assignee: Tom Bentley > Console producer displays interactive prompt even when input

[GitHub] [kafka] showuon commented on pull request #9650: MINOR: Update vagrant/tests readme

2020-11-25 Thread GitBox
showuon commented on pull request #9650: URL: https://github.com/apache/kafka/pull/9650#issuecomment-734033089 @chia7712 , thanks for your comments. I agree with you. Updated in this commit: https://github.com/apache/kafka/pull/9650/commits/7f2b9cc2a4e335ee8180f4a5958990e4ae98707f. Thanks

[jira] [Commented] (KAFKA-9836) org.apache.zookeeper.KeeperException$SessionMovedException: KeeperErrorCode = Session moved for /controller_epoch

2020-11-25 Thread Scott Kirkpatrick (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-9836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17238931#comment-17238931 ] Scott Kirkpatrick commented on KAFKA-9836: -- I ran into a very similar error in o

[GitHub] [kafka] leventov commented on pull request #3752: Make ByteBufferInputStream.read(byte[], int, int) to follow the contract

2020-11-25 Thread GitBox
leventov commented on pull request #3752: URL: https://github.com/apache/kafka/pull/3752#issuecomment-733926743 @chia7712 go for it This is an automated message from the Apache Git Service. To respond to the message, please l

[GitHub] [kafka] bbejeck commented on pull request #9655: MINOR: fix listeners doc to close properly

2020-11-25 Thread GitBox
bbejeck commented on pull request #9655: URL: https://github.com/apache/kafka/pull/9655#issuecomment-733894775 Merged 9655 into trunk This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [kafka] bbejeck merged pull request #9655: MINOR: fix listeners doc to close properly

2020-11-25 Thread GitBox
bbejeck merged pull request #9655: URL: https://github.com/apache/kafka/pull/9655 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 th

[GitHub] [kafka] jsancio commented on a change in pull request #9539: KAFKA-10634: Adding LeaderId to Voters list in LeaderChangeMessage

2020-11-25 Thread GitBox
jsancio commented on a change in pull request #9539: URL: https://github.com/apache/kafka/pull/9539#discussion_r530543822 ## File path: raft/src/main/java/org/apache/kafka/raft/LeaderState.java ## @@ -51,6 +53,7 @@ protected LeaderState( boolean hasEndorsedLeader =

[GitHub] [kafka] jsancio commented on a change in pull request #9539: KAFKA-10634: Adding LeaderId to Voters list in LeaderChangeMessage

2020-11-25 Thread GitBox
jsancio commented on a change in pull request #9539: URL: https://github.com/apache/kafka/pull/9539#discussion_r530537291 ## File path: raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java ## @@ -370,14 +370,23 @@ private void onBecomeLeader(long currentTimeMs) {

[GitHub] [kafka] vvcephei commented on pull request #9656: repro demonstrating non-owner commit

2020-11-25 Thread GitBox
vvcephei commented on pull request #9656: URL: https://github.com/apache/kafka/pull/9656#issuecomment-733844668 Not sure if this is expected or not, but it _seems_ wrong. When this test fails, it prints: ``` cons1 owns it Committed 11 with assignment [inputTopicLeft-0]

[GitHub] [kafka] vvcephei opened a new pull request #9656: repro demonstrating non-owner commit

2020-11-25 Thread GitBox
vvcephei opened a new pull request #9656: URL: https://github.com/apache/kafka/pull/9656 ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrad

[GitHub] [kafka] tombentley commented on pull request #9655: MINOR: fix listeners doc to close properly

2020-11-25 Thread GitBox
tombentley commented on pull request #9655: URL: https://github.com/apache/kafka/pull/9655#issuecomment-733804476 This is how it renders without this fix ![image](https://user-images.githubusercontent.com/879487/100253519-1fe9f600-2f39-11eb-86dc-b5d4cc0a4d57.png) @bbejeck this

[GitHub] [kafka] tombentley opened a new pull request #9655: MINOR: fix listeners doc to close properly

2020-11-25 Thread GitBox
tombentley opened a new pull request #9655: URL: https://github.com/apache/kafka/pull/9655 Fixes a problem with an incorrectly closed `` in the doc for `listeners`. This is an automated message from the Apache Git Service. T

[GitHub] [kafka] vamossagar12 commented on a change in pull request #9508: KAFKA-10648: Add Prefix Scan support to State Stores

2020-11-25 Thread GitBox
vamossagar12 commented on a change in pull request #9508: URL: https://github.com/apache/kafka/pull/9508#discussion_r530414938 ## File path: streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBPrefixIterator.java ## @@ -0,0 +1,55 @@ +/* + * Licensed to the Ap

[GitHub] [kafka] chia7712 commented on pull request #3752: Make ByteBufferInputStream.read(byte[], int, int) to follow the contract

2020-11-25 Thread GitBox
chia7712 commented on pull request #3752: URL: https://github.com/apache/kafka/pull/3752#issuecomment-733766191 @leventov Do you want to activate this PR? If not, I'd like to file a PR to complete it with a test case :) This

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

2020-11-25 Thread GitBox
ijuma commented on a change in pull request #9435: URL: https://github.com/apache/kafka/pull/9435#discussion_r530446068 ## File path: core/src/main/scala/kafka/server/KafkaApis.scala ## @@ -1250,13 +1251,23 @@ class KafkaApis(val requestChannel: RequestChannel, met

[GitHub] [kafka] chia7712 commented on a change in pull request #9650: MINOR: Update vagrant/tests readme

2020-11-25 Thread GitBox
chia7712 commented on a change in pull request #9650: URL: https://github.com/apache/kafka/pull/9650#discussion_r530433447 ## File path: vagrant/README.md ## @@ -51,10 +53,11 @@ To log into one of the machines: You can access the brokers and zookeeper by their IP or hostname,

[GitHub] [kafka] chia7712 merged pull request #9653: MINOR: Remove unnecessary statement from WorkerConnector#doRun

2020-11-25 Thread GitBox
chia7712 merged pull request #9653: URL: https://github.com/apache/kafka/pull/9653 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] vamossagar12 commented on a change in pull request #9508: KAFKA-10648: Add Prefix Scan support to State Stores

2020-11-25 Thread GitBox
vamossagar12 commented on a change in pull request #9508: URL: https://github.com/apache/kafka/pull/9508#discussion_r530420278 ## File path: streams/src/main/java/org/apache/kafka/streams/state/internals/ThreadCache.java ## @@ -201,6 +201,14 @@ public MemoryLRUCacheBytesIterat

[jira] [Updated] (KAFKA-10767) Add Unit Test cases for missing methods in ThreadCacheTest

2020-11-25 Thread Sagar Rao (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sagar Rao updated KAFKA-10767: -- Description: During the code review for KIP-614, it was noticed that some methods in ThreadCache don'

[jira] [Created] (KAFKA-10767) Add Unit Test cases for missing methods in ThreadCacheTest

2020-11-25 Thread Sagar Rao (Jira)
Sagar Rao created KAFKA-10767: - Summary: Add Unit Test cases for missing methods in ThreadCacheTest Key: KAFKA-10767 URL: https://issues.apache.org/jira/browse/KAFKA-10767 Project: Kafka Issue Ty

[jira] [Created] (KAFKA-10766) Add Unit Test cases for RocksDbRangeIterator

2020-11-25 Thread Sagar Rao (Jira)
Sagar Rao created KAFKA-10766: - Summary: Add Unit Test cases for RocksDbRangeIterator Key: KAFKA-10766 URL: https://issues.apache.org/jira/browse/KAFKA-10766 Project: Kafka Issue Type: Improvemen

[GitHub] [kafka] vamossagar12 commented on a change in pull request #9508: KAFKA-10648: Add Prefix Scan support to State Stores

2020-11-25 Thread GitBox
vamossagar12 commented on a change in pull request #9508: URL: https://github.com/apache/kafka/pull/9508#discussion_r530414938 ## File path: streams/src/main/java/org/apache/kafka/streams/state/internals/RocksDBPrefixIterator.java ## @@ -0,0 +1,55 @@ +/* + * Licensed to the Ap

[GitHub] [kafka] vamossagar12 commented on a change in pull request #9508: KAFKA-10648: Add Prefix Scan support to State Stores

2020-11-25 Thread GitBox
vamossagar12 commented on a change in pull request #9508: URL: https://github.com/apache/kafka/pull/9508#discussion_r530403193 ## File path: streams/src/main/java/org/apache/kafka/streams/state/internals/MeteredKeyValueStore.java ## @@ -229,6 +230,15 @@ public V delete(final K

[GitHub] [kafka] vamossagar12 commented on pull request #9539: KAFKA-10634: Adding LeaderId to Voters list in LeaderChangeMessage

2020-11-25 Thread GitBox
vamossagar12 commented on pull request #9539: URL: https://github.com/apache/kafka/pull/9539#issuecomment-733727855 > Thanks for the additional changes @vamossagar12 . Left a few comments. Thanks @jsancio , I had a couple of basic questions..

[GitHub] [kafka] vamossagar12 commented on a change in pull request #9539: KAFKA-10634: Adding LeaderId to Voters list in LeaderChangeMessage

2020-11-25 Thread GitBox
vamossagar12 commented on a change in pull request #9539: URL: https://github.com/apache/kafka/pull/9539#discussion_r530398713 ## File path: clients/src/main/resources/common/message/LeaderChangeMessage.json ## @@ -22,7 +22,9 @@ {"name": "LeaderId", "type": "int32", "versi

[GitHub] [kafka] vamossagar12 commented on a change in pull request #9539: KAFKA-10634: Adding LeaderId to Voters list in LeaderChangeMessage

2020-11-25 Thread GitBox
vamossagar12 commented on a change in pull request #9539: URL: https://github.com/apache/kafka/pull/9539#discussion_r530398209 ## File path: raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java ## @@ -370,14 +370,23 @@ private void onBecomeLeader(long currentTimeMs) {

[GitHub] [kafka] vamossagar12 commented on a change in pull request #9539: KAFKA-10634: Adding LeaderId to Voters list in LeaderChangeMessage

2020-11-25 Thread GitBox
vamossagar12 commented on a change in pull request #9539: URL: https://github.com/apache/kafka/pull/9539#discussion_r530397092 ## File path: raft/src/main/java/org/apache/kafka/raft/LeaderState.java ## @@ -51,6 +53,7 @@ protected LeaderState( boolean hasEndorsedLea

[GitHub] [kafka] twobeeb commented on pull request #9589: KAFKA-10710 - Mirror Maker 2 - Create herders only if source->target.enabled=true

2020-11-25 Thread GitBox
twobeeb commented on pull request #9589: URL: https://github.com/apache/kafka/pull/9589#issuecomment-733687425 @ryannedolan I'm fine with either solution you suggest. What's the next step here ? I'm happy to contribute but I need your help on which direction we should take. -

[GitHub] [kafka] cadonna commented on pull request #9654: MINOR: Increase unit test coverage of ProcessorTopology#updateSourceTopics()

2020-11-25 Thread GitBox
cadonna commented on pull request #9654: URL: https://github.com/apache/kafka/pull/9654#issuecomment-733670985 Call for review: @ableegoldman This is an automated message from the Apache Git Service. To respond to the messag

[GitHub] [kafka] cadonna opened a new pull request #9654: MINOR: Increase unit test coverage of ProcessorTopology#updateSourceTopics()

2020-11-25 Thread GitBox
cadonna opened a new pull request #9654: URL: https://github.com/apache/kafka/pull/9654 The unit tests for method ProcessorTopology#updateSourceTopics() did not cover all code paths. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation

[jira] [Comment Edited] (KAFKA-10717) ACL authorization log when consumer requires all topics

2020-11-25 Thread Stefan Bejan (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-10717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17238576#comment-17238576 ] Stefan Bejan edited comment on KAFKA-10717 at 11/25/20, 11:31 AM:

[GitHub] [kafka] abc863377 commented on pull request #9653: MINOR: Remove Unnecessary statement from WorkerConnector #doRun

2020-11-25 Thread GitBox
abc863377 commented on pull request #9653: URL: https://github.com/apache/kafka/pull/9653#issuecomment-733643896 @chia7712 Could you review it please This is an automated message from the Apache Git Service. To respond to th

[GitHub] [kafka] abc863377 opened a new pull request #9653: MINOR: Remove Unnecessary statement from WorkerConnector #doRun

2020-11-25 Thread GitBox
abc863377 opened a new pull request #9653: URL: https://github.com/apache/kafka/pull/9653 Continue is unnecessary as the last statement in a loop. So I remove it from WorkerConnector. This is an automated message from the

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

2020-11-25 Thread GitBox
chia7712 commented on a change in pull request #9435: URL: https://github.com/apache/kafka/pull/9435#discussion_r530269737 ## File path: core/src/main/scala/kafka/server/KafkaApis.scala ## @@ -1333,7 +1343,17 @@ class KafkaApis(val requestChannel: RequestChannel, }

[GitHub] [kafka] tombentley commented on pull request #9644: KAFKA-10565: Only print console producer prompt with a tty

2020-11-25 Thread GitBox
tombentley commented on pull request #9644: URL: https://github.com/apache/kafka/pull/9644#issuecomment-733615294 @chia7712 what's the use case for when you'd need to override the effects of using `System.console`? It would require a KIP, so adding a config is quite a lot more effort and I

[GitHub] [kafka] dongjinleekr commented on pull request #7898: KAFKA-9366: Change log4j dependency into log4j2

2020-11-25 Thread GitBox
dongjinleekr commented on pull request #7898: URL: https://github.com/apache/kafka/pull/7898#issuecomment-733591265 Here is the update. I rebased the PR onto the latest trunk, with: 1. Upgrade log4j to log4j2: This is the main commit. 2. Trivial improvements (typos, etc.) 3. WIP

[GitHub] [kafka] showuon closed pull request #9651: [WIP] fix Travis CI error

2020-11-25 Thread GitBox
showuon closed pull request #9651: URL: https://github.com/apache/kafka/pull/9651 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 th

[GitHub] [kafka] showuon commented on pull request #9652: MINOR: Align the uid inside/outside container

2020-11-25 Thread GitBox
showuon commented on pull request #9652: URL: https://github.com/apache/kafka/pull/9652#issuecomment-733584005 @chia7712 , great to see you have the same thoughts to fix this issue. It's quite annoying to keep breaking the PR build. The change LGTM. Let's see the build results! -

[GitHub] [kafka] chia7712 commented on pull request #9652: MINOR: Align the uid inside/outside container

2020-11-25 Thread GitBox
chia7712 commented on pull request #9652: URL: https://github.com/apache/kafka/pull/9652#issuecomment-733570171 @ijuma @hachikuji please take a look. I'd like to see all green from our QA. This is an automated message from th

[GitHub] [kafka] chia7712 commented on pull request #9651: [WIP] fix Travis CI error

2020-11-25 Thread GitBox
chia7712 commented on pull request #9651: URL: https://github.com/apache/kafka/pull/9651#issuecomment-733568530 @showuon sorry that I just see you are trying to find out the root cause. I have filed PR (#9652) to fix the travis error and the root cause is shown in the description. --

[GitHub] [kafka] chia7712 opened a new pull request #9652: MINOR: Align the uid inside/outside container

2020-11-25 Thread GitBox
chia7712 opened a new pull request #9652: URL: https://github.com/apache/kafka/pull/9652 The root cause of causing permission issue is that the uid outside container is not 1000 so container (has uid 1000) can't modify the file of ```/opt/kafka-dev``` ### Committer Checklist (exclud

[GitHub] [kafka] showuon opened a new pull request #9651: [WIP] fix Travis CI error

2020-11-25 Thread GitBox
showuon opened a new pull request #9651: URL: https://github.com/apache/kafka/pull/9651 *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 s

[GitHub] [kafka] cadonna commented on a change in pull request #9609: KAFKA-6687: restrict DSL to allow only Streams from the same source topics

2020-11-25 Thread GitBox
cadonna commented on a change in pull request #9609: URL: https://github.com/apache/kafka/pull/9609#discussion_r530196629 ## File path: streams/src/main/java/org/apache/kafka/streams/kstream/internals/graph/SourceGraphNode.java ## @@ -0,0 +1,71 @@ +/* + * Licensed to the Apach

[GitHub] [kafka] cadonna commented on a change in pull request #9609: KAFKA-6687: restrict DSL to allow only Streams from the same source topics

2020-11-25 Thread GitBox
cadonna commented on a change in pull request #9609: URL: https://github.com/apache/kafka/pull/9609#discussion_r530196629 ## File path: streams/src/main/java/org/apache/kafka/streams/kstream/internals/graph/SourceGraphNode.java ## @@ -0,0 +1,71 @@ +/* + * Licensed to the Apach

[GitHub] [kafka] cadonna commented on a change in pull request #9609: KAFKA-6687: restrict DSL to allow only Streams from the same source topics

2020-11-25 Thread GitBox
cadonna commented on a change in pull request #9609: URL: https://github.com/apache/kafka/pull/9609#discussion_r530187379 ## File path: streams/src/main/java/org/apache/kafka/streams/kstream/internals/graph/SourceGraphNode.java ## @@ -0,0 +1,71 @@ +/* + * Licensed to the Apach

[GitHub] [kafka] cadonna commented on a change in pull request #9609: KAFKA-6687: restrict DSL to allow only Streams from the same source topics

2020-11-25 Thread GitBox
cadonna commented on a change in pull request #9609: URL: https://github.com/apache/kafka/pull/9609#discussion_r530187379 ## File path: streams/src/main/java/org/apache/kafka/streams/kstream/internals/graph/SourceGraphNode.java ## @@ -0,0 +1,71 @@ +/* + * Licensed to the Apach