You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Boyang Chen <re...@gmail.com> on 2021/08/15 19:56:52 UTC

Making topic validation public

Hey there,

Kafka has an internal topic validation logic
<https://github.com/apache/kafka/blob/64b8e17827251174490678dd296ce2c1a79ff5ef/clients/src/main/java/org/apache/kafka/common/internals/Topic.java#L43>
which
is very useful and effective. Do you think it's possible to make it part of
the public agreement, so that 3rd party integration with Kafka could
validate the topic upfront instead of waiting until the application has
been set up end-to-end?

Boyang

Re: Making topic validation public

Posted by Guozhang Wang <wa...@gmail.com>.
Hi Boyang,

I feel okay to add a doc section in Kafka about which topic names are
valid; and maybe add such validation into Utils as well.

Guozhang

On Sun, Aug 15, 2021 at 12:57 PM Boyang Chen <re...@gmail.com>
wrote:

> Hey there,
>
> Kafka has an internal topic validation logic
> <
> https://github.com/apache/kafka/blob/64b8e17827251174490678dd296ce2c1a79ff5ef/clients/src/main/java/org/apache/kafka/common/internals/Topic.java#L43
> >
> which
> is very useful and effective. Do you think it's possible to make it part of
> the public agreement, so that 3rd party integration with Kafka could
> validate the topic upfront instead of waiting until the application has
> been set up end-to-end?
>
> Boyang
>


-- 
-- Guozhang