/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
contrib/ydb/library/persqueue/topic_parser_public/topic_parser.h
33 строки
844 B
alexv-smirnov
KIKIMR-18630 Switch Arcadia to contrib/ydb
05 ноя 2023, 22:32
05 ноя 2023, 22:32
e24498b
Код
Авторство
О чём код?
#pragma once #include <util/generic/string.h> #include <util/string/builder.h> namespace NPersQueue { TString GetDC(const TString& topic); TString GetRealTopic(const TString& topic); TString BuildFullTopicName(const TString& topicPath, const TString& topicDC); TString GetProducer(const TString& topic); TString GetAccount(const TString& topic); TString GetTopicPath(const TString& topic); TString NormalizePath(const TString& path); bool CorrectName(const TString& topic); TString ConvertNewTopicName(const TString& topic); TString ConvertNewConsumerName(const TString& consumer); TString ConvertNewProducerName(const TString& consumer); TString ConvertOldTopicName(const TString& topic); TString ConvertOldProducerName(const TString& producer); TString ConvertOldConsumerName(const TString& consumer); } // namespace NPersQueue