[
https://issues.apache.org/jira/browse/BOOKKEEPER-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178392#comment-13178392
]
Matthieu Morel commented on BOOKKEEPER-149:
-------------------------------------------
Use case:
- cleaning up topic subscriptions, more specifically for implementing JMS API's
http://docs.oracle.com/javaee/6/api/javax/jms/TopicSession.html#unsubscribe(java.lang.String)
(in the case the client was disconnected, information about subscribed topic(s)
may be lost, and getSubscriptionList is a way to retrieve this information)
> Implement HedwigSubscriber#getSubscriptionList(ByteString subscriberId)
> -----------------------------------------------------------------------
>
> Key: BOOKKEEPER-149
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-149
> Project: Bookkeeper
> Issue Type: Improvement
> Reporter: Matthieu Morel
>
> This method currently returns null. (see
> https://github.com/apache/bookkeeper/blob/trunk/hedwig-client/src/main/java/org/apache/hedwig/client/netty/HedwigSubscriber.java#L436
> )
> A possible implementation would use a control message, like subscription
> messages. But that will require modifications to the protocol definition.
> Maybe there is another way?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira