Yes in fact,

The topic in question was a name of a store.

Ok i will do it for th matter of JIRA.

________________________________
De : isma...@gmail.com <isma...@gmail.com> de la part de Ismael Juma 
<ism...@juma.me.uk>
Envoyé : mercredi 5 octobre 2016 22:24:53
À : users@kafka.apache.org
Objet : Re: difficulty to delete a topic because of its syntax

It's worth mentioning that Streams is in the process of transitioning from
updating ZooKeeper directly to using the newly introduced create topics and
delete topics protocol requests. It was too late for 0.10.1.0, but should
land in trunk soonish.

Ismael

On Thu, Oct 6, 2016 at 11:15 AM, Yuto KAWAMURA <kawamuray.dad...@gmail.com>
wrote:

> I guess this topic is created by Kafka Streams.
> Kafka Streams has it's own topic creation(zookeeper node creation)
> implementation and not using core's AdminUtils to create internal use
> topics such as XX-changelog:
> https://github.com/apache/kafka/blob/trunk/streams/src/main/
> java/org/apache/kafka/streams/processor/internals/InternalTo
> picManager.java#L208
> In AdminUtils it has topic name
> validation(https://github.com/apache/kafka/blob/trunk/core/s
> rc/main/scala/kafka/common/Topic.scala#L33-L47)
> logic but I don't see similar thing in Kafka Streams version as I read
> the code briefly.
> Since the topic name is created by the store name which is an
> arbitrary string given by users, this could happen if you give a
> string that contains whitespace as a name of state store.
>
>
> 2016-10-06 18:40 GMT+09:00 Rajini Sivaram <rajinisiva...@googlemail.com>:
> > Hamza,
> >
> > Can you raise a JIRA with details on how the topic was created by Kafka
> > with an invalid name? Sounds like there might be a missing validation
> > somewhere.
> >
> > Regards,
> >
> > Rajini
> >
> > On Thu, Oct 6, 2016 at 10:12 AM, Hamza HACHANI <hamza.hach...@supcom.tn>
> > wrote:
> >
> >> Thanks Todd,
> >>
> >>
> >> I've resolved it by suing what you told me.
> >>
> >> Thanks very much. But i think that there is a problem with kafka by
> >> letting the saving names of topic and logs where there is a space as i
> >> showes in the images.
> >>
> >> Have a good day to you all.
> >>
> >>
> >> Hamza
> >>
> >> ________________________________
> >> De : Hamza HACHANI <hamza.hach...@supcom.tn>
> >> Envoyé : mercredi 5 octobre 2016 19:23:00
> >> À : users@kafka.apache.org
> >> Objet : RE: difficulty to delete a topic because of its syntax
> >>
> >>
> >> Hi,
> >>
> >> Attached the files showing what i'm talking about.
> >>
> >>
> >> Hamza
> >>
> >> ________________________________
> >> De : Todd S <t...@borked.ca>
> >> Envoyé : mercredi 5 octobre 2016 07:25:48
> >> À : users@kafka.apache.org
> >> Objet : Re: difficulty to delete a topic because of its syntax
> >>
> >> You *could* go in to zookeeper and nuke the topic, then delete the
> files on
> >> disk
> >>
> >> Slightly more risky but it should work
> >>
> >> On Wednesday, 5 October 2016, Manikumar <manikumar.re...@gmail.com>
> wrote:
> >>
> >> > Kafka doesn't support white spaces in topic names.  Only support '.',
> '_'
> >> > and '-' these are allowed.
> >> > Not sure how you got white space in topic name.
> >> >
> >> > On Wed, Oct 5, 2016 at 8:19 PM, Hamza HACHANI <
> hamza.hach...@supcom.tn
> >> > <javascript:;>>
> >> > wrote:
> >> >
> >> > > Well ackwardly when i list the topics i find it but when i do
> delete it
> >> > it
> >> > > says that this topic does not exist.
> >> > >
> >> > > ________________________________
> >> > > De : Ben Davison <ben.davi...@7digital.com <javascript:;>>
> >> > > Envoyé : mercredi 5 octobre 2016 02:37:14
> >> > > À : users@kafka.apache.org <javascript:;>
> >> > > Objet : Re: difficulty to delete a topic because of its syntax
> >> > >
> >> > > Try putting "" or '' around the string when running the command.
> >> > >
> >> > > On Wed, Oct 5, 2016 at 3:29 PM, Hamza HACHANI <
> hamza.hach...@supcom.tn
> >> > <javascript:;>>
> >> > > wrote:
> >> > >
> >> > > > It's between "the" and "metric"
> >> > > >
> >> > > > ________________________________
> >> > > > De : Ali Akhtar <ali.rac...@gmail.com <javascript:;>>
> >> > > > Envoyé : mercredi 5 octobre 2016 02:16:33
> >> > > > À : users@kafka.apache.org <javascript:;>
> >> > > > Objet : Re: difficulty to delete a topic because of its syntax
> >> > > >
> >> > > > I don't see a space in that topic name
> >> > > >
> >> > > > On Wed, Oct 5, 2016 at 6:42 PM, Hamza HACHANI <
> >> hamza.hach...@supcom.tn
> >> > <javascript:;>>
> >> > > > wrote:
> >> > > >
> >> > > > > Hi,
> >> > > > >
> >> > > > > I created a topic called device-connection-invert-key-value-the
> >> > > > > metric-changelog.
> >> > > > >
> >> > > > > I insit that there is a space in it.
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > Now that i want to delete it because my  cluster can no longer
> work
> >> > > > > correctly i can't do it as it  only reads the first part of it
> : (
> >> > > > > device-connection-invert-key-value-the) which obviously it
> doesn't
> >> > > find.
> >> > > > >
> >> > > > > Does some body have a wolution to delete it ?
> >> > > > >
> >> > > > > Thanks in advance.
> >> > > > >
> >> > > > >
> >> > > > > Hamza
> >> > > > >
> >> > > > >
> >> > > >
> >> > >
> >> > > --
> >> > >
> >> > >
> >> > > This email, including attachments, is private and confidential. If
> you
> >> > have
> >> > > received this email in error please notify the sender and delete it
> >> from
> >> > > your system. Emails are not secure and may contain viruses. No
> >> liability
> >> > > can be accepted for viruses that might be transferred by this email
> or
> >> > any
> >> > > attachment. Any unauthorised copying of this message or unauthorised
> >> > > distribution and publication of the information contained herein are
> >> > > prohibited.
> >> > >
> >> > > 7digital Limited. Registered office: 69 Wilson Street, London EC2A
> 2BB.
> >> > > Registered in England and Wales. Registered No. 04843573.
> >> > >
> >> >
> >>
> >
> >
> >
> > --
> > Regards,
> >
> > Rajini
>

Reply via email to