You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Boyang Chen (JIRA)" <ji...@apache.org> on 2018/05/02 22:01:00 UTC

[jira] [Resolved] (KAFKA-6657) Add StreamsConfig prefix for different consumers

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

Boyang Chen resolved KAFKA-6657.
--------------------------------
    Resolution: Delivered

The code is merged: https://github.com/apache/kafka/pull/4805

> Add StreamsConfig prefix for different consumers
> ------------------------------------------------
>
>                 Key: KAFKA-6657
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6657
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>    Affects Versions: 1.1.0
>            Reporter: Matthias J. Sax
>            Assignee: Boyang Chen
>            Priority: Major
>              Labels: beginner, needs-kip, newbie, newbie++
>
> Kafka Streams allows to pass in different configs for different clients by prefixing the corresponding parameter with `producer.` or `consumer.`.
> However, Kafka Streams internally uses multiple consumers, (1) the main consumer (2) the restore consumer and (3) the global consumer (that is a restore consumer as well atm).
> For some use cases, it's required to set different configs for different consumers. Thus, we should add two new prefix for restore and global consumer. We might also consider to extend `KafkaClientSupplier` and add a `getGlobalConsumer()` method.



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