Thanks for the KIP, Edoardo. A few comments:

1. Have you considered extending RequestMetadata with the additional
information you need? We could add Cluster to it, which has topic
assignment information, for example. This way, there would be no need for a
V2 interface.

2. Something else that could be useful is passing an instance of `Session`
so that one can provide custom behaviour depending on the logged in user.
Would this be useful?

3. For the delete case, we may consider passing a class instead of just a
string to the validate method so that we have options if we need to extend
it.

4. Do we want to enhance the AlterConfigs policy as well?

Ismael

On Thu, Jun 22, 2017 at 2:41 PM, Edoardo Comar <eco...@uk.ibm.com> wrote:

> Hi all,
>
> We've drafted "KIP-170: Enhanced TopicCreatePolicy and introduction of
> TopicDeletePolicy" for discussion:
>
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-170%3A+Enhanced+
> TopicCreatePolicy+and+introduction+of+TopicDeletePolicy
>
> Please take a look. Your feedback is welcome and much needed.
>
> Thanks,
> Edoardo
> --------------------------------------------------
> Edoardo Comar
> IBM Message Hub
> eco...@uk.ibm.com
> IBM UK Ltd, Hursley Park, SO21 2JN
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>

Reply via email to