You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Bala Prassanna I (JIRA)" <ji...@apache.org> on 2018/07/25 10:02:00 UTC

[jira] [Commented] (KAFKA-6690) Priorities for Source Topics

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

Bala Prassanna I commented on KAFKA-6690:
-----------------------------------------

Would be helpful if the same option is also present in the following API
{code:java}
org.apache.kafka.streams.Topology.addSource(String name, String[] topics)
{code}
 

> Priorities for Source Topics
> ----------------------------
>
>                 Key: KAFKA-6690
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6690
>             Project: Kafka
>          Issue Type: New Feature
>          Components: streams
>            Reporter: Bala Prassanna I
>            Assignee: Nick Afshartous
>            Priority: Major
>
> We often encounter use cases where we need to prioritise source topics. If a consumer is listening more than one topic, say, HighPriorityTopic and LowPriorityTopic, it should consume events from LowPriorityTopic only when all the events from HighPriorityTopic are consumed. This is needed in Kafka Streams processor topologies as well.



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