hachikuji edited a comment on pull request #9579: URL: https://github.com/apache/kafka/pull/9579#issuecomment-772283780
@abbccdda I had one additional thought here. When we receive a normal `CreateTopic` request, we forward it to the controller through the `Envelope` request. This allows us to preserve the original client principal, which is useful for auditing. We are losing that here for auto-created topics, which is unfortunate. One idea I was thinking about is whether we can wrap the `CreateTopics` request for the auto-created topic in an `Envelope` in order to preserve the client principal. So basically we take the implicit topic creation request from the client and turn it into an explicit forwarded request on behalf of the client. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org