[jira] [Issue Comment Deleted] (KAFKA-6788) Grouping consumer requests per consumer coordinator in admin client

2018-06-29 Thread Shun Guan (JIRA)


 [ 
https://issues.apache.org/jira/browse/KAFKA-6788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shun Guan updated KAFKA-6788:
-
Comment: was deleted

(was: Is this still needs to be work on? Thanks.)

> Grouping consumer requests per consumer coordinator in admin client
> ---
>
> Key: KAFKA-6788
> URL: https://issues.apache.org/jira/browse/KAFKA-6788
> Project: Kafka
>  Issue Type: Improvement
>  Components: admin
>Reporter: Guozhang Wang
>Assignee: Shun Guan
>Priority: Major
>  Labels: newbie++
>
> In KafkaAdminClient, for some requests like describeGroup and deleteGroup, we 
> will first try to get the coordinator for each requested group id, and then 
> send the corresponding request for that group id. However, different group 
> ids could be hosted on the same coordinator, and these requests do support 
> multi group ids be sent within the same request. So we can consider optimize 
> it by grouping the requests per coordinator destination.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (KAFKA-6788) Grouping consumer requests per consumer coordinator in admin client

2018-06-28 Thread Shun Guan (JIRA)


 [ 
https://issues.apache.org/jira/browse/KAFKA-6788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shun Guan reassigned KAFKA-6788:


Assignee: Shun Guan

> Grouping consumer requests per consumer coordinator in admin client
> ---
>
> Key: KAFKA-6788
> URL: https://issues.apache.org/jira/browse/KAFKA-6788
> Project: Kafka
>  Issue Type: Improvement
>  Components: admin
>Reporter: Guozhang Wang
>Assignee: Shun Guan
>Priority: Major
>  Labels: newbie++
>
> In KafkaAdminClient, for some requests like describeGroup and deleteGroup, we 
> will first try to get the coordinator for each requested group id, and then 
> send the corresponding request for that group id. However, different group 
> ids could be hosted on the same coordinator, and these requests do support 
> multi group ids be sent within the same request. So we can consider optimize 
> it by grouping the requests per coordinator destination.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KAFKA-6460) Add mocks for state stores used in Streams unit testing

2018-06-28 Thread Shun Guan (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-6460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526697#comment-16526697
 ] 

Shun Guan commented on KAFKA-6460:
--

Is this still needs to be work on? Thanks.

> Add mocks for state stores used in Streams unit testing
> ---
>
> Key: KAFKA-6460
> URL: https://issues.apache.org/jira/browse/KAFKA-6460
> Project: Kafka
>  Issue Type: Improvement
>  Components: streams, unit tests
>Reporter: Guozhang Wang
>Priority: Major
>  Labels: newbie++
>
> We'd like to use mocks for different types of state stores: kv, window, 
> session that can be used to record the number of expected put / get calls 
> used in the DSL operator unit testing. This involves implementing the two 
> interfaces {{StoreSupplier}} and {{StoreBuilder}} that can return a object 
> created from, say, EasyMock, and the object can then be set up with the 
> expected calls.
> In addition, we should also add a mock record collector which can be returned 
> from the mock processor context so that with logging enabled store, users can 
> also validate if the changes have been forwarded to the changelog as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KAFKA-6788) Grouping consumer requests per consumer coordinator in admin client

2018-06-28 Thread Shun Guan (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-6788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526483#comment-16526483
 ] 

Shun Guan commented on KAFKA-6788:
--

Is this still needs to be work on? Thanks.

> Grouping consumer requests per consumer coordinator in admin client
> ---
>
> Key: KAFKA-6788
> URL: https://issues.apache.org/jira/browse/KAFKA-6788
> Project: Kafka
>  Issue Type: Improvement
>  Components: admin
>Reporter: Guozhang Wang
>Priority: Major
>  Labels: newbie++
>
> In KafkaAdminClient, for some requests like describeGroup and deleteGroup, we 
> will first try to get the coordinator for each requested group id, and then 
> send the corresponding request for that group id. However, different group 
> ids could be hosted on the same coordinator, and these requests do support 
> multi group ids be sent within the same request. So we can consider optimize 
> it by grouping the requests per coordinator destination.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KAFKA-6788) Grouping consumer requests per consumer coordinator in admin client

