Thanks Colin for the feedback. The idea was to allow both users and administrator to decide if they wanted to opt-in and if so under what conditions.
Maybe we could do something simpler and just allow the creation if at least min-in-sync replicas are available? That should not require changes to the protocol and while this might not cover all possible use cases, that would still cover the use cases we've listed in the KIP. That would also tie in with existing semantics/guarantees (min-in-sync). Thanks On Tue, Feb 26, 2019 at 5:40 PM Colin McCabe <cmcc...@apache.org> wrote: > > 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 > >