Skip to content

Commit

Permalink
Merge pull request #432 from ravib777/trim_index_space
Browse files Browse the repository at this point in the history
added trim to topic names to remove leading whitespace if exists
  • Loading branch information
wojtekzyla authored May 22, 2024
2 parents 8c5d933 + ffa8355 commit 7c108cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ private Map<String, Map<String, String>> initMetaMap(Map<String, String> taskCon
topicMeta.put(SOURCE, meta);
}

metaMap.put(topic, topicMeta);
metaMap.put(topic.trim(), topicMeta);
idx += 1;
}
}
Expand Down

0 comments on commit 7c108cc

Please sign in to comment.