+1 Add a subscription name naming rule, for example: can only contain these characters "a-zA-Z_0-9" or "-=:.%".
I think the subscription name should not contain special characters. It should keep the same naming rule with the topic. lordcheng10 <lordcheng1...@gmail.com> 于2022年10月1日周六 11:12写道: > Corresponding PR: > https://github.com/apache/pulsar/pull/17151 > > lordcheng10 <lordcheng1...@gmail.com> 于2022年10月1日周六 11:10写道: > > > Hello, Pulsar community: > > When creating a subscription, pulsar does not verify the name of the > > subscription, so the subscription name may contain some invisible > > characters in the created subscription. > > If the subscription name contains some invisible characters, when we > > delete the subscription by pulsar-admin, an error will be reported: > > Subscription not found. > > > > We have two ways to solve the problem: > > 1. Check whether the subscription name contains invisible characters, if > > it does, throw an exception and fail to create the subscription; > > 2. Add a subscription name naming rule, for example: can only contain > > these characters "a-zA-Z_0-9" or "-=:.%" > > > > > > What do you think, leave your opinion :) > > > > Thanks > > LinChen > > > > > > > > > -- Best Jiaqi Shen (Gleiphir2769)