Hi Mickael,

I don't think adding CREATED_UNDER_REPLICATED as an error code makes sense.  It 
is not an error condition, as described here.

> Updates to the Decommissioning brokers section in the documentation
> will mention that if a broker id is never to be reused then its corresponding 
> node in zookeeper
> /brokers/observed_ids will need to be removed manually

I don't think it's acceptable to ask admins to manually modify ZooKeeper here.  
In general the ZK changes seem kind of like a hack -- perhaps we should drop it 
from the proposal for now.

Perhaps we could even somehow do all of this in a custom CreateTopicPolicy?  
That would avoid the need for RPC changes, new configuration knobs, etc.

best,
Colin


On Tue, Dec 18, 2018, at 08:43, Mickael Maison wrote:
> Hi,
> 
> We have submitted a KIP to handle topics and partitions creation when
> a cluster is not fully available:
> 
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-409%3A+Allow+creating+under-replicated+topics+and+partitions
> 
> As always, we welcome feedback and suggestions.
> 
> Thanks
> Mickael and Edoardo
>

Reply via email to