We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 864b4fa commit 4dd7cb8Copy full SHA for 4dd7cb8
common/src/subscription.rs
@@ -50,7 +50,8 @@ impl KafkaConfiguration {
50
51
/// Get the kafka configuration's topic split on commas.
52
pub fn topic_as_array(&self) -> Vec<String> {
53
- self.topic.split(',')
+ self.topic
54
+ .split(',')
55
.map(|s| s.trim().to_string())
56
.filter(|s| !s.is_empty())
57
.collect()
0 commit comments