[jira] [Commented] (KAFKA-9931) Kafka Connect should accept '-1' as a valid replication factor

2020-05-12 Thread Randall Hauch (Jira)


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

Randall Hauch commented on KAFKA-9931:
--

While working on the aforementioned PR, I stumbled upon some incorrectly named 
config properties in one of the MirrorMaker2 integration tests, but created a 
separate MINOR PR: [https://github.com/apache/kafka/pull/8653]

> Kafka Connect should accept '-1' as a valid replication factor
> --
>
> Key: KAFKA-9931
> URL: https://issues.apache.org/jira/browse/KAFKA-9931
> Project: Kafka
>  Issue Type: Improvement
>  Components: KafkaConnect
>Affects Versions: 2.5.0
>Reporter: Randall Hauch
>Assignee: Randall Hauch
>Priority: Critical
>  Labels: needs-kip
> Fix For: 2.6.0
>
>
> [https://cwiki.apache.org/confluence/display/KAFKA/KIP-464%3A+Defaults+for+AdminClient%23createTopic]
> As of KIP-464, the adminclient can use '-1' as the replication factor or 
> partitions and the broker defaults. The Kafka Connect Frame work does not 
> currently accept anything less than 1 as a valid replication factor. This 
> should be changed so that Connect worker configurations can specify `-1` for 
> the internal topic replication factors to default to use the broker's default 
> replication factor for new topics.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KAFKA-9931) Kafka Connect should accept '-1' as a valid replication factor

2020-04-28 Thread Randall Hauch (Jira)


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

Randall Hauch commented on KAFKA-9931:
--

We'll need a KIP for this change, but it should be relatively straightforward 
if we don't change the default or the config files, and merely accept values 
that are either -1 or >= 1.

> Kafka Connect should accept '-1' as a valid replication factor
> --
>
> Key: KAFKA-9931
> URL: https://issues.apache.org/jira/browse/KAFKA-9931
> Project: Kafka
>  Issue Type: Improvement
>  Components: KafkaConnect
>Affects Versions: 2.5.0
>Reporter: Randall Hauch
>Assignee: Randall Hauch
>Priority: Critical
>  Labels: needs-kip
> Fix For: 2.6.0
>
>
> [https://cwiki.apache.org/confluence/display/KAFKA/KIP-464%3A+Defaults+for+AdminClient%23createTopic]
> As of KIP-464, the adminclient can use '-1' as the replication factor or 
> partitions and the broker defaults. The Kafka Connect Frame work does not 
> currently accept anything less than 1 as a valid replication factor. This 
> should be changed so that Connect worker configurations can specify `-1` for 
> the internal topic replication factors to default to use the broker's default 
> replication factor for new topics.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)