Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
yufansong committed Oct 24, 2023
1 parent 76dc616 commit 56eb5fc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/connector/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,7 @@ impl NatsCommon {
let subject_name = self
.subject
.replace(',', "-")
.replace('.', "_")
.replace('>', "_")
.replace('*', "_")
.replace(' ', "_")
.replace('\t', "_");
.replace(['.', '>', '*', ' ', '\t'], "_");
let name = format!("risingwave-consumer-{}-{}", subject_name, split_id);
let mut config = jetstream::consumer::pull::Config {
ack_policy: jetstream::consumer::AckPolicy::None,
Expand Down

0 comments on commit 56eb5fc

Please sign in to comment.