[
https://issues.apache.org/jira/browse/KAFKA-6386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias J. Sax updated KAFKA-6386:
-----------------------------------
Description:
Currently, {{KafkaStreams}} constructor has overloads that take either
{{Properties}} or {{StreamsConfig}} a parameters.
Because {{StreamsConfig}} is immutable and is created from a {{Properties}}
object itself, the constructors accepting {{StreamsConfig}} are not useful and
adds only boiler plate code. Thus, we should deprecate those constructors in
order to remove them eventually.
KIP:
https://cwiki.apache.org/confluence/display/KAFKA/KIP-245%3A+Use+Properties+instead+of+StreamsConfig+in+KafkaStreams+constructor
was:
Currently, {{KafkaStreams}} constructor has overloads that take either
{{Properties}} or {{StreamsConfig}} a parameters.
Because {{StreamsConfig}} is immutable and is created from a {{Properties}}
object itself, the constructors accepting {{StreamsConfig}} are not useful and
adds only boiler plate code. Thus, we should deprecate those constructors in
order to remove them eventually.
This JIRA includes a public API changes and thus requires a KIP:
https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals
> Deprecate KafkaStreams constructor taking StreamsConfig parameter
> -----------------------------------------------------------------
>
> Key: KAFKA-6386
> URL: https://issues.apache.org/jira/browse/KAFKA-6386
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 1.0.0
> Reporter: Matthias J. Sax
> Assignee: Boyang Chen
> Priority: Minor
> Labels: beginner, kip, newbie
>
> Currently, {{KafkaStreams}} constructor has overloads that take either
> {{Properties}} or {{StreamsConfig}} a parameters.
> Because {{StreamsConfig}} is immutable and is created from a {{Properties}}
> object itself, the constructors accepting {{StreamsConfig}} are not useful
> and adds only boiler plate code. Thus, we should deprecate those constructors
> in order to remove them eventually.
> KIP:
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-245%3A+Use+Properties+instead+of+StreamsConfig+in+KafkaStreams+constructor
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)