-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add few auto partitioning fields to describe and SDK. Add important consumer to CLI #6118
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1087,6 +1087,11 @@ message DescribeTopicResult { | |
|
||
// Partition location, filled only when include_location in request is true. | ||
PartitionLocation partition_location = 6; | ||
|
||
// Inclusive left border. Emptiness means -inf. | ||
optional bytes from_bound = 7; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. А что там внутри bytes? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Строка. Но там могут быть нечитаемые символы, поэтому байты. Границы не человекочитаемы There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ну вот непонятно как этим пользоваться тогда? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Дескрайб в SDK возвращает TString. Вот пример https://github.com/ydb-platform/ydb/pull/6118/files#diff-c7baefa581e4001940d02d8510c369295cc6c020f946c62bc1f1fdccdbd37e61R824 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Как пользоваться - лексикографически сравнивать. Можно, например, определить, лежит ли твой ключ в границах партиции просто сравнением |
||
// Exclusive right border. Emptiness means +inf. | ||
optional bytes to_bound = 8; | ||
} | ||
|
||
message TopicStats { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a break here