Hi Andrew, yes, validation is called at the start of createTopic. If the topic ID is invalid, the request fails with INVALID_REQUEST. If the topic ID is already used by a different topic name, it fails with TOPIC_ALREADY_EXISTS. In both cases, only the individual topic in the batch fails; other topics in the same CreateTopics request continue processing normally. Added this information to the KIP.
On Fri, Jul 31, 2026 at 10:53 AM Andrew Schofield <[email protected]> wrote: > > Hi Fede, > One more small question. > > AS37: If the controller fails validation for the MirrorInfo.TopicId added to > the CreateTopic request, what does it do? I suspect that it fails the request > with a particular error code. > > Thanks, > Andrew > > On 2026/07/30 17:13:46 Federico Valeri wrote: > > Hi all, > > > > We updated the KIP to include Coordinator Runtime configurations and > > the coordinator state transition validation paragraph. The latter > > covers the per-partition epoch fencing mechanism (leader epoch and > > state epoch) that complements the existing per-topic StateOffset > > fencing for lifecycle operations. > > > > Thanks, > > Fede > >
