Fix of a bug in jeb_utils.jeb_utils.validate_topic_name
This commit is contained in:
1 parent
24a0850f55
commit
9d106abd9e
3 files changed
+7
-2
No files matched your search
@@ -296,6 +296,8 @@ def validate_topic_name(topic_name: str) -> bool:
|
||||
|
||||
if topic_name.startswith('.') or topic_name.endswith('.') or topic_name.startswith('..') or topic_name.endswith('..'):
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
def validate_topic_format(topic: str):
|
||||
if topic.count(TOPIC_PARTITION_SEPARATOR) != 1:
|
||||
|
||||
Reference in new issue
Block a user