Hi Andrew,

It is a bit more complicated than that. If you have buggy records, the
state machine will fail during its loading and hence none of its APIs
will work. In the share coordinator case, WriteShareGroupState RPC
won't work. Hence, we need a mechanism allowing us to change the data
in the partitions without going through the state machine. Otherwise,
I agree with you. We must have dedicated RPCs to achieve this.

Best,
David

On Thu, Dec 3, 2026 at 3:19 PM Andrew Schofield via dev
<[email protected]> wrote:
>
> Hi Sean and others,
> I understand the attraction of being able to write arbitrary carefully
> crafted records onto internal topics, but we should create a properly
> authorized way of doing those specific tasks. For the share-group state
> topic, we have a CRUD RPCs such as WriteShareGroupState. KIP-1401 has
> a nice side-effect that it enhances this RPC with a proper "Replace"
> option. So, I think we are close to what we would want here for that
> internal topic. Maybe we should do similar for the others.
>
> Thanks,
> Andrew
>
> On 2026/12/01 16:14:37 Sean Quah via dev wrote:
> > Hi TaiJu,
> >
> > Thanks for the KIP.
> >
> > GN1: I believe we need to keep the ability for admins to manually write to
> > internal topics. Recently, we've had a few bugs where the group coordinator
> > would fail to load (KAFKA-20254, KAFKA-20845). When a cluster runs into a
> > bug like this, writing records manually to __consumer_offsets is the
> > "simplest" way to fix it without data loss. Can we explore ways to keep
> > supporting this recovery use case?
> >
> > Sean
> >
> > On Tue, Dec 1, 2026 at 3:17 PM Federico Valeri <[email protected]> wrote:
> >
> > > Hi TaiJu, I also think we should get rid of this in the next minor
> > > release, unless the reason why it was introduced is still valid, which
> > > I doubt. This could come from the pre-Admin client era, but we need a
> > > little investigation here.
> > >
> > > Best,
> > > Fede
> > >
> > > On Mon, Nov 30, 2026 at 5:00 AM TaiJu Wu <[email protected]> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I would like to start a discussion on KIP-1246, which proposes to
> > > deprecate
> > > > and remove the client ID backdoor for producing to internal topics.
> > > >
> > > > KIP:
> > > >
> > > https://urldefense.com/v3/__https://cwiki.apache.org/confluence/spaces/KAFKA/pages/399279015/KIP-1246*Deprecate*backdoor*that*allows*clients*to*produce*to*internal*topics__;KysrKysrKysrKw!!Ayb5sqE7!rbU6mUK4zs0sLugbOYkYy9KfASIs1XUZ8FU26vfUVDFSL7V8jK5jGeefafxyqAE9iwFlgVygeK1qaMHh8oil5g$
> > > > JIRA:
> > > https://urldefense.com/v3/__https://issues.apache.org/jira/browse/KAFKA-5246__;!!Ayb5sqE7!rbU6mUK4zs0sLugbOYkYy9KfASIs1XUZ8FU26vfUVDFSL7V8jK5jGeefafxyqAE9iwFlgVygeK1qaMHqdZm-4A$
> > > >
> > > > Looking forward to your feedback.
> > > >
> > > > Best,
> > > > TaiJu Wu
> > >
> >

Reply via email to