Re: difficulty to delete a topic because of its syntax

2016-10-10 Thread Gwen Shapira
Just note that in general doing what Todd advice is pretty risky.
We've seen controllers get into all kinds of weird situations when
topics were deleted from ZK directly (including getting stuck in an
infinite loop, deleting unrelated topics and all kinds of strangeness)
- we have no tests for those scenarios so behavior can get really
unexpected.

On Thu, Oct 6, 2016 at 2:12 AM, Hamza HACHANI  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 
> 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 
> 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  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 > >
>> 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 >
>> > Envoyé : mercredi 5 octobre 2016 02:37:14
>> > À : users@kafka.apache.org 
>> > 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 > >
>> > wrote:
>> >
>> > > It's between "the" and "metric"
>> > >
>> > > 
>> > > De : Ali Akhtar >
>> > > Envoyé : mercredi 5 octobre 2016 02:16:33
>> > > À : users@kafka.apache.org 
>> > > 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 > >
>> > > 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.
>> >
>>



-- 
Gwen Shapira
Product Manager | Confluent
650.450.2760 | @gwenshap
Follow us: Twitter | blog


Re: difficulty to delete a topic because of its syntax

2016-10-10 Thread Avi Flax

> On Oct 6, 2016, at 09:59, Ismael Juma  wrote:
> 
> On Thu, Oct 6, 2016 at 2:51 PM, Avi Flax  wrote:
>> 
>> Does this mean that the next release (after 0.10.1.0, maybe ~Feb?) might
>> remove altogether the requirement that Streams apps be able to access
>> ZooKeeper directly?
> 
> 
> That's the plan. See the following PR for details:
> 
> https://github.com/apache/kafka/pull/1884

Excellent! Thank you!


Software Architect @ Park Assist
We’re hiring! http://tech.parkassist.com/jobs/

Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Ismael Juma
On Thu, Oct 6, 2016 at 2:51 PM, Avi Flax  wrote:
>
> Does this mean that the next release (after 0.10.1.0, maybe ~Feb?) might
> remove altogether the requirement that Streams apps be able to access
> ZooKeeper directly?


That's the plan. See the following PR for details:

https://github.com/apache/kafka/pull/1884

Ismael


Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Avi Flax
> On Oct 6, 2016, at 06:24, Ismael Juma  wrote:
> 
> 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.


That’s great to hear!

Does this mean that the next release (after 0.10.1.0, maybe ~Feb?) might remove 
altogether the requirement that Streams apps be able to access ZooKeeper 
directly? Or is this simply a solid step in that direction? It’s good news 
either way; really I’m just curious.

Thanks!
Avi


Software Architect @ Park Assist
We’re hiring! http://tech.parkassist.com/jobs/

RE: difficulty to delete a topic because of its syntax

