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

schandr commented on KAFKA-1345:
--------------------------------

Thank you....that's what I thought so...I am keeping track of the consumer 
instance by the group id and  invoking the shutdown on the related instance.

> java API to shutdown the connector by using a consumergroup id
> --------------------------------------------------------------
>
>                 Key: KAFKA-1345
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1345
>             Project: Kafka
>          Issue Type: New Feature
>            Reporter: schandr
>
> Is there a way to close the consumerIterator(stream), clean up the associated 
> threads by doing a look up on the consumerGroupId? This would help in use 
> cases where the consumption and sending happens in different threads with 
> different protocols. And if the sending thread is shutdown, the sending 
> thread might want to close the consumption thread.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to