2018-06-26 Thread Shun Guan (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-6788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524049#comment-16524049
 ] 

Shun Guan commented on KAFKA-6788:
--

Is this story closed? I see there are code commits and pr but doesn't seem like 
anyone accepts the pr [~guozhang]

> Grouping consumer requests per consumer coordinator in admin client
> ---
>
> Key: KAFKA-6788
> URL: https://issues.apache.org/jira/browse/KAFKA-6788
> Project: Kafka
>  Issue Type: Improvement
>  Components: admin
>Reporter: Guozhang Wang
>Priority: Major
>  Labels: newbie++
>
> In KafkaAdminClient, for some requests like describeGroup and deleteGroup, we 
> will first try to get the coordinator for each requested group id, and then 
> send the corresponding request for that group id. However, different group 
> ids could be hosted on the same coordinator, and these requests do support 
> multi group ids be sent within the same request. So we can consider optimize 
> it by grouping the requests per coordinator destination.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KAFKA-6986) Export Admin Client metrics through Stream Threads

2018-06-05 Thread Shun Guan (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502151#comment-16502151
 ] 

Shun Guan commented on KAFKA-6986:
--

Hi [~mjsax], do you mind helping me getting a contributor access? Thanks!

> Export Admin Client metrics through Stream Threads
> --
>
> Key: KAFKA-6986
> URL: https://issues.apache.org/jira/browse/KAFKA-6986
> Project: Kafka
>  Issue Type: Improvement
>  Components: streams
>Reporter: Boyang Chen
>Priority: Minor
>  Labels: Newcomer, beginner, newbie
> Fix For: 2.0.0
>
>
> We already exported producer and consumer metrics through KafkaStreams class:
> [https://github.com/apache/kafka/pull/4998]
> It makes sense to also export the Admin client metrics, however this might 
> involve some public API change that needs a KIP.
> I have allocated a KIP page here:
> [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=80453500]
> If any new contributor wishes to take over this one, please let me know. I 
> will revisit and close this ticket in one or two months later in case no one 
> claims it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KAFKA-6986) Export Admin Client metrics through Stream Threads

2018-06-04 Thread Shun Guan (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501300#comment-16501300
 ] 

Shun Guan commented on KAFKA-6986:
--

If nobody is claiming this, can someone assign this to me? Thanks.

> Export Admin Client metrics through Stream Threads
> --
>
> Key: KAFKA-6986
> URL: https://issues.apache.org/jira/browse/KAFKA-6986
> Project: Kafka
>  Issue Type: Improvement
>  Components: streams
>Reporter: Boyang Chen
>Priority: Minor
>  Labels: Newcomer, beginner, newbie
> Fix For: 2.0.0
>
>
> We already exported producer and consumer metrics through KafkaStreams class:
> [https://github.com/apache/kafka/pull/4998]
> It makes sense to also export the Admin client metrics, however this might 
> involve some public API change that needs a KIP.
> I have allocated a KIP page here:
> [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=80453500]
> If any new contributor wishes to take over this one, please let me know. I 
> will revisit and close this ticket in one or two months later in case no one 
> claims it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KAFKA-6986) Export Admin Client metrics through Stream Threads

2018-06-04 Thread Shun Guan (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500984#comment-16500984
 ] 

Shun Guan commented on KAFKA-6986:
--

Hi, I am a new contributor, do you mind if I take a look at this? [~bchen225242]

> Export Admin Client metrics through Stream Threads
> --
>
> Key: KAFKA-6986
> URL: https://issues.apache.org/jira/browse/KAFKA-6986
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Boyang Chen
>Priority: Minor
>  Labels: Newcomer, newbie, streams
> Fix For: 2.0.0
>
>
> We already exported producer and consumer metrics through KafkaStreams class:
> [https://github.com/apache/kafka/pull/4998]
> It makes sense to also export the Admin client metrics, however this might 
> involve some public API change that needs a KIP.
> I have allocated a KIP page here:
> [https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=80453500]
> If any new contributor wishes to take over this one, please let me know. I 
> will revisit and close this ticket in one or two months later in case no one 
> claims it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)