[jira] [Updated] (KAFKA-1893) Allow regex subscriptions in the new consumer

2015-09-10 Thread Guozhang Wang (JIRA)

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

Guozhang Wang updated KAFKA-1893:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Issue resolved by pull request 128
[https://github.com/apache/kafka/pull/128]

> Allow regex subscriptions in the new consumer
> -
>
> Key: KAFKA-1893
> URL: https://issues.apache.org/jira/browse/KAFKA-1893
> Project: Kafka
>  Issue Type: Sub-task
>  Components: consumer
>Reporter: Jay Kreps
>Assignee: Ashish K Singh
>Priority: Blocker
> Fix For: 0.8.3
>
>
> The consumer needs to handle subscribing to regular expressions. Presumably 
> this would be done as a new api,
> {code}
>   void subscribe(java.util.regex.Pattern pattern);
> {code}
> Some questions/thoughts to work out:
>  - It should not be possible to mix pattern subscription with partition 
> subscription.
>  - Is it allowable to mix this with normal topic subscriptions? Logically 
> this is okay but a bit complex to implement.
>  - We need to ensure we regularly update the metadata and recheck our regexes 
> against the metadata to update subscriptions for new topics that are created 
> or old topics that are deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-1893) Allow regex subscriptions in the new consumer

2015-09-02 Thread Jun Rao (JIRA)

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

Jun Rao updated KAFKA-1893:
---
Priority: Blocker  (was: Critical)

> Allow regex subscriptions in the new consumer
> -
>
> Key: KAFKA-1893
> URL: https://issues.apache.org/jira/browse/KAFKA-1893
> Project: Kafka
>  Issue Type: Sub-task
>  Components: consumer
>Reporter: Jay Kreps
>Assignee: Ashish K Singh
>Priority: Blocker
> Fix For: 0.8.3
>
>
> The consumer needs to handle subscribing to regular expressions. Presumably 
> this would be done as a new api,
> {code}
>   void subscribe(java.util.regex.Pattern pattern);
> {code}
> Some questions/thoughts to work out:
>  - It should not be possible to mix pattern subscription with partition 
> subscription.
>  - Is it allowable to mix this with normal topic subscriptions? Logically 
> this is okay but a bit complex to implement.
>  - We need to ensure we regularly update the metadata and recheck our regexes 
> against the metadata to update subscriptions for new topics that are created 
> or old topics that are deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-1893) Allow regex subscriptions in the new consumer

2015-08-20 Thread Gwen Shapira (JIRA)

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

Gwen Shapira updated KAFKA-1893:

Reviewer: Gwen Shapira

> Allow regex subscriptions in the new consumer
> -
>
> Key: KAFKA-1893
> URL: https://issues.apache.org/jira/browse/KAFKA-1893
> Project: Kafka
>  Issue Type: Sub-task
>  Components: consumer
>Reporter: Jay Kreps
>Assignee: Ashish K Singh
>Priority: Critical
> Fix For: 0.8.3
>
>
> The consumer needs to handle subscribing to regular expressions. Presumably 
> this would be done as a new api,
> {code}
>   void subscribe(java.util.regex.Pattern pattern);
> {code}
> Some questions/thoughts to work out:
>  - It should not be possible to mix pattern subscription with partition 
> subscription.
>  - Is it allowable to mix this with normal topic subscriptions? Logically 
> this is okay but a bit complex to implement.
>  - We need to ensure we regularly update the metadata and recheck our regexes 
> against the metadata to update subscriptions for new topics that are created 
> or old topics that are deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-1893) Allow regex subscriptions in the new consumer

2015-08-12 Thread Ashish K Singh (JIRA)

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

Ashish K Singh updated KAFKA-1893:
--
Status: Patch Available  (was: In Progress)

> Allow regex subscriptions in the new consumer
> -
>
> Key: KAFKA-1893
> URL: https://issues.apache.org/jira/browse/KAFKA-1893
> Project: Kafka
>  Issue Type: Sub-task
>  Components: consumer
>Reporter: Jay Kreps
>Assignee: Ashish K Singh
>Priority: Critical
> Fix For: 0.8.3
>
>
> The consumer needs to handle subscribing to regular expressions. Presumably 
> this would be done as a new api,
> {code}
>   void subscribe(java.util.regex.Pattern pattern);
> {code}
> Some questions/thoughts to work out:
>  - It should not be possible to mix pattern subscription with partition 
> subscription.
>  - Is it allowable to mix this with normal topic subscriptions? Logically 
> this is okay but a bit complex to implement.
>  - We need to ensure we regularly update the metadata and recheck our regexes 
> against the metadata to update subscriptions for new topics that are created 
> or old topics that are deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-1893) Allow regex subscriptions in the new consumer

2015-06-16 Thread Guozhang Wang (JIRA)

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

Guozhang Wang updated KAFKA-1893:
-
Fix Version/s: 0.8.3

> Allow regex subscriptions in the new consumer
> -
>
> Key: KAFKA-1893
> URL: https://issues.apache.org/jira/browse/KAFKA-1893
> Project: Kafka
>  Issue Type: Sub-task
>  Components: consumer
>Reporter: Jay Kreps
>Priority: Critical
> Fix For: 0.8.3
>
>
> The consumer needs to handle subscribing to regular expressions. Presumably 
> this would be done as a new api,
> {code}
>   void subscribe(java.util.regex.Pattern pattern);
> {code}
> Some questions/thoughts to work out:
>  - It should not be possible to mix pattern subscription with partition 
> subscription.
>  - Is it allowable to mix this with normal topic subscriptions? Logically 
> this is okay but a bit complex to implement.
>  - We need to ensure we regularly update the metadata and recheck our regexes 
> against the metadata to update subscriptions for new topics that are created 
> or old topics that are deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KAFKA-1893) Allow regex subscriptions in the new consumer

2015-06-16 Thread Guozhang Wang (JIRA)

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

Guozhang Wang updated KAFKA-1893:
-
Priority: Critical  (was: Major)

> Allow regex subscriptions in the new consumer
> -
>
> Key: KAFKA-1893
> URL: https://issues.apache.org/jira/browse/KAFKA-1893
> Project: Kafka
>  Issue Type: Sub-task
>  Components: consumer
>Reporter: Jay Kreps
>Priority: Critical
> Fix For: 0.8.3
>
>
> The consumer needs to handle subscribing to regular expressions. Presumably 
> this would be done as a new api,
> {code}
>   void subscribe(java.util.regex.Pattern pattern);
> {code}
> Some questions/thoughts to work out:
>  - It should not be possible to mix pattern subscription with partition 
> subscription.
>  - Is it allowable to mix this with normal topic subscriptions? Logically 
> this is okay but a bit complex to implement.
>  - We need to ensure we regularly update the metadata and recheck our regexes 
> against the metadata to update subscriptions for new topics that are created 
> or old topics that are deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)