You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "mattisonchao (via GitHub)" <gi...@apache.org> on 2023/03/27 14:27:07 UTC
[GitHub] [pulsar] mattisonchao commented on issue #19770: [Bug] Topics with slashes cannot be queried
mattisonchao commented on issue #19770:
URL: https://github.com/apache/pulsar/issues/19770#issuecomment-1485214785
Yes, the topic name should follow the rule as follow:
```java
// allowed characters for property, namespace, cluster and topic names are
// alphanumeric (a-zA-Z_0-9) and these special chars -=:.
// % is allowed as part of valid URL encoding
public static final Pattern NAMED_ENTITY_PATTERN = Pattern.compile("^[-=:.\\w]*$");
```
Pulsar hasn't a good topic name limit yet, but it is being added.
/cc @tisonkun @KamenRiderKuuga
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org