I understand the reason ...

I developed a POC for an AMQP - Kafka bridge 
(https://github.com/rhiot/amqp-kafka-bridge) and the straightforward mapping 
between AMQP "address" to Kafka "topic" isn't valid anymore.

In AMQP, the address is a simple string and a lot of systems (i.e. brokers) use 
"/" as separator for "multi-level" address.


The idea in my bridge is now to convert every "/" in "_" but in such way AMQP 
clients will use "/" and native Kafka clients will use "_". I don't like it so 
much [☹]


Thanks,

Paolo.

[https://avatars0.githubusercontent.com/u/13518356?v=3&s=400]<https://github.com/rhiot/amqp-kafka-bridge>

GitHub - rhiot/amqp-kafka-bridge: AMQP - Apache Kafka 
bridge<https://github.com/rhiot/amqp-kafka-bridge>
github.com
README.md AMQP - Apache Kafka bridge. This project provides a software 
component which acts as a bridge between AMQP (Advanced Message Queuing 
Protocol) based clients ...




Paolo Patierno
Senior Software Engineer (IoT) @ Red Hat
Microsoft MVP on Windows Embedded & IoT
Microsoft Azure Advisor

Twitter : @ppatierno<http://twitter.com/ppatierno>
Linkedin : paolopatierno<http://it.linkedin.com/in/paolopatierno>
Blog : DevExperience<http://paolopatierno.wordpress.com/>


________________________________
From: Gwen Shapira <g...@confluent.io>
Sent: Friday, November 4, 2016 5:14 PM
To: Users
Subject: Re: Character "/" and "\" not allowed in topic name

We use topic names to generate directories on the file system, "/" is
not a valid character in directories (or if it is, it still makes
things like "ls" more complex), so we decided to simply do without it.



On Fri, Nov 4, 2016 at 8:46 AM, Paolo Patierno <ppatie...@live.com> wrote:
> Hi all,
>
>
> why the "/" character isn't allowed in a topic name ? If I try to use it I 
> receive an error on creation.
>
>
> If I try to use the "\" character ... no error on creation but this character 
> is omitted from the name. Why ?
>
>
> I.e. create "this\topic" ... it creates "thistopic"
>
>
> Thanks,
>
> Paolo.
>
>
> Paolo Patierno
> Senior Software Engineer (IoT) @ Red Hat
> Microsoft MVP on Windows Embedded & IoT
> Microsoft Azure Advisor
>
> Twitter : @ppatierno<http://twitter.com/ppatierno>
> Linkedin : paolopatierno<http://it.linkedin.com/in/paolopatierno>
> Blog : DevExperience<http://paolopatierno.wordpress.com/>



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

Reply via email to