2016-10-06 Thread Hamza HACHANI
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  de la part de Ismael Juma 

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 
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 :
> > 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 
> > 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 
> >> 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 
> >> 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 
> 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
> >> > >
> >> > 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 >
> >> > > Envoyé : mercredi 5 octobre 2016 02:37:14
> >> > > À : users@kafka.apache.org 
> >> > > 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
> >> > >
> >> > > wrote:
> >> > >
> >> > > > It's between "the" and "metric"
> >> > > >
> >> > > > 
> >> > > > De : Ali Akhtar >
> >> > > > Envoyé : mercredi 5 octobre 2016 02:16:33
> >> > > > À : users@kafka.apache.org 
> >> > > > 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
> >> > >
> >> > > > 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

Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Ismael Juma
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 
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 :
> > 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 
> > 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 
> >> 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 
> >> 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 
> 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
> >> > >
> >> > 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 >
> >> > > Envoyé : mercredi 5 octobre 2016 02:37:14
> >> > > À : users@kafka.apache.org 
> >> > > 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
> >> > >
> >> > > wrote:
> >> > >
> >> > > > It's between "the" and "metric"
> >> > > >
> >> > > > 
> >> > > > De : Ali Akhtar >
> >> > > > Envoyé : mercredi 5 octobre 2016 02:16:33
> >> > > > À : users@kafka.apache.org 
> >> > > > 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
> >> > >
> >> > > > 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
> >> > 

Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Yuto KAWAMURA
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/InternalTopicManager.java#L208
In AdminUtils it has topic name
validation(https://github.com/apache/kafka/blob/trunk/core/src/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 :
> 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 
> 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 
>> 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 
>> 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  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 > > >
>> > 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 >
>> > > Envoyé : mercredi 5 octobre 2016 02:37:14
>> > > À : users@kafka.apache.org 
>> > > 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 > > >
>> > > wrote:
>> > >
>> > > > It's between "the" and "metric"
>> > > >
>> > > > 
>> > > > De : Ali Akhtar >
>> > > > Envoyé : mercredi 5 octobre 2016 02:16:33
>> > > > À : users@kafka.apache.org 
>> > > > 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
>> > >
>> > > > 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


Re: difficulty to delete a topic because of its syntax

2016-10-06 Thread Rajini Sivaram
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 
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 
> 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 
> 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  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  > >
> > 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 >
> > > Envoyé : mercredi 5 octobre 2016 02:37:14
> > > À : users@kafka.apache.org 
> > > 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  > >
> > > wrote:
> > >
> > > > It's between "the" and "metric"
> > > >
> > > > 
> > > > De : Ali Akhtar >
> > > > Envoyé : mercredi 5 octobre 2016 02:16:33
> > > > À : users@kafka.apache.org 
> > > > 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
> > >
> > > > 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


RE: difficulty to delete a topic because of its syntax

2016-10-06 Thread Hamza HACHANI
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 
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 
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  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  >
> 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 >
> > Envoyé : mercredi 5 octobre 2016 02:37:14
> > À : users@kafka.apache.org 
> > 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  >
> > wrote:
> >
> > > It's between "the" and "metric"
> > >
> > > 
> > > De : Ali Akhtar >
> > > Envoyé : mercredi 5 octobre 2016 02:16:33
> > > À : users@kafka.apache.org 
> > > 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  >
> > > 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.
> >
>


RE: difficulty to delete a topic because of its syntax

2016-10-06 Thread Hamza HACHANI
Hi,

Attached the files showing what i'm talking about.


Hamza


De : Todd S 
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  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  >
> 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 >
> > Envoyé : mercredi 5 octobre 2016 02:37:14
> > À : users@kafka.apache.org 
> > 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  >
> > wrote:
> >
> > > It's between "the" and "metric"
> > >
> > > 
> > > De : Ali Akhtar >
> > > Envoyé : mercredi 5 octobre 2016 02:16:33
> > > À : users@kafka.apache.org 
> > > 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  >
> > > 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.
> >
>


Re: difficulty to delete a topic because of its syntax

2016-10-05 Thread Todd S
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  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  >
> 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 >
> > Envoyé : mercredi 5 octobre 2016 02:37:14
> > À : users@kafka.apache.org 
> > 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  >
> > wrote:
> >
> > > It's between "the" and "metric"
> > >
> > > 
> > > De : Ali Akhtar >
> > > Envoyé : mercredi 5 octobre 2016 02:16:33
> > > À : users@kafka.apache.org 
> > > 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  >
> > > 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.
> >
>


Re: difficulty to delete a topic because of its syntax

2016-10-05 Thread Manikumar
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 
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 
> Envoyé : mercredi 5 octobre 2016 02:37:14
> À : users@kafka.apache.org
> 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 
> wrote:
>
> > It's between "the" and "metric"
> >
> > 
> > De : Ali Akhtar 
> > Envoyé : mercredi 5 octobre 2016 02:16:33
> > À : users@kafka.apache.org
> > 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 
> > 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.
>


RE: difficulty to delete a topic because of its syntax

2016-10-05 Thread Hamza HACHANI
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 
Envoyé : mercredi 5 octobre 2016 02:37:14
À : users@kafka.apache.org
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 
wrote:

> It's between "the" and "metric"
>
> 
> De : Ali Akhtar 
> Envoyé : mercredi 5 octobre 2016 02:16:33
> À : users@kafka.apache.org
> 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 
> 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.


Re: difficulty to delete a topic because of its syntax

2016-10-05 Thread Ben Davison
Try putting "" or '' around the string when running the command.

On Wed, Oct 5, 2016 at 3:29 PM, Hamza HACHANI 
wrote:

> It's between "the" and "metric"
>
> 
> De : Ali Akhtar 
> Envoyé : mercredi 5 octobre 2016 02:16:33
> À : users@kafka.apache.org
> 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 
> 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.


RE: difficulty to delete a topic because of its syntax

2016-10-05 Thread Hamza HACHANI
It's between "the" and "metric"


De : Ali Akhtar 
Envoyé : mercredi 5 octobre 2016 02:16:33
À : users@kafka.apache.org
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 
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
>
>


Re: difficulty to delete a topic because of its syntax

2016-10-05 Thread Ali Akhtar
I don't see a space in that topic name

On Wed, Oct 5, 2016 at 6:42 PM, Hamza HACHANI 
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
>
>