Subject: Re: [DISCUSS] KIP-590: Redirect Zookeeper Mutation Protocols to The Controller


Hi Boyang,

I've got another question regarding the auto topic creation case. The KIP
says: "Currently the target broker shall just utilize its own ZK client to
create
internal topics, which is disallowed in the bridge release. For above
scenarios,
non-controller broker shall just forward a CreateTopicRequest to the
controller
instead and let controller take care of the rest, while waiting for the
response
in the meantime." There will be no request to forward in this case, right?
Instead,
a CreateTopicsRequest is created and sent to the controller node.

When the CreateTopicsRequest is sent as a side effect of the
MetadataRequest,
it would be good to know the principal and the clientId in the controller
(quota,
audit, etc.). Do you plan to use the Envelope API for this case as well or
to call
the regular API directly? Another was to phrase it would be: Shall the
internal
CreateTopicsRequest be sent with the original metadata (principal,
clientId, etc.)
of the MetadataRequest or as an admin request?

Best,
David

On Fri, May 8, 2020 at 2:04 AM Guozhang Wang <[EMAIL PROTECTED]> wrote: