* Implement Policy Attachment support for Object Store Users
- Added policy_names field to iam.proto and regenerated protos.
- Updated S3 API and IAM integration to support direct policy evaluation for users.
- Enhanced Admin UI to allow attaching policies to users via modals.
- Renamed 'policies' to 'policy_names' to clarify that it stores identifiers.
- Fixed syntax error in user_management.go.
* Fix policy dropdown not populating
The API returns {policies: [...]} but JavaScript was treating response as direct array.
Updated loadPolicies() to correctly access data.policies property.
* Add null safety checks for policy dropdowns
Added checks to prevent "undefined" errors when:
- Policy select elements don't exist
- Policy dropdowns haven't loaded yet
- User is being edited before policies are loaded
* Fix policy dropdown by using correct JSON field name
JSON response has lowercase 'name' field but JavaScript was accessing 'Name'.
Changed policy.Name to policy.name to match the IAMPolicy JSON structure.
* Fix policy names not being saved on user update
Changed condition from len(req.PolicyNames) > 0 to req.PolicyNames != nil
to ensure policy names are always updated when present in the request,
even if it's an empty array (to allow clearing policies).
* Add debug logging for policy names update flow
Added console.log in frontend and glog in backend to trace
policy_names data through the update process.
* Temporarily disable auto-reload for debugging
Commented out window.location.reload() so console logs are visible
when updating a user.
* Add detailed debug logging and alert for policy selection
Added console.log for each step and an alert to show policy_names value
to help diagnose why it's not being included in the request.
* Regenerate templ files for object_store_users
Ran templ generate to ensure _templ.go files are up to date with
the latest .templ changes including debug logging.
* Remove debug logging and restore normal functionality
Cleaned up temporary debug code (console.log and alert statements)
and re-enabled automatic page reload after user update.
* Add step-by-step alert debugging for policy update
Added 5 alert checkpoints to trace policy data through the update flow:
1. Check if policiesSelect element exists
2. Show selected policy values
3. Show userData.policy_names
4. Show full request body
5. Confirm server response
Temporarily disabled auto-reload to see alerts.
* Add version check alert on page load
Added alert on DOMContentLoaded to verify new JavaScript is being executed
and not cached by the browser.
* Compile templates using make
Ran make to compile all template files and install the weed binary.
* Add button click detection and make handleUpdateUser global
- Added inline alert on button click to verify click is detected
- Made handleUpdateUser a window-level function to ensure it's accessible
- Added alert at start of handleUpdateUser function
* Fix handleUpdateUser scope issue - remove duplicate definition
Removed duplicate function definition that was inside DOMContentLoaded.
Now handleUpdateUser is defined only once in global scope (line 383)
making it accessible when button onclick fires.
* Remove all duplicate handleUpdateUser definitions
Now handleUpdateUser is defined only once at the very top of the script
block (line 352), before DOMContentLoaded, ensuring it's available when
the button onclick fires.
* Add function existence check and error catching
Added alerts to check if handleUpdateUser is defined and wrapped
the function call in try-catch to capture any JavaScript errors.
Also added console.log statements to verify function definition.
* Simplify handleUpdateUser to non-async for testing
Removed async/await and added early return to test if function
can be called at all. This will help identify if async is causing
the issue.
* Add cache-control headers to prevent browser caching
Added no-cache headers to ShowObjectStoreUsers handler to prevent
aggressive browser caching of inline JavaScript in the HTML page.
* Fix syntax error - make handleUpdateUser async
Changed function back to async to fix 'await is only valid in async functions' error.
The cache-control headers are working - browser is now loading new code.
* Update version check to v3 to verify cache busting
Changed version alert to 'v3 - WITH EARLY RETURN' to confirm
the new code with early return statement is being loaded.
* Remove all debug code - clean implementation
Removed all alerts, console.logs, and test code.
Implemented clean policy update functionality with proper error handling.
* Add ETag header for cache-busting and update walkthrough
* Fix policy pre-selection in Edit User modal
- Updated admin.js editUser function to pre-select policies
- Root cause: duplicate editUser in admin.js overwrote inline version
- Added policy pre-selection logic to match inline template
- Verified working in browser: policies now pre-select correctly
* Fix policy persistence in handleUpdateUser
- Added policy_names field to userData payload in handleUpdateUser
- Policies were being lost because handleUpdateUser only sent email and actions
- Now collects selected policies from editPolicies dropdown
- Verified working: policies persist correctly across updates
* Fix XSS vulnerability in access keys display
- Escape HTML in access key display using escapeHtml utility
- Replace inline onclick handlers with data attributes
- Add event delegation for delete access key buttons
- Prevents script injection via malicious access key values
* Fix additional XSS vulnerabilities in user details display
- Escape HTML in actions badges (line 626)
- Escape HTML in policy_names badges (line 636)
- Prevents script injection via malicious action or policy names
* Fix XSS vulnerability in loadPolicies function
- Replace innerHTML string concatenation with DOM API
- Use createElement and textContent for safe policy name insertion
- Prevents script injection via malicious policy names
- Apply same pattern to both create and edit select elements
* Remove debug logging from UpdateObjectStoreUser
- Removed glog.V(0) debug statements
- Clean up temporary debugging code before production
* Remove duplicate handleUpdateUser function
- Removed inline handleUpdateUser that duplicated admin.js logic
- Removed debug console.log statement
- admin.js version is now the single source of truth
- Eliminates maintenance burden of keeping two versions in sync
* Refine user management and address code review feedback
- Preserve PolicyNames in UpdateUserPolicies
- Allow clearing actions in UpdateObjectStoreUser by checking for nil
- Remove version comment from object_store_users.templ
- Refactor loadPolicies for DRYness using cloneNode while keeping DOM API security
* IAM Authorization for Static Access Keys
* verified XSS Fixes in Templates
* fix div
4839 lines
168 KiB
Go
4839 lines
168 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v6.33.1
|
|
// source: mq_broker.proto
|
|
|
|
package mq_pb
|
|
|
|
import (
|
|
filer_pb "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"
|
|
schema_pb "github.com/seaweedfs/seaweedfs/weed/pb/schema_pb"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type FindBrokerLeaderRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FilerGroup string `protobuf:"bytes,1,opt,name=filer_group,json=filerGroup,proto3" json:"filer_group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindBrokerLeaderRequest) Reset() {
|
|
*x = FindBrokerLeaderRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindBrokerLeaderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindBrokerLeaderRequest) ProtoMessage() {}
|
|
|
|
func (x *FindBrokerLeaderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindBrokerLeaderRequest.ProtoReflect.Descriptor instead.
|
|
func (*FindBrokerLeaderRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *FindBrokerLeaderRequest) GetFilerGroup() string {
|
|
if x != nil {
|
|
return x.FilerGroup
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FindBrokerLeaderResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FindBrokerLeaderResponse) Reset() {
|
|
*x = FindBrokerLeaderResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FindBrokerLeaderResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FindBrokerLeaderResponse) ProtoMessage() {}
|
|
|
|
func (x *FindBrokerLeaderResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FindBrokerLeaderResponse.ProtoReflect.Descriptor instead.
|
|
func (*FindBrokerLeaderResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *FindBrokerLeaderResponse) GetBroker() string {
|
|
if x != nil {
|
|
return x.Broker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// ////////////////////////////////////////////////
|
|
type BrokerStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CpuUsagePercent int32 `protobuf:"varint,1,opt,name=cpu_usage_percent,json=cpuUsagePercent,proto3" json:"cpu_usage_percent,omitempty"`
|
|
Stats map[string]*TopicPartitionStats `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BrokerStats) Reset() {
|
|
*x = BrokerStats{}
|
|
mi := &file_mq_broker_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BrokerStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BrokerStats) ProtoMessage() {}
|
|
|
|
func (x *BrokerStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BrokerStats.ProtoReflect.Descriptor instead.
|
|
func (*BrokerStats) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *BrokerStats) GetCpuUsagePercent() int32 {
|
|
if x != nil {
|
|
return x.CpuUsagePercent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BrokerStats) GetStats() map[string]*TopicPartitionStats {
|
|
if x != nil {
|
|
return x.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TopicPartitionStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
PublisherCount int32 `protobuf:"varint,3,opt,name=publisher_count,json=publisherCount,proto3" json:"publisher_count,omitempty"`
|
|
SubscriberCount int32 `protobuf:"varint,4,opt,name=subscriber_count,json=subscriberCount,proto3" json:"subscriber_count,omitempty"`
|
|
Follower string `protobuf:"bytes,5,opt,name=follower,proto3" json:"follower,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TopicPartitionStats) Reset() {
|
|
*x = TopicPartitionStats{}
|
|
mi := &file_mq_broker_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TopicPartitionStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TopicPartitionStats) ProtoMessage() {}
|
|
|
|
func (x *TopicPartitionStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TopicPartitionStats.ProtoReflect.Descriptor instead.
|
|
func (*TopicPartitionStats) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *TopicPartitionStats) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TopicPartitionStats) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TopicPartitionStats) GetPublisherCount() int32 {
|
|
if x != nil {
|
|
return x.PublisherCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicPartitionStats) GetSubscriberCount() int32 {
|
|
if x != nil {
|
|
return x.SubscriberCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicPartitionStats) GetFollower() string {
|
|
if x != nil {
|
|
return x.Follower
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PublisherToPubBalancerRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Message:
|
|
//
|
|
// *PublisherToPubBalancerRequest_Init
|
|
// *PublisherToPubBalancerRequest_Stats
|
|
Message isPublisherToPubBalancerRequest_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerRequest) Reset() {
|
|
*x = PublisherToPubBalancerRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublisherToPubBalancerRequest) ProtoMessage() {}
|
|
|
|
func (x *PublisherToPubBalancerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublisherToPubBalancerRequest.ProtoReflect.Descriptor instead.
|
|
func (*PublisherToPubBalancerRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerRequest) GetMessage() isPublisherToPubBalancerRequest_Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerRequest) GetInit() *PublisherToPubBalancerRequest_InitMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*PublisherToPubBalancerRequest_Init); ok {
|
|
return x.Init
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerRequest) GetStats() *BrokerStats {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*PublisherToPubBalancerRequest_Stats); ok {
|
|
return x.Stats
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isPublisherToPubBalancerRequest_Message interface {
|
|
isPublisherToPubBalancerRequest_Message()
|
|
}
|
|
|
|
type PublisherToPubBalancerRequest_Init struct {
|
|
Init *PublisherToPubBalancerRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
}
|
|
|
|
type PublisherToPubBalancerRequest_Stats struct {
|
|
Stats *BrokerStats `protobuf:"bytes,2,opt,name=stats,proto3,oneof"`
|
|
}
|
|
|
|
func (*PublisherToPubBalancerRequest_Init) isPublisherToPubBalancerRequest_Message() {}
|
|
|
|
func (*PublisherToPubBalancerRequest_Stats) isPublisherToPubBalancerRequest_Message() {}
|
|
|
|
type PublisherToPubBalancerResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerResponse) Reset() {
|
|
*x = PublisherToPubBalancerResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublisherToPubBalancerResponse) ProtoMessage() {}
|
|
|
|
func (x *PublisherToPubBalancerResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublisherToPubBalancerResponse.ProtoReflect.Descriptor instead.
|
|
func (*PublisherToPubBalancerResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type BalanceTopicsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BalanceTopicsRequest) Reset() {
|
|
*x = BalanceTopicsRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BalanceTopicsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BalanceTopicsRequest) ProtoMessage() {}
|
|
|
|
func (x *BalanceTopicsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BalanceTopicsRequest.ProtoReflect.Descriptor instead.
|
|
func (*BalanceTopicsRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type BalanceTopicsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BalanceTopicsResponse) Reset() {
|
|
*x = BalanceTopicsResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BalanceTopicsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BalanceTopicsResponse) ProtoMessage() {}
|
|
|
|
func (x *BalanceTopicsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BalanceTopicsResponse.ProtoReflect.Descriptor instead.
|
|
func (*BalanceTopicsResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
// ////////////////////////////////////////////////
|
|
type TopicRetention struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RetentionSeconds int64 `protobuf:"varint,1,opt,name=retention_seconds,json=retentionSeconds,proto3" json:"retention_seconds,omitempty"` // retention duration in seconds
|
|
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // whether retention is enabled
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TopicRetention) Reset() {
|
|
*x = TopicRetention{}
|
|
mi := &file_mq_broker_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TopicRetention) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TopicRetention) ProtoMessage() {}
|
|
|
|
func (x *TopicRetention) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TopicRetention.ProtoReflect.Descriptor instead.
|
|
func (*TopicRetention) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *TopicRetention) GetRetentionSeconds() int64 {
|
|
if x != nil {
|
|
return x.RetentionSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicRetention) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ConfigureTopicRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
PartitionCount int32 `protobuf:"varint,2,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
|
|
Retention *TopicRetention `protobuf:"bytes,3,opt,name=retention,proto3" json:"retention,omitempty"`
|
|
MessageRecordType *schema_pb.RecordType `protobuf:"bytes,4,opt,name=message_record_type,json=messageRecordType,proto3" json:"message_record_type,omitempty"` // Complete flat schema for the message
|
|
KeyColumns []string `protobuf:"bytes,5,rep,name=key_columns,json=keyColumns,proto3" json:"key_columns,omitempty"` // Names of columns that form the key
|
|
SchemaFormat string `protobuf:"bytes,6,opt,name=schema_format,json=schemaFormat,proto3" json:"schema_format,omitempty"` // Serialization format: "AVRO", "PROTOBUF", "JSON_SCHEMA", or empty for schemaless
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) Reset() {
|
|
*x = ConfigureTopicRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigureTopicRequest) ProtoMessage() {}
|
|
|
|
func (x *ConfigureTopicRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConfigureTopicRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConfigureTopicRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) GetPartitionCount() int32 {
|
|
if x != nil {
|
|
return x.PartitionCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) GetRetention() *TopicRetention {
|
|
if x != nil {
|
|
return x.Retention
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) GetMessageRecordType() *schema_pb.RecordType {
|
|
if x != nil {
|
|
return x.MessageRecordType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) GetKeyColumns() []string {
|
|
if x != nil {
|
|
return x.KeyColumns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) GetSchemaFormat() string {
|
|
if x != nil {
|
|
return x.SchemaFormat
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ConfigureTopicResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
|
|
Retention *TopicRetention `protobuf:"bytes,3,opt,name=retention,proto3" json:"retention,omitempty"`
|
|
MessageRecordType *schema_pb.RecordType `protobuf:"bytes,4,opt,name=message_record_type,json=messageRecordType,proto3" json:"message_record_type,omitempty"` // Complete flat schema for the message
|
|
KeyColumns []string `protobuf:"bytes,5,rep,name=key_columns,json=keyColumns,proto3" json:"key_columns,omitempty"` // Names of columns that form the key
|
|
SchemaFormat string `protobuf:"bytes,6,opt,name=schema_format,json=schemaFormat,proto3" json:"schema_format,omitempty"` // Serialization format: "AVRO", "PROTOBUF", "JSON_SCHEMA", or empty for schemaless
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConfigureTopicResponse) Reset() {
|
|
*x = ConfigureTopicResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConfigureTopicResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfigureTopicResponse) ProtoMessage() {}
|
|
|
|
func (x *ConfigureTopicResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConfigureTopicResponse.ProtoReflect.Descriptor instead.
|
|
func (*ConfigureTopicResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *ConfigureTopicResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
|
|
if x != nil {
|
|
return x.BrokerPartitionAssignments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicResponse) GetRetention() *TopicRetention {
|
|
if x != nil {
|
|
return x.Retention
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicResponse) GetMessageRecordType() *schema_pb.RecordType {
|
|
if x != nil {
|
|
return x.MessageRecordType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicResponse) GetKeyColumns() []string {
|
|
if x != nil {
|
|
return x.KeyColumns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicResponse) GetSchemaFormat() string {
|
|
if x != nil {
|
|
return x.SchemaFormat
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListTopicsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListTopicsRequest) Reset() {
|
|
*x = ListTopicsRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTopicsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTopicsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListTopicsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListTopicsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListTopicsRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type ListTopicsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topics []*schema_pb.Topic `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListTopicsResponse) Reset() {
|
|
*x = ListTopicsResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTopicsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTopicsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListTopicsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListTopicsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListTopicsResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ListTopicsResponse) GetTopics() []*schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topics
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TopicExistsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TopicExistsRequest) Reset() {
|
|
*x = TopicExistsRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TopicExistsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TopicExistsRequest) ProtoMessage() {}
|
|
|
|
func (x *TopicExistsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TopicExistsRequest.ProtoReflect.Descriptor instead.
|
|
func (*TopicExistsRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *TopicExistsRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TopicExistsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TopicExistsResponse) Reset() {
|
|
*x = TopicExistsResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TopicExistsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TopicExistsResponse) ProtoMessage() {}
|
|
|
|
func (x *TopicExistsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TopicExistsResponse.ProtoReflect.Descriptor instead.
|
|
func (*TopicExistsResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *TopicExistsResponse) GetExists() bool {
|
|
if x != nil {
|
|
return x.Exists
|
|
}
|
|
return false
|
|
}
|
|
|
|
type LookupTopicBrokersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupTopicBrokersRequest) Reset() {
|
|
*x = LookupTopicBrokersRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupTopicBrokersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupTopicBrokersRequest) ProtoMessage() {}
|
|
|
|
func (x *LookupTopicBrokersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LookupTopicBrokersRequest.ProtoReflect.Descriptor instead.
|
|
func (*LookupTopicBrokersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *LookupTopicBrokersRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LookupTopicBrokersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupTopicBrokersResponse) Reset() {
|
|
*x = LookupTopicBrokersResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupTopicBrokersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupTopicBrokersResponse) ProtoMessage() {}
|
|
|
|
func (x *LookupTopicBrokersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LookupTopicBrokersResponse.ProtoReflect.Descriptor instead.
|
|
func (*LookupTopicBrokersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *LookupTopicBrokersResponse) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LookupTopicBrokersResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
|
|
if x != nil {
|
|
return x.BrokerPartitionAssignments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BrokerPartitionAssignment struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
LeaderBroker string `protobuf:"bytes,2,opt,name=leader_broker,json=leaderBroker,proto3" json:"leader_broker,omitempty"`
|
|
FollowerBroker string `protobuf:"bytes,3,opt,name=follower_broker,json=followerBroker,proto3" json:"follower_broker,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BrokerPartitionAssignment) Reset() {
|
|
*x = BrokerPartitionAssignment{}
|
|
mi := &file_mq_broker_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BrokerPartitionAssignment) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BrokerPartitionAssignment) ProtoMessage() {}
|
|
|
|
func (x *BrokerPartitionAssignment) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BrokerPartitionAssignment.ProtoReflect.Descriptor instead.
|
|
func (*BrokerPartitionAssignment) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *BrokerPartitionAssignment) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BrokerPartitionAssignment) GetLeaderBroker() string {
|
|
if x != nil {
|
|
return x.LeaderBroker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BrokerPartitionAssignment) GetFollowerBroker() string {
|
|
if x != nil {
|
|
return x.FollowerBroker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTopicConfigurationRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTopicConfigurationRequest) Reset() {
|
|
*x = GetTopicConfigurationRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTopicConfigurationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTopicConfigurationRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTopicConfigurationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTopicConfigurationRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicConfigurationRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetTopicConfigurationRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTopicConfigurationResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
PartitionCount int32 `protobuf:"varint,2,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
|
|
BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,3,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
|
|
CreatedAtNs int64 `protobuf:"varint,4,opt,name=created_at_ns,json=createdAtNs,proto3" json:"created_at_ns,omitempty"`
|
|
LastUpdatedNs int64 `protobuf:"varint,5,opt,name=last_updated_ns,json=lastUpdatedNs,proto3" json:"last_updated_ns,omitempty"`
|
|
Retention *TopicRetention `protobuf:"bytes,6,opt,name=retention,proto3" json:"retention,omitempty"`
|
|
MessageRecordType *schema_pb.RecordType `protobuf:"bytes,7,opt,name=message_record_type,json=messageRecordType,proto3" json:"message_record_type,omitempty"` // Complete flat schema for the message
|
|
KeyColumns []string `protobuf:"bytes,8,rep,name=key_columns,json=keyColumns,proto3" json:"key_columns,omitempty"` // Names of columns that form the key
|
|
SchemaFormat string `protobuf:"bytes,9,opt,name=schema_format,json=schemaFormat,proto3" json:"schema_format,omitempty"` // Serialization format: "AVRO", "PROTOBUF", "JSON_SCHEMA", or empty for schemaless
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) Reset() {
|
|
*x = GetTopicConfigurationResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTopicConfigurationResponse) ProtoMessage() {}
|
|
|
|
func (x *GetTopicConfigurationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTopicConfigurationResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicConfigurationResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetPartitionCount() int32 {
|
|
if x != nil {
|
|
return x.PartitionCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
|
|
if x != nil {
|
|
return x.BrokerPartitionAssignments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetCreatedAtNs() int64 {
|
|
if x != nil {
|
|
return x.CreatedAtNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetLastUpdatedNs() int64 {
|
|
if x != nil {
|
|
return x.LastUpdatedNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetRetention() *TopicRetention {
|
|
if x != nil {
|
|
return x.Retention
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetMessageRecordType() *schema_pb.RecordType {
|
|
if x != nil {
|
|
return x.MessageRecordType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetKeyColumns() []string {
|
|
if x != nil {
|
|
return x.KeyColumns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) GetSchemaFormat() string {
|
|
if x != nil {
|
|
return x.SchemaFormat
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTopicPublishersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTopicPublishersRequest) Reset() {
|
|
*x = GetTopicPublishersRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTopicPublishersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTopicPublishersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTopicPublishersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTopicPublishersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicPublishersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *GetTopicPublishersRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTopicPublishersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Publishers []*TopicPublisher `protobuf:"bytes,1,rep,name=publishers,proto3" json:"publishers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTopicPublishersResponse) Reset() {
|
|
*x = GetTopicPublishersResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTopicPublishersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTopicPublishersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetTopicPublishersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTopicPublishersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicPublishersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *GetTopicPublishersResponse) GetPublishers() []*TopicPublisher {
|
|
if x != nil {
|
|
return x.Publishers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTopicSubscribersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTopicSubscribersRequest) Reset() {
|
|
*x = GetTopicSubscribersRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTopicSubscribersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTopicSubscribersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTopicSubscribersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTopicSubscribersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicSubscribersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *GetTopicSubscribersRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTopicSubscribersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Subscribers []*TopicSubscriber `protobuf:"bytes,1,rep,name=subscribers,proto3" json:"subscribers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTopicSubscribersResponse) Reset() {
|
|
*x = GetTopicSubscribersResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTopicSubscribersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTopicSubscribersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetTopicSubscribersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTopicSubscribersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicSubscribersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *GetTopicSubscribersResponse) GetSubscribers() []*TopicSubscriber {
|
|
if x != nil {
|
|
return x.Subscribers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TopicPublisher struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PublisherName string `protobuf:"bytes,1,opt,name=publisher_name,json=publisherName,proto3" json:"publisher_name,omitempty"`
|
|
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
ConnectTimeNs int64 `protobuf:"varint,4,opt,name=connect_time_ns,json=connectTimeNs,proto3" json:"connect_time_ns,omitempty"`
|
|
LastSeenTimeNs int64 `protobuf:"varint,5,opt,name=last_seen_time_ns,json=lastSeenTimeNs,proto3" json:"last_seen_time_ns,omitempty"`
|
|
Broker string `protobuf:"bytes,6,opt,name=broker,proto3" json:"broker,omitempty"`
|
|
IsActive bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
|
|
LastPublishedOffset int64 `protobuf:"varint,8,opt,name=last_published_offset,json=lastPublishedOffset,proto3" json:"last_published_offset,omitempty"`
|
|
LastAckedOffset int64 `protobuf:"varint,9,opt,name=last_acked_offset,json=lastAckedOffset,proto3" json:"last_acked_offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TopicPublisher) Reset() {
|
|
*x = TopicPublisher{}
|
|
mi := &file_mq_broker_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TopicPublisher) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TopicPublisher) ProtoMessage() {}
|
|
|
|
func (x *TopicPublisher) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TopicPublisher.ProtoReflect.Descriptor instead.
|
|
func (*TopicPublisher) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *TopicPublisher) GetPublisherName() string {
|
|
if x != nil {
|
|
return x.PublisherName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TopicPublisher) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TopicPublisher) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TopicPublisher) GetConnectTimeNs() int64 {
|
|
if x != nil {
|
|
return x.ConnectTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicPublisher) GetLastSeenTimeNs() int64 {
|
|
if x != nil {
|
|
return x.LastSeenTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicPublisher) GetBroker() string {
|
|
if x != nil {
|
|
return x.Broker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TopicPublisher) GetIsActive() bool {
|
|
if x != nil {
|
|
return x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *TopicPublisher) GetLastPublishedOffset() int64 {
|
|
if x != nil {
|
|
return x.LastPublishedOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicPublisher) GetLastAckedOffset() int64 {
|
|
if x != nil {
|
|
return x.LastAckedOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TopicSubscriber struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
|
|
ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
|
|
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,4,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
ConnectTimeNs int64 `protobuf:"varint,5,opt,name=connect_time_ns,json=connectTimeNs,proto3" json:"connect_time_ns,omitempty"`
|
|
LastSeenTimeNs int64 `protobuf:"varint,6,opt,name=last_seen_time_ns,json=lastSeenTimeNs,proto3" json:"last_seen_time_ns,omitempty"`
|
|
Broker string `protobuf:"bytes,7,opt,name=broker,proto3" json:"broker,omitempty"`
|
|
IsActive bool `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
|
|
CurrentOffset int64 `protobuf:"varint,9,opt,name=current_offset,json=currentOffset,proto3" json:"current_offset,omitempty"` // last acknowledged offset
|
|
LastReceivedOffset int64 `protobuf:"varint,10,opt,name=last_received_offset,json=lastReceivedOffset,proto3" json:"last_received_offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TopicSubscriber) Reset() {
|
|
*x = TopicSubscriber{}
|
|
mi := &file_mq_broker_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TopicSubscriber) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TopicSubscriber) ProtoMessage() {}
|
|
|
|
func (x *TopicSubscriber) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TopicSubscriber.ProtoReflect.Descriptor instead.
|
|
func (*TopicSubscriber) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetConsumerGroup() string {
|
|
if x != nil {
|
|
return x.ConsumerGroup
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetConsumerId() string {
|
|
if x != nil {
|
|
return x.ConsumerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetConnectTimeNs() int64 {
|
|
if x != nil {
|
|
return x.ConnectTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetLastSeenTimeNs() int64 {
|
|
if x != nil {
|
|
return x.LastSeenTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetBroker() string {
|
|
if x != nil {
|
|
return x.Broker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetIsActive() bool {
|
|
if x != nil {
|
|
return x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetCurrentOffset() int64 {
|
|
if x != nil {
|
|
return x.CurrentOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TopicSubscriber) GetLastReceivedOffset() int64 {
|
|
if x != nil {
|
|
return x.LastReceivedOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AssignTopicPartitionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,2,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
|
|
IsLeader bool `protobuf:"varint,3,opt,name=is_leader,json=isLeader,proto3" json:"is_leader,omitempty"`
|
|
IsDraining bool `protobuf:"varint,4,opt,name=is_draining,json=isDraining,proto3" json:"is_draining,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AssignTopicPartitionsRequest) Reset() {
|
|
*x = AssignTopicPartitionsRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AssignTopicPartitionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AssignTopicPartitionsRequest) ProtoMessage() {}
|
|
|
|
func (x *AssignTopicPartitionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AssignTopicPartitionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*AssignTopicPartitionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *AssignTopicPartitionsRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AssignTopicPartitionsRequest) GetBrokerPartitionAssignments() []*BrokerPartitionAssignment {
|
|
if x != nil {
|
|
return x.BrokerPartitionAssignments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AssignTopicPartitionsRequest) GetIsLeader() bool {
|
|
if x != nil {
|
|
return x.IsLeader
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AssignTopicPartitionsRequest) GetIsDraining() bool {
|
|
if x != nil {
|
|
return x.IsDraining
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AssignTopicPartitionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AssignTopicPartitionsResponse) Reset() {
|
|
*x = AssignTopicPartitionsResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AssignTopicPartitionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AssignTopicPartitionsResponse) ProtoMessage() {}
|
|
|
|
func (x *AssignTopicPartitionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AssignTopicPartitionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*AssignTopicPartitionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Message:
|
|
//
|
|
// *SubscriberToSubCoordinatorRequest_Init
|
|
// *SubscriberToSubCoordinatorRequest_AckAssignment
|
|
// *SubscriberToSubCoordinatorRequest_AckUnAssignment
|
|
Message isSubscriberToSubCoordinatorRequest_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest) Reset() {
|
|
*x = SubscriberToSubCoordinatorRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest) GetMessage() isSubscriberToSubCoordinatorRequest_Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest) GetInit() *SubscriberToSubCoordinatorRequest_InitMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscriberToSubCoordinatorRequest_Init); ok {
|
|
return x.Init
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest) GetAckAssignment() *SubscriberToSubCoordinatorRequest_AckAssignmentMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscriberToSubCoordinatorRequest_AckAssignment); ok {
|
|
return x.AckAssignment
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest) GetAckUnAssignment() *SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscriberToSubCoordinatorRequest_AckUnAssignment); ok {
|
|
return x.AckUnAssignment
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSubscriberToSubCoordinatorRequest_Message interface {
|
|
isSubscriberToSubCoordinatorRequest_Message()
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorRequest_Init struct {
|
|
Init *SubscriberToSubCoordinatorRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorRequest_AckAssignment struct {
|
|
AckAssignment *SubscriberToSubCoordinatorRequest_AckAssignmentMessage `protobuf:"bytes,2,opt,name=ack_assignment,json=ackAssignment,proto3,oneof"`
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorRequest_AckUnAssignment struct {
|
|
AckUnAssignment *SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage `protobuf:"bytes,3,opt,name=ack_un_assignment,json=ackUnAssignment,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_Init) isSubscriberToSubCoordinatorRequest_Message() {}
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_AckAssignment) isSubscriberToSubCoordinatorRequest_Message() {
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_AckUnAssignment) isSubscriberToSubCoordinatorRequest_Message() {
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Message:
|
|
//
|
|
// *SubscriberToSubCoordinatorResponse_Assignment_
|
|
// *SubscriberToSubCoordinatorResponse_UnAssignment_
|
|
Message isSubscriberToSubCoordinatorResponse_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse) Reset() {
|
|
*x = SubscriberToSubCoordinatorResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse) GetMessage() isSubscriberToSubCoordinatorResponse_Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse) GetAssignment() *SubscriberToSubCoordinatorResponse_Assignment {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscriberToSubCoordinatorResponse_Assignment_); ok {
|
|
return x.Assignment
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse) GetUnAssignment() *SubscriberToSubCoordinatorResponse_UnAssignment {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscriberToSubCoordinatorResponse_UnAssignment_); ok {
|
|
return x.UnAssignment
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSubscriberToSubCoordinatorResponse_Message interface {
|
|
isSubscriberToSubCoordinatorResponse_Message()
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorResponse_Assignment_ struct {
|
|
Assignment *SubscriberToSubCoordinatorResponse_Assignment `protobuf:"bytes,1,opt,name=assignment,proto3,oneof"`
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorResponse_UnAssignment_ struct {
|
|
UnAssignment *SubscriberToSubCoordinatorResponse_UnAssignment `protobuf:"bytes,2,opt,name=un_assignment,json=unAssignment,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorResponse_Assignment_) isSubscriberToSubCoordinatorResponse_Message() {
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorResponse_UnAssignment_) isSubscriberToSubCoordinatorResponse_Message() {
|
|
}
|
|
|
|
// ////////////////////////////////////////////////
|
|
type ControlMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
IsClose bool `protobuf:"varint,1,opt,name=is_close,json=isClose,proto3" json:"is_close,omitempty"`
|
|
PublisherName string `protobuf:"bytes,2,opt,name=publisher_name,json=publisherName,proto3" json:"publisher_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ControlMessage) Reset() {
|
|
*x = ControlMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ControlMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ControlMessage) ProtoMessage() {}
|
|
|
|
func (x *ControlMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ControlMessage.ProtoReflect.Descriptor instead.
|
|
func (*ControlMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *ControlMessage) GetIsClose() bool {
|
|
if x != nil {
|
|
return x.IsClose
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ControlMessage) GetPublisherName() string {
|
|
if x != nil {
|
|
return x.PublisherName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DataMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
TsNs int64 `protobuf:"varint,3,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
|
|
Ctrl *ControlMessage `protobuf:"bytes,4,opt,name=ctrl,proto3" json:"ctrl,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DataMessage) Reset() {
|
|
*x = DataMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DataMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DataMessage) ProtoMessage() {}
|
|
|
|
func (x *DataMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DataMessage.ProtoReflect.Descriptor instead.
|
|
func (*DataMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *DataMessage) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DataMessage) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DataMessage) GetTsNs() int64 {
|
|
if x != nil {
|
|
return x.TsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataMessage) GetCtrl() *ControlMessage {
|
|
if x != nil {
|
|
return x.Ctrl
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PublishMessageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Message:
|
|
//
|
|
// *PublishMessageRequest_Init
|
|
// *PublishMessageRequest_Data
|
|
Message isPublishMessageRequest_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishMessageRequest) Reset() {
|
|
*x = PublishMessageRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *PublishMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*PublishMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *PublishMessageRequest) GetMessage() isPublishMessageRequest_Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishMessageRequest) GetInit() *PublishMessageRequest_InitMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*PublishMessageRequest_Init); ok {
|
|
return x.Init
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishMessageRequest) GetData() *DataMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*PublishMessageRequest_Data); ok {
|
|
return x.Data
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isPublishMessageRequest_Message interface {
|
|
isPublishMessageRequest_Message()
|
|
}
|
|
|
|
type PublishMessageRequest_Init struct {
|
|
Init *PublishMessageRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
}
|
|
|
|
type PublishMessageRequest_Data struct {
|
|
Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
|
|
}
|
|
|
|
func (*PublishMessageRequest_Init) isPublishMessageRequest_Message() {}
|
|
|
|
func (*PublishMessageRequest_Data) isPublishMessageRequest_Message() {}
|
|
|
|
type PublishMessageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AckTsNs int64 `protobuf:"varint,1,opt,name=ack_ts_ns,json=ackTsNs,proto3" json:"ack_ts_ns,omitempty"` // Acknowledgment timestamp in nanoseconds
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
ShouldClose bool `protobuf:"varint,3,opt,name=should_close,json=shouldClose,proto3" json:"should_close,omitempty"`
|
|
ErrorCode int32 `protobuf:"varint,4,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` // Structured error code for reliable error mapping
|
|
AssignedOffset int64 `protobuf:"varint,5,opt,name=assigned_offset,json=assignedOffset,proto3" json:"assigned_offset,omitempty"` // The actual offset assigned by SeaweedMQ for this message
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishMessageResponse) Reset() {
|
|
*x = PublishMessageResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *PublishMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*PublishMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *PublishMessageResponse) GetAckTsNs() int64 {
|
|
if x != nil {
|
|
return x.AckTsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PublishMessageResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishMessageResponse) GetShouldClose() bool {
|
|
if x != nil {
|
|
return x.ShouldClose
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PublishMessageResponse) GetErrorCode() int32 {
|
|
if x != nil {
|
|
return x.ErrorCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PublishMessageResponse) GetAssignedOffset() int64 {
|
|
if x != nil {
|
|
return x.AssignedOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PublishFollowMeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Message:
|
|
//
|
|
// *PublishFollowMeRequest_Init
|
|
// *PublishFollowMeRequest_Data
|
|
// *PublishFollowMeRequest_Flush
|
|
// *PublishFollowMeRequest_Close
|
|
Message isPublishFollowMeRequest_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest) Reset() {
|
|
*x = PublishFollowMeRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishFollowMeRequest) ProtoMessage() {}
|
|
|
|
func (x *PublishFollowMeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishFollowMeRequest.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest) GetMessage() isPublishFollowMeRequest_Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest) GetInit() *PublishFollowMeRequest_InitMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*PublishFollowMeRequest_Init); ok {
|
|
return x.Init
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest) GetData() *DataMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*PublishFollowMeRequest_Data); ok {
|
|
return x.Data
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest) GetFlush() *PublishFollowMeRequest_FlushMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*PublishFollowMeRequest_Flush); ok {
|
|
return x.Flush
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest) GetClose() *PublishFollowMeRequest_CloseMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*PublishFollowMeRequest_Close); ok {
|
|
return x.Close
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isPublishFollowMeRequest_Message interface {
|
|
isPublishFollowMeRequest_Message()
|
|
}
|
|
|
|
type PublishFollowMeRequest_Init struct {
|
|
Init *PublishFollowMeRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
}
|
|
|
|
type PublishFollowMeRequest_Data struct {
|
|
Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
|
|
}
|
|
|
|
type PublishFollowMeRequest_Flush struct {
|
|
Flush *PublishFollowMeRequest_FlushMessage `protobuf:"bytes,3,opt,name=flush,proto3,oneof"`
|
|
}
|
|
|
|
type PublishFollowMeRequest_Close struct {
|
|
Close *PublishFollowMeRequest_CloseMessage `protobuf:"bytes,4,opt,name=close,proto3,oneof"`
|
|
}
|
|
|
|
func (*PublishFollowMeRequest_Init) isPublishFollowMeRequest_Message() {}
|
|
|
|
func (*PublishFollowMeRequest_Data) isPublishFollowMeRequest_Message() {}
|
|
|
|
func (*PublishFollowMeRequest_Flush) isPublishFollowMeRequest_Message() {}
|
|
|
|
func (*PublishFollowMeRequest_Close) isPublishFollowMeRequest_Message() {}
|
|
|
|
type PublishFollowMeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AckTsNs int64 `protobuf:"varint,1,opt,name=ack_ts_ns,json=ackTsNs,proto3" json:"ack_ts_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishFollowMeResponse) Reset() {
|
|
*x = PublishFollowMeResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishFollowMeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishFollowMeResponse) ProtoMessage() {}
|
|
|
|
func (x *PublishFollowMeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishFollowMeResponse.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *PublishFollowMeResponse) GetAckTsNs() int64 {
|
|
if x != nil {
|
|
return x.AckTsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SubscribeMessageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Message:
|
|
//
|
|
// *SubscribeMessageRequest_Init
|
|
// *SubscribeMessageRequest_Ack
|
|
// *SubscribeMessageRequest_Seek
|
|
Message isSubscribeMessageRequest_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest) Reset() {
|
|
*x = SubscribeMessageRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest) GetMessage() isSubscribeMessageRequest_Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest) GetInit() *SubscribeMessageRequest_InitMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscribeMessageRequest_Init); ok {
|
|
return x.Init
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest) GetAck() *SubscribeMessageRequest_AckMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscribeMessageRequest_Ack); ok {
|
|
return x.Ack
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest) GetSeek() *SubscribeMessageRequest_SeekMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscribeMessageRequest_Seek); ok {
|
|
return x.Seek
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSubscribeMessageRequest_Message interface {
|
|
isSubscribeMessageRequest_Message()
|
|
}
|
|
|
|
type SubscribeMessageRequest_Init struct {
|
|
Init *SubscribeMessageRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
}
|
|
|
|
type SubscribeMessageRequest_Ack struct {
|
|
Ack *SubscribeMessageRequest_AckMessage `protobuf:"bytes,2,opt,name=ack,proto3,oneof"`
|
|
}
|
|
|
|
type SubscribeMessageRequest_Seek struct {
|
|
Seek *SubscribeMessageRequest_SeekMessage `protobuf:"bytes,3,opt,name=seek,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubscribeMessageRequest_Init) isSubscribeMessageRequest_Message() {}
|
|
|
|
func (*SubscribeMessageRequest_Ack) isSubscribeMessageRequest_Message() {}
|
|
|
|
func (*SubscribeMessageRequest_Seek) isSubscribeMessageRequest_Message() {}
|
|
|
|
type SubscribeMessageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Message:
|
|
//
|
|
// *SubscribeMessageResponse_Ctrl
|
|
// *SubscribeMessageResponse_Data
|
|
Message isSubscribeMessageResponse_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse) Reset() {
|
|
*x = SubscribeMessageResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse) GetMessage() isSubscribeMessageResponse_Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse) GetCtrl() *SubscribeMessageResponse_SubscribeCtrlMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscribeMessageResponse_Ctrl); ok {
|
|
return x.Ctrl
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse) GetData() *DataMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscribeMessageResponse_Data); ok {
|
|
return x.Data
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSubscribeMessageResponse_Message interface {
|
|
isSubscribeMessageResponse_Message()
|
|
}
|
|
|
|
type SubscribeMessageResponse_Ctrl struct {
|
|
Ctrl *SubscribeMessageResponse_SubscribeCtrlMessage `protobuf:"bytes,1,opt,name=ctrl,proto3,oneof"`
|
|
}
|
|
|
|
type SubscribeMessageResponse_Data struct {
|
|
Data *DataMessage `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubscribeMessageResponse_Ctrl) isSubscribeMessageResponse_Message() {}
|
|
|
|
func (*SubscribeMessageResponse_Data) isSubscribeMessageResponse_Message() {}
|
|
|
|
type SubscribeFollowMeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Message:
|
|
//
|
|
// *SubscribeFollowMeRequest_Init
|
|
// *SubscribeFollowMeRequest_Ack
|
|
// *SubscribeFollowMeRequest_Close
|
|
Message isSubscribeFollowMeRequest_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest) Reset() {
|
|
*x = SubscribeFollowMeRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeFollowMeRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscribeFollowMeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeFollowMeRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest) GetMessage() isSubscribeFollowMeRequest_Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest) GetInit() *SubscribeFollowMeRequest_InitMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscribeFollowMeRequest_Init); ok {
|
|
return x.Init
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest) GetAck() *SubscribeFollowMeRequest_AckMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscribeFollowMeRequest_Ack); ok {
|
|
return x.Ack
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest) GetClose() *SubscribeFollowMeRequest_CloseMessage {
|
|
if x != nil {
|
|
if x, ok := x.Message.(*SubscribeFollowMeRequest_Close); ok {
|
|
return x.Close
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isSubscribeFollowMeRequest_Message interface {
|
|
isSubscribeFollowMeRequest_Message()
|
|
}
|
|
|
|
type SubscribeFollowMeRequest_Init struct {
|
|
Init *SubscribeFollowMeRequest_InitMessage `protobuf:"bytes,1,opt,name=init,proto3,oneof"`
|
|
}
|
|
|
|
type SubscribeFollowMeRequest_Ack struct {
|
|
Ack *SubscribeFollowMeRequest_AckMessage `protobuf:"bytes,2,opt,name=ack,proto3,oneof"`
|
|
}
|
|
|
|
type SubscribeFollowMeRequest_Close struct {
|
|
Close *SubscribeFollowMeRequest_CloseMessage `protobuf:"bytes,3,opt,name=close,proto3,oneof"`
|
|
}
|
|
|
|
func (*SubscribeFollowMeRequest_Init) isSubscribeFollowMeRequest_Message() {}
|
|
|
|
func (*SubscribeFollowMeRequest_Ack) isSubscribeFollowMeRequest_Message() {}
|
|
|
|
func (*SubscribeFollowMeRequest_Close) isSubscribeFollowMeRequest_Message() {}
|
|
|
|
type SubscribeFollowMeResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AckTsNs int64 `protobuf:"varint,1,opt,name=ack_ts_ns,json=ackTsNs,proto3" json:"ack_ts_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeFollowMeResponse) Reset() {
|
|
*x = SubscribeFollowMeResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeFollowMeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeFollowMeResponse) ProtoMessage() {}
|
|
|
|
func (x *SubscribeFollowMeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeFollowMeResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *SubscribeFollowMeResponse) GetAckTsNs() int64 {
|
|
if x != nil {
|
|
return x.AckTsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FetchMessageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Topic and partition to fetch from
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
// Starting offset for this fetch
|
|
StartOffset int64 `protobuf:"varint,3,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
|
|
// Maximum number of bytes to return (limit response size)
|
|
MaxBytes int32 `protobuf:"varint,4,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
|
|
// Maximum number of messages to return
|
|
MaxMessages int32 `protobuf:"varint,5,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"`
|
|
// Maximum time to wait for data if partition is empty (milliseconds)
|
|
// 0 = return immediately, >0 = wait up to this long
|
|
MaxWaitMs int32 `protobuf:"varint,6,opt,name=max_wait_ms,json=maxWaitMs,proto3" json:"max_wait_ms,omitempty"`
|
|
// Minimum bytes before responding (0 = respond immediately)
|
|
// This allows batching for efficiency
|
|
MinBytes int32 `protobuf:"varint,7,opt,name=min_bytes,json=minBytes,proto3" json:"min_bytes,omitempty"`
|
|
// Consumer identity (for monitoring/debugging)
|
|
ConsumerGroup string `protobuf:"bytes,8,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
|
|
ConsumerId string `protobuf:"bytes,9,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FetchMessageRequest) Reset() {
|
|
*x = FetchMessageRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FetchMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *FetchMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*FetchMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetStartOffset() int64 {
|
|
if x != nil {
|
|
return x.StartOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetMaxBytes() int32 {
|
|
if x != nil {
|
|
return x.MaxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetMaxMessages() int32 {
|
|
if x != nil {
|
|
return x.MaxMessages
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetMaxWaitMs() int32 {
|
|
if x != nil {
|
|
return x.MaxWaitMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetMinBytes() int32 {
|
|
if x != nil {
|
|
return x.MinBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetConsumerGroup() string {
|
|
if x != nil {
|
|
return x.ConsumerGroup
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchMessageRequest) GetConsumerId() string {
|
|
if x != nil {
|
|
return x.ConsumerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FetchMessageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Messages fetched (may be empty if no data available)
|
|
Messages []*DataMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
// Metadata about partition state
|
|
HighWaterMark int64 `protobuf:"varint,2,opt,name=high_water_mark,json=highWaterMark,proto3" json:"high_water_mark,omitempty"` // Highest offset available
|
|
LogStartOffset int64 `protobuf:"varint,3,opt,name=log_start_offset,json=logStartOffset,proto3" json:"log_start_offset,omitempty"` // Earliest offset available
|
|
EndOfPartition bool `protobuf:"varint,4,opt,name=end_of_partition,json=endOfPartition,proto3" json:"end_of_partition,omitempty"` // True if no more data available
|
|
// Error handling
|
|
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
|
|
ErrorCode int32 `protobuf:"varint,6,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
|
|
// Next offset to fetch (for client convenience)
|
|
// Client should fetch from this offset next
|
|
NextOffset int64 `protobuf:"varint,7,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FetchMessageResponse) Reset() {
|
|
*x = FetchMessageResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FetchMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FetchMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *FetchMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FetchMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*FetchMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *FetchMessageResponse) GetMessages() []*DataMessage {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FetchMessageResponse) GetHighWaterMark() int64 {
|
|
if x != nil {
|
|
return x.HighWaterMark
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessageResponse) GetLogStartOffset() int64 {
|
|
if x != nil {
|
|
return x.LogStartOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessageResponse) GetEndOfPartition() bool {
|
|
if x != nil {
|
|
return x.EndOfPartition
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FetchMessageResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FetchMessageResponse) GetErrorCode() int32 {
|
|
if x != nil {
|
|
return x.ErrorCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FetchMessageResponse) GetNextOffset() int64 {
|
|
if x != nil {
|
|
return x.NextOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ClosePublishersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
UnixTimeNs int64 `protobuf:"varint,2,opt,name=unix_time_ns,json=unixTimeNs,proto3" json:"unix_time_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClosePublishersRequest) Reset() {
|
|
*x = ClosePublishersRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClosePublishersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClosePublishersRequest) ProtoMessage() {}
|
|
|
|
func (x *ClosePublishersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClosePublishersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClosePublishersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *ClosePublishersRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ClosePublishersRequest) GetUnixTimeNs() int64 {
|
|
if x != nil {
|
|
return x.UnixTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ClosePublishersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ClosePublishersResponse) Reset() {
|
|
*x = ClosePublishersResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ClosePublishersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClosePublishersResponse) ProtoMessage() {}
|
|
|
|
func (x *ClosePublishersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ClosePublishersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClosePublishersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
type CloseSubscribersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
UnixTimeNs int64 `protobuf:"varint,2,opt,name=unix_time_ns,json=unixTimeNs,proto3" json:"unix_time_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CloseSubscribersRequest) Reset() {
|
|
*x = CloseSubscribersRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CloseSubscribersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CloseSubscribersRequest) ProtoMessage() {}
|
|
|
|
func (x *CloseSubscribersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CloseSubscribersRequest.ProtoReflect.Descriptor instead.
|
|
func (*CloseSubscribersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *CloseSubscribersRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CloseSubscribersRequest) GetUnixTimeNs() int64 {
|
|
if x != nil {
|
|
return x.UnixTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CloseSubscribersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CloseSubscribersResponse) Reset() {
|
|
*x = CloseSubscribersResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CloseSubscribersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CloseSubscribersResponse) ProtoMessage() {}
|
|
|
|
func (x *CloseSubscribersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CloseSubscribersResponse.ProtoReflect.Descriptor instead.
|
|
func (*CloseSubscribersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
type GetUnflushedMessagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
StartBufferOffset int64 `protobuf:"varint,3,opt,name=start_buffer_offset,json=startBufferOffset,proto3" json:"start_buffer_offset,omitempty"` // Filter by buffer offset (messages from buffers >= this offset)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesRequest) Reset() {
|
|
*x = GetUnflushedMessagesRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUnflushedMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *GetUnflushedMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUnflushedMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetUnflushedMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesRequest) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesRequest) GetStartBufferOffset() int64 {
|
|
if x != nil {
|
|
return x.StartBufferOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetUnflushedMessagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Message *filer_pb.LogEntry `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // Single message per response (streaming)
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Error message if any
|
|
EndOfStream bool `protobuf:"varint,3,opt,name=end_of_stream,json=endOfStream,proto3" json:"end_of_stream,omitempty"` // Indicates this is the final response
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesResponse) Reset() {
|
|
*x = GetUnflushedMessagesResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUnflushedMessagesResponse) ProtoMessage() {}
|
|
|
|
func (x *GetUnflushedMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetUnflushedMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetUnflushedMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesResponse) GetMessage() *filer_pb.LogEntry {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesResponse) GetEndOfStream() bool {
|
|
if x != nil {
|
|
return x.EndOfStream
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetPartitionRangeInfoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoRequest) Reset() {
|
|
*x = GetPartitionRangeInfoRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPartitionRangeInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPartitionRangeInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPartitionRangeInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPartitionRangeInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoRequest) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoRequest) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPartitionRangeInfoResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Offset range information
|
|
OffsetRange *OffsetRangeInfo `protobuf:"bytes,1,opt,name=offset_range,json=offsetRange,proto3" json:"offset_range,omitempty"`
|
|
// Timestamp range information
|
|
TimestampRange *TimestampRangeInfo `protobuf:"bytes,2,opt,name=timestamp_range,json=timestampRange,proto3" json:"timestamp_range,omitempty"`
|
|
// Partition metadata
|
|
RecordCount int64 `protobuf:"varint,10,opt,name=record_count,json=recordCount,proto3" json:"record_count,omitempty"`
|
|
ActiveSubscriptions int64 `protobuf:"varint,11,opt,name=active_subscriptions,json=activeSubscriptions,proto3" json:"active_subscriptions,omitempty"`
|
|
Error string `protobuf:"bytes,12,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoResponse) Reset() {
|
|
*x = GetPartitionRangeInfoResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPartitionRangeInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPartitionRangeInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetPartitionRangeInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPartitionRangeInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoResponse) GetOffsetRange() *OffsetRangeInfo {
|
|
if x != nil {
|
|
return x.OffsetRange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoResponse) GetTimestampRange() *TimestampRangeInfo {
|
|
if x != nil {
|
|
return x.TimestampRange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoResponse) GetRecordCount() int64 {
|
|
if x != nil {
|
|
return x.RecordCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoResponse) GetActiveSubscriptions() int64 {
|
|
if x != nil {
|
|
return x.ActiveSubscriptions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetPartitionRangeInfoResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OffsetRangeInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
EarliestOffset int64 `protobuf:"varint,1,opt,name=earliest_offset,json=earliestOffset,proto3" json:"earliest_offset,omitempty"`
|
|
LatestOffset int64 `protobuf:"varint,2,opt,name=latest_offset,json=latestOffset,proto3" json:"latest_offset,omitempty"`
|
|
HighWaterMark int64 `protobuf:"varint,3,opt,name=high_water_mark,json=highWaterMark,proto3" json:"high_water_mark,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OffsetRangeInfo) Reset() {
|
|
*x = OffsetRangeInfo{}
|
|
mi := &file_mq_broker_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OffsetRangeInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OffsetRangeInfo) ProtoMessage() {}
|
|
|
|
func (x *OffsetRangeInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OffsetRangeInfo.ProtoReflect.Descriptor instead.
|
|
func (*OffsetRangeInfo) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *OffsetRangeInfo) GetEarliestOffset() int64 {
|
|
if x != nil {
|
|
return x.EarliestOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OffsetRangeInfo) GetLatestOffset() int64 {
|
|
if x != nil {
|
|
return x.LatestOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OffsetRangeInfo) GetHighWaterMark() int64 {
|
|
if x != nil {
|
|
return x.HighWaterMark
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TimestampRangeInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
EarliestTimestampNs int64 `protobuf:"varint,1,opt,name=earliest_timestamp_ns,json=earliestTimestampNs,proto3" json:"earliest_timestamp_ns,omitempty"` // Earliest message timestamp in nanoseconds
|
|
LatestTimestampNs int64 `protobuf:"varint,2,opt,name=latest_timestamp_ns,json=latestTimestampNs,proto3" json:"latest_timestamp_ns,omitempty"` // Latest message timestamp in nanoseconds
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TimestampRangeInfo) Reset() {
|
|
*x = TimestampRangeInfo{}
|
|
mi := &file_mq_broker_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TimestampRangeInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TimestampRangeInfo) ProtoMessage() {}
|
|
|
|
func (x *TimestampRangeInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TimestampRangeInfo.ProtoReflect.Descriptor instead.
|
|
func (*TimestampRangeInfo) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *TimestampRangeInfo) GetEarliestTimestampNs() int64 {
|
|
if x != nil {
|
|
return x.EarliestTimestampNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TimestampRangeInfo) GetLatestTimestampNs() int64 {
|
|
if x != nil {
|
|
return x.LatestTimestampNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PublisherToPubBalancerRequest_InitMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Broker string `protobuf:"bytes,1,opt,name=broker,proto3" json:"broker,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerRequest_InitMessage) Reset() {
|
|
*x = PublisherToPubBalancerRequest_InitMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerRequest_InitMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublisherToPubBalancerRequest_InitMessage) ProtoMessage() {}
|
|
|
|
func (x *PublisherToPubBalancerRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublisherToPubBalancerRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*PublisherToPubBalancerRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{4, 0}
|
|
}
|
|
|
|
func (x *PublisherToPubBalancerRequest_InitMessage) GetBroker() string {
|
|
if x != nil {
|
|
return x.Broker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorRequest_InitMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
|
|
ConsumerGroupInstanceId string `protobuf:"bytes,2,opt,name=consumer_group_instance_id,json=consumerGroupInstanceId,proto3" json:"consumer_group_instance_id,omitempty"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
// The consumer group instance will be assigned at most max_partition_count partitions.
|
|
// If the number of partitions is less than the sum of max_partition_count,
|
|
// the consumer group instance may be assigned partitions less than max_partition_count.
|
|
// Default is 1.
|
|
MaxPartitionCount int32 `protobuf:"varint,4,opt,name=max_partition_count,json=maxPartitionCount,proto3" json:"max_partition_count,omitempty"`
|
|
// If consumer group instance changes, wait for rebalance_seconds before reassigning partitions
|
|
// Exception: if adding a new consumer group instance and sum of max_partition_count equals the number of partitions,
|
|
// the rebalance will happen immediately.
|
|
// Default is 10 seconds.
|
|
RebalanceSeconds int32 `protobuf:"varint,5,opt,name=rebalance_seconds,json=rebalanceSeconds,proto3" json:"rebalance_seconds,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) Reset() {
|
|
*x = SubscriberToSubCoordinatorRequest_InitMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_InitMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{28, 0}
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) GetConsumerGroup() string {
|
|
if x != nil {
|
|
return x.ConsumerGroup
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) GetConsumerGroupInstanceId() string {
|
|
if x != nil {
|
|
return x.ConsumerGroupInstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) GetMaxPartitionCount() int32 {
|
|
if x != nil {
|
|
return x.MaxPartitionCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_InitMessage) GetRebalanceSeconds() int32 {
|
|
if x != nil {
|
|
return x.RebalanceSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage) Reset() {
|
|
*x = SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{28, 1}
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorRequest_AckAssignmentMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckAssignmentMessage) Reset() {
|
|
*x = SubscriberToSubCoordinatorRequest_AckAssignmentMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckAssignmentMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorRequest_AckAssignmentMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckAssignmentMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorRequest_AckAssignmentMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorRequest_AckAssignmentMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{28, 2}
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorRequest_AckAssignmentMessage) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorResponse_Assignment struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PartitionAssignment *BrokerPartitionAssignment `protobuf:"bytes,1,opt,name=partition_assignment,json=partitionAssignment,proto3" json:"partition_assignment,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) Reset() {
|
|
*x = SubscriberToSubCoordinatorResponse_Assignment{}
|
|
mi := &file_mq_broker_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorResponse_Assignment) ProtoMessage() {}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[57]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorResponse_Assignment.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorResponse_Assignment) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{29, 0}
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_Assignment) GetPartitionAssignment() *BrokerPartitionAssignment {
|
|
if x != nil {
|
|
return x.PartitionAssignment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscriberToSubCoordinatorResponse_UnAssignment struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,1,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_UnAssignment) Reset() {
|
|
*x = SubscriberToSubCoordinatorResponse_UnAssignment{}
|
|
mi := &file_mq_broker_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_UnAssignment) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscriberToSubCoordinatorResponse_UnAssignment) ProtoMessage() {}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_UnAssignment) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[58]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriberToSubCoordinatorResponse_UnAssignment.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorResponse_UnAssignment) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{29, 1}
|
|
}
|
|
|
|
func (x *SubscriberToSubCoordinatorResponse_UnAssignment) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PublishMessageRequest_InitMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
AckInterval int32 `protobuf:"varint,3,opt,name=ack_interval,json=ackInterval,proto3" json:"ack_interval,omitempty"`
|
|
FollowerBroker string `protobuf:"bytes,4,opt,name=follower_broker,json=followerBroker,proto3" json:"follower_broker,omitempty"`
|
|
PublisherName string `protobuf:"bytes,5,opt,name=publisher_name,json=publisherName,proto3" json:"publisher_name,omitempty"` // for debugging
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishMessageRequest_InitMessage) Reset() {
|
|
*x = PublishMessageRequest_InitMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishMessageRequest_InitMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishMessageRequest_InitMessage) ProtoMessage() {}
|
|
|
|
func (x *PublishMessageRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[59]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishMessageRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*PublishMessageRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{32, 0}
|
|
}
|
|
|
|
func (x *PublishMessageRequest_InitMessage) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishMessageRequest_InitMessage) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishMessageRequest_InitMessage) GetAckInterval() int32 {
|
|
if x != nil {
|
|
return x.AckInterval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PublishMessageRequest_InitMessage) GetFollowerBroker() string {
|
|
if x != nil {
|
|
return x.FollowerBroker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublishMessageRequest_InitMessage) GetPublisherName() string {
|
|
if x != nil {
|
|
return x.PublisherName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PublishFollowMeRequest_InitMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_InitMessage) Reset() {
|
|
*x = PublishFollowMeRequest_InitMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_InitMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishFollowMeRequest_InitMessage) ProtoMessage() {}
|
|
|
|
func (x *PublishFollowMeRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[60]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishFollowMeRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{34, 0}
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_InitMessage) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_InitMessage) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PublishFollowMeRequest_FlushMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TsNs int64 `protobuf:"varint,1,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_FlushMessage) Reset() {
|
|
*x = PublishFollowMeRequest_FlushMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_FlushMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishFollowMeRequest_FlushMessage) ProtoMessage() {}
|
|
|
|
func (x *PublishFollowMeRequest_FlushMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[61]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishFollowMeRequest_FlushMessage.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeRequest_FlushMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{34, 1}
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_FlushMessage) GetTsNs() int64 {
|
|
if x != nil {
|
|
return x.TsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PublishFollowMeRequest_CloseMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_CloseMessage) Reset() {
|
|
*x = PublishFollowMeRequest_CloseMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublishFollowMeRequest_CloseMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublishFollowMeRequest_CloseMessage) ProtoMessage() {}
|
|
|
|
func (x *PublishFollowMeRequest_CloseMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[62]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PublishFollowMeRequest_CloseMessage.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeRequest_CloseMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{34, 2}
|
|
}
|
|
|
|
type SubscribeMessageRequest_InitMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ConsumerGroup string `protobuf:"bytes,1,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
|
|
ConsumerId string `protobuf:"bytes,2,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
|
|
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,4,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
PartitionOffset *schema_pb.PartitionOffset `protobuf:"bytes,5,opt,name=partition_offset,json=partitionOffset,proto3" json:"partition_offset,omitempty"`
|
|
OffsetType schema_pb.OffsetType `protobuf:"varint,6,opt,name=offset_type,json=offsetType,proto3,enum=schema_pb.OffsetType" json:"offset_type,omitempty"`
|
|
Filter string `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
FollowerBroker string `protobuf:"bytes,11,opt,name=follower_broker,json=followerBroker,proto3" json:"follower_broker,omitempty"`
|
|
SlidingWindowSize int32 `protobuf:"varint,12,opt,name=sliding_window_size,json=slidingWindowSize,proto3" json:"sliding_window_size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) Reset() {
|
|
*x = SubscribeMessageRequest_InitMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMessageRequest_InitMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[63]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMessageRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{36, 0}
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetConsumerGroup() string {
|
|
if x != nil {
|
|
return x.ConsumerGroup
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetConsumerId() string {
|
|
if x != nil {
|
|
return x.ConsumerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetClientId() string {
|
|
if x != nil {
|
|
return x.ClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetPartitionOffset() *schema_pb.PartitionOffset {
|
|
if x != nil {
|
|
return x.PartitionOffset
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetOffsetType() schema_pb.OffsetType {
|
|
if x != nil {
|
|
return x.OffsetType
|
|
}
|
|
return schema_pb.OffsetType(0)
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetFollowerBroker() string {
|
|
if x != nil {
|
|
return x.FollowerBroker
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_InitMessage) GetSlidingWindowSize() int32 {
|
|
if x != nil {
|
|
return x.SlidingWindowSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SubscribeMessageRequest_AckMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TsNs int64 `protobuf:"varint,1,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"` // Timestamp in nanoseconds for acknowledgment tracking
|
|
Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_AckMessage) Reset() {
|
|
*x = SubscribeMessageRequest_AckMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_AckMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMessageRequest_AckMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMessageRequest_AckMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[64]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMessageRequest_AckMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageRequest_AckMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{36, 1}
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_AckMessage) GetTsNs() int64 {
|
|
if x != nil {
|
|
return x.TsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_AckMessage) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubscribeMessageRequest_SeekMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // New offset to seek to
|
|
OffsetType schema_pb.OffsetType `protobuf:"varint,2,opt,name=offset_type,json=offsetType,proto3,enum=schema_pb.OffsetType" json:"offset_type,omitempty"` // EXACT_OFFSET, RESET_TO_LATEST, etc.
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_SeekMessage) Reset() {
|
|
*x = SubscribeMessageRequest_SeekMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_SeekMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMessageRequest_SeekMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMessageRequest_SeekMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[65]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMessageRequest_SeekMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageRequest_SeekMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{36, 2}
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_SeekMessage) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_SeekMessage) GetOffsetType() schema_pb.OffsetType {
|
|
if x != nil {
|
|
return x.OffsetType
|
|
}
|
|
return schema_pb.OffsetType(0)
|
|
}
|
|
|
|
type SubscribeMessageResponse_SubscribeCtrlMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
IsEndOfStream bool `protobuf:"varint,2,opt,name=is_end_of_stream,json=isEndOfStream,proto3" json:"is_end_of_stream,omitempty"`
|
|
IsEndOfTopic bool `protobuf:"varint,3,opt,name=is_end_of_topic,json=isEndOfTopic,proto3" json:"is_end_of_topic,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse_SubscribeCtrlMessage) Reset() {
|
|
*x = SubscribeMessageResponse_SubscribeCtrlMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse_SubscribeCtrlMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeMessageResponse_SubscribeCtrlMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscribeMessageResponse_SubscribeCtrlMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[66]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeMessageResponse_SubscribeCtrlMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageResponse_SubscribeCtrlMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{37, 0}
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse_SubscribeCtrlMessage) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse_SubscribeCtrlMessage) GetIsEndOfStream() bool {
|
|
if x != nil {
|
|
return x.IsEndOfStream
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SubscribeMessageResponse_SubscribeCtrlMessage) GetIsEndOfTopic() bool {
|
|
if x != nil {
|
|
return x.IsEndOfTopic
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SubscribeFollowMeRequest_InitMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Topic *schema_pb.Topic `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
|
|
Partition *schema_pb.Partition `protobuf:"bytes,2,opt,name=partition,proto3" json:"partition,omitempty"`
|
|
ConsumerGroup string `protobuf:"bytes,3,opt,name=consumer_group,json=consumerGroup,proto3" json:"consumer_group,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_InitMessage) Reset() {
|
|
*x = SubscribeFollowMeRequest_InitMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_InitMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeFollowMeRequest_InitMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscribeFollowMeRequest_InitMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[67]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeFollowMeRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{38, 0}
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_InitMessage) GetTopic() *schema_pb.Topic {
|
|
if x != nil {
|
|
return x.Topic
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_InitMessage) GetPartition() *schema_pb.Partition {
|
|
if x != nil {
|
|
return x.Partition
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_InitMessage) GetConsumerGroup() string {
|
|
if x != nil {
|
|
return x.ConsumerGroup
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SubscribeFollowMeRequest_AckMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TsNs int64 `protobuf:"varint,1,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_AckMessage) Reset() {
|
|
*x = SubscribeFollowMeRequest_AckMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_AckMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeFollowMeRequest_AckMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscribeFollowMeRequest_AckMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[68]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeFollowMeRequest_AckMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeRequest_AckMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{38, 1}
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_AckMessage) GetTsNs() int64 {
|
|
if x != nil {
|
|
return x.TsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SubscribeFollowMeRequest_CloseMessage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_CloseMessage) Reset() {
|
|
*x = SubscribeFollowMeRequest_CloseMessage{}
|
|
mi := &file_mq_broker_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SubscribeFollowMeRequest_CloseMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeFollowMeRequest_CloseMessage) ProtoMessage() {}
|
|
|
|
func (x *SubscribeFollowMeRequest_CloseMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_mq_broker_proto_msgTypes[69]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeFollowMeRequest_CloseMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeRequest_CloseMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{38, 2}
|
|
}
|
|
|
|
var File_mq_broker_proto protoreflect.FileDescriptor
|
|
|
|
const file_mq_broker_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0fmq_broker.proto\x12\fmessaging_pb\x1a\x0fmq_schema.proto\x1a\vfiler.proto\":\n" +
|
|
"\x17FindBrokerLeaderRequest\x12\x1f\n" +
|
|
"\vfiler_group\x18\x01 \x01(\tR\n" +
|
|
"filerGroup\"2\n" +
|
|
"\x18FindBrokerLeaderResponse\x12\x16\n" +
|
|
"\x06broker\x18\x01 \x01(\tR\x06broker\"\xd2\x01\n" +
|
|
"\vBrokerStats\x12*\n" +
|
|
"\x11cpu_usage_percent\x18\x01 \x01(\x05R\x0fcpuUsagePercent\x12:\n" +
|
|
"\x05stats\x18\x02 \x03(\v2$.messaging_pb.BrokerStats.StatsEntryR\x05stats\x1a[\n" +
|
|
"\n" +
|
|
"StatsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x127\n" +
|
|
"\x05value\x18\x02 \x01(\v2!.messaging_pb.TopicPartitionStatsR\x05value:\x028\x01\"\xe1\x01\n" +
|
|
"\x13TopicPartitionStats\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x122\n" +
|
|
"\tpartition\x18\x02 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x12'\n" +
|
|
"\x0fpublisher_count\x18\x03 \x01(\x05R\x0epublisherCount\x12)\n" +
|
|
"\x10subscriber_count\x18\x04 \x01(\x05R\x0fsubscriberCount\x12\x1a\n" +
|
|
"\bfollower\x18\x05 \x01(\tR\bfollower\"\xd3\x01\n" +
|
|
"\x1dPublisherToPubBalancerRequest\x12M\n" +
|
|
"\x04init\x18\x01 \x01(\v27.messaging_pb.PublisherToPubBalancerRequest.InitMessageH\x00R\x04init\x121\n" +
|
|
"\x05stats\x18\x02 \x01(\v2\x19.messaging_pb.BrokerStatsH\x00R\x05stats\x1a%\n" +
|
|
"\vInitMessage\x12\x16\n" +
|
|
"\x06broker\x18\x01 \x01(\tR\x06brokerB\t\n" +
|
|
"\amessage\" \n" +
|
|
"\x1ePublisherToPubBalancerResponse\"\x16\n" +
|
|
"\x14BalanceTopicsRequest\"\x17\n" +
|
|
"\x15BalanceTopicsResponse\"W\n" +
|
|
"\x0eTopicRetention\x12+\n" +
|
|
"\x11retention_seconds\x18\x01 \x01(\x03R\x10retentionSeconds\x12\x18\n" +
|
|
"\aenabled\x18\x02 \x01(\bR\aenabled\"\xb1\x02\n" +
|
|
"\x15ConfigureTopicRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12'\n" +
|
|
"\x0fpartition_count\x18\x02 \x01(\x05R\x0epartitionCount\x12:\n" +
|
|
"\tretention\x18\x03 \x01(\v2\x1c.messaging_pb.TopicRetentionR\tretention\x12E\n" +
|
|
"\x13message_record_type\x18\x04 \x01(\v2\x15.schema_pb.RecordTypeR\x11messageRecordType\x12\x1f\n" +
|
|
"\vkey_columns\x18\x05 \x03(\tR\n" +
|
|
"keyColumns\x12#\n" +
|
|
"\rschema_format\x18\x06 \x01(\tR\fschemaFormat\"\xcc\x02\n" +
|
|
"\x16ConfigureTopicResponse\x12i\n" +
|
|
"\x1cbroker_partition_assignments\x18\x02 \x03(\v2'.messaging_pb.BrokerPartitionAssignmentR\x1abrokerPartitionAssignments\x12:\n" +
|
|
"\tretention\x18\x03 \x01(\v2\x1c.messaging_pb.TopicRetentionR\tretention\x12E\n" +
|
|
"\x13message_record_type\x18\x04 \x01(\v2\x15.schema_pb.RecordTypeR\x11messageRecordType\x12\x1f\n" +
|
|
"\vkey_columns\x18\x05 \x03(\tR\n" +
|
|
"keyColumns\x12#\n" +
|
|
"\rschema_format\x18\x06 \x01(\tR\fschemaFormat\"\x13\n" +
|
|
"\x11ListTopicsRequest\">\n" +
|
|
"\x12ListTopicsResponse\x12(\n" +
|
|
"\x06topics\x18\x01 \x03(\v2\x10.schema_pb.TopicR\x06topics\"<\n" +
|
|
"\x12TopicExistsRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\"-\n" +
|
|
"\x13TopicExistsResponse\x12\x16\n" +
|
|
"\x06exists\x18\x01 \x01(\bR\x06exists\"C\n" +
|
|
"\x19LookupTopicBrokersRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\"\xaf\x01\n" +
|
|
"\x1aLookupTopicBrokersResponse\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12i\n" +
|
|
"\x1cbroker_partition_assignments\x18\x02 \x03(\v2'.messaging_pb.BrokerPartitionAssignmentR\x1abrokerPartitionAssignments\"\x9d\x01\n" +
|
|
"\x19BrokerPartitionAssignment\x122\n" +
|
|
"\tpartition\x18\x01 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x12#\n" +
|
|
"\rleader_broker\x18\x02 \x01(\tR\fleaderBroker\x12'\n" +
|
|
"\x0ffollower_broker\x18\x03 \x01(\tR\x0efollowerBroker\"F\n" +
|
|
"\x1cGetTopicConfigurationRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\"\xf0\x03\n" +
|
|
"\x1dGetTopicConfigurationResponse\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12'\n" +
|
|
"\x0fpartition_count\x18\x02 \x01(\x05R\x0epartitionCount\x12i\n" +
|
|
"\x1cbroker_partition_assignments\x18\x03 \x03(\v2'.messaging_pb.BrokerPartitionAssignmentR\x1abrokerPartitionAssignments\x12\"\n" +
|
|
"\rcreated_at_ns\x18\x04 \x01(\x03R\vcreatedAtNs\x12&\n" +
|
|
"\x0flast_updated_ns\x18\x05 \x01(\x03R\rlastUpdatedNs\x12:\n" +
|
|
"\tretention\x18\x06 \x01(\v2\x1c.messaging_pb.TopicRetentionR\tretention\x12E\n" +
|
|
"\x13message_record_type\x18\a \x01(\v2\x15.schema_pb.RecordTypeR\x11messageRecordType\x12\x1f\n" +
|
|
"\vkey_columns\x18\b \x03(\tR\n" +
|
|
"keyColumns\x12#\n" +
|
|
"\rschema_format\x18\t \x01(\tR\fschemaFormat\"C\n" +
|
|
"\x19GetTopicPublishersRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\"Z\n" +
|
|
"\x1aGetTopicPublishersResponse\x12<\n" +
|
|
"\n" +
|
|
"publishers\x18\x01 \x03(\v2\x1c.messaging_pb.TopicPublisherR\n" +
|
|
"publishers\"D\n" +
|
|
"\x1aGetTopicSubscribersRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\"^\n" +
|
|
"\x1bGetTopicSubscribersResponse\x12?\n" +
|
|
"\vsubscribers\x18\x01 \x03(\v2\x1d.messaging_pb.TopicSubscriberR\vsubscribers\"\xf0\x02\n" +
|
|
"\x0eTopicPublisher\x12%\n" +
|
|
"\x0epublisher_name\x18\x01 \x01(\tR\rpublisherName\x12\x1b\n" +
|
|
"\tclient_id\x18\x02 \x01(\tR\bclientId\x122\n" +
|
|
"\tpartition\x18\x03 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x12&\n" +
|
|
"\x0fconnect_time_ns\x18\x04 \x01(\x03R\rconnectTimeNs\x12)\n" +
|
|
"\x11last_seen_time_ns\x18\x05 \x01(\x03R\x0elastSeenTimeNs\x12\x16\n" +
|
|
"\x06broker\x18\x06 \x01(\tR\x06broker\x12\x1b\n" +
|
|
"\tis_active\x18\a \x01(\bR\bisActive\x122\n" +
|
|
"\x15last_published_offset\x18\b \x01(\x03R\x13lastPublishedOffset\x12*\n" +
|
|
"\x11last_acked_offset\x18\t \x01(\x03R\x0flastAckedOffset\"\x8b\x03\n" +
|
|
"\x0fTopicSubscriber\x12%\n" +
|
|
"\x0econsumer_group\x18\x01 \x01(\tR\rconsumerGroup\x12\x1f\n" +
|
|
"\vconsumer_id\x18\x02 \x01(\tR\n" +
|
|
"consumerId\x12\x1b\n" +
|
|
"\tclient_id\x18\x03 \x01(\tR\bclientId\x122\n" +
|
|
"\tpartition\x18\x04 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x12&\n" +
|
|
"\x0fconnect_time_ns\x18\x05 \x01(\x03R\rconnectTimeNs\x12)\n" +
|
|
"\x11last_seen_time_ns\x18\x06 \x01(\x03R\x0elastSeenTimeNs\x12\x16\n" +
|
|
"\x06broker\x18\a \x01(\tR\x06broker\x12\x1b\n" +
|
|
"\tis_active\x18\b \x01(\bR\bisActive\x12%\n" +
|
|
"\x0ecurrent_offset\x18\t \x01(\x03R\rcurrentOffset\x120\n" +
|
|
"\x14last_received_offset\x18\n" +
|
|
" \x01(\x03R\x12lastReceivedOffset\"\xef\x01\n" +
|
|
"\x1cAssignTopicPartitionsRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12i\n" +
|
|
"\x1cbroker_partition_assignments\x18\x02 \x03(\v2'.messaging_pb.BrokerPartitionAssignmentR\x1abrokerPartitionAssignments\x12\x1b\n" +
|
|
"\tis_leader\x18\x03 \x01(\bR\bisLeader\x12\x1f\n" +
|
|
"\vis_draining\x18\x04 \x01(\bR\n" +
|
|
"isDraining\"\x1f\n" +
|
|
"\x1dAssignTopicPartitionsResponse\"\xf9\x05\n" +
|
|
"!SubscriberToSubCoordinatorRequest\x12Q\n" +
|
|
"\x04init\x18\x01 \x01(\v2;.messaging_pb.SubscriberToSubCoordinatorRequest.InitMessageH\x00R\x04init\x12m\n" +
|
|
"\x0eack_assignment\x18\x02 \x01(\v2D.messaging_pb.SubscriberToSubCoordinatorRequest.AckAssignmentMessageH\x00R\rackAssignment\x12t\n" +
|
|
"\x11ack_un_assignment\x18\x03 \x01(\v2F.messaging_pb.SubscriberToSubCoordinatorRequest.AckUnAssignmentMessageH\x00R\x0fackUnAssignment\x1a\xf6\x01\n" +
|
|
"\vInitMessage\x12%\n" +
|
|
"\x0econsumer_group\x18\x01 \x01(\tR\rconsumerGroup\x12;\n" +
|
|
"\x1aconsumer_group_instance_id\x18\x02 \x01(\tR\x17consumerGroupInstanceId\x12&\n" +
|
|
"\x05topic\x18\x03 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12.\n" +
|
|
"\x13max_partition_count\x18\x04 \x01(\x05R\x11maxPartitionCount\x12+\n" +
|
|
"\x11rebalance_seconds\x18\x05 \x01(\x05R\x10rebalanceSeconds\x1aL\n" +
|
|
"\x16AckUnAssignmentMessage\x122\n" +
|
|
"\tpartition\x18\x01 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x1aJ\n" +
|
|
"\x14AckAssignmentMessage\x122\n" +
|
|
"\tpartition\x18\x01 \x01(\v2\x14.schema_pb.PartitionR\tpartitionB\t\n" +
|
|
"\amessage\"\xa2\x03\n" +
|
|
"\"SubscriberToSubCoordinatorResponse\x12]\n" +
|
|
"\n" +
|
|
"assignment\x18\x01 \x01(\v2;.messaging_pb.SubscriberToSubCoordinatorResponse.AssignmentH\x00R\n" +
|
|
"assignment\x12d\n" +
|
|
"\run_assignment\x18\x02 \x01(\v2=.messaging_pb.SubscriberToSubCoordinatorResponse.UnAssignmentH\x00R\funAssignment\x1ah\n" +
|
|
"\n" +
|
|
"Assignment\x12Z\n" +
|
|
"\x14partition_assignment\x18\x01 \x01(\v2'.messaging_pb.BrokerPartitionAssignmentR\x13partitionAssignment\x1aB\n" +
|
|
"\fUnAssignment\x122\n" +
|
|
"\tpartition\x18\x01 \x01(\v2\x14.schema_pb.PartitionR\tpartitionB\t\n" +
|
|
"\amessage\"R\n" +
|
|
"\x0eControlMessage\x12\x19\n" +
|
|
"\bis_close\x18\x01 \x01(\bR\aisClose\x12%\n" +
|
|
"\x0epublisher_name\x18\x02 \x01(\tR\rpublisherName\"|\n" +
|
|
"\vDataMessage\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\fR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\fR\x05value\x12\x13\n" +
|
|
"\x05ts_ns\x18\x03 \x01(\x03R\x04tsNs\x120\n" +
|
|
"\x04ctrl\x18\x04 \x01(\v2\x1c.messaging_pb.ControlMessageR\x04ctrl\"\xf9\x02\n" +
|
|
"\x15PublishMessageRequest\x12E\n" +
|
|
"\x04init\x18\x01 \x01(\v2/.messaging_pb.PublishMessageRequest.InitMessageH\x00R\x04init\x12/\n" +
|
|
"\x04data\x18\x02 \x01(\v2\x19.messaging_pb.DataMessageH\x00R\x04data\x1a\xdc\x01\n" +
|
|
"\vInitMessage\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x122\n" +
|
|
"\tpartition\x18\x02 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x12!\n" +
|
|
"\fack_interval\x18\x03 \x01(\x05R\vackInterval\x12'\n" +
|
|
"\x0ffollower_broker\x18\x04 \x01(\tR\x0efollowerBroker\x12%\n" +
|
|
"\x0epublisher_name\x18\x05 \x01(\tR\rpublisherNameB\t\n" +
|
|
"\amessage\"\xb5\x01\n" +
|
|
"\x16PublishMessageResponse\x12\x1a\n" +
|
|
"\tack_ts_ns\x18\x01 \x01(\x03R\aackTsNs\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\x12!\n" +
|
|
"\fshould_close\x18\x03 \x01(\bR\vshouldClose\x12\x1d\n" +
|
|
"\n" +
|
|
"error_code\x18\x04 \x01(\x05R\terrorCode\x12'\n" +
|
|
"\x0fassigned_offset\x18\x05 \x01(\x03R\x0eassignedOffset\"\xd2\x03\n" +
|
|
"\x16PublishFollowMeRequest\x12F\n" +
|
|
"\x04init\x18\x01 \x01(\v20.messaging_pb.PublishFollowMeRequest.InitMessageH\x00R\x04init\x12/\n" +
|
|
"\x04data\x18\x02 \x01(\v2\x19.messaging_pb.DataMessageH\x00R\x04data\x12I\n" +
|
|
"\x05flush\x18\x03 \x01(\v21.messaging_pb.PublishFollowMeRequest.FlushMessageH\x00R\x05flush\x12I\n" +
|
|
"\x05close\x18\x04 \x01(\v21.messaging_pb.PublishFollowMeRequest.CloseMessageH\x00R\x05close\x1ai\n" +
|
|
"\vInitMessage\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x122\n" +
|
|
"\tpartition\x18\x02 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x1a#\n" +
|
|
"\fFlushMessage\x12\x13\n" +
|
|
"\x05ts_ns\x18\x01 \x01(\x03R\x04tsNs\x1a\x0e\n" +
|
|
"\fCloseMessageB\t\n" +
|
|
"\amessage\"5\n" +
|
|
"\x17PublishFollowMeResponse\x12\x1a\n" +
|
|
"\tack_ts_ns\x18\x01 \x01(\x03R\aackTsNs\"\x9d\x06\n" +
|
|
"\x17SubscribeMessageRequest\x12G\n" +
|
|
"\x04init\x18\x01 \x01(\v21.messaging_pb.SubscribeMessageRequest.InitMessageH\x00R\x04init\x12D\n" +
|
|
"\x03ack\x18\x02 \x01(\v20.messaging_pb.SubscribeMessageRequest.AckMessageH\x00R\x03ack\x12G\n" +
|
|
"\x04seek\x18\x03 \x01(\v21.messaging_pb.SubscribeMessageRequest.SeekMessageH\x00R\x04seek\x1a\x8a\x03\n" +
|
|
"\vInitMessage\x12%\n" +
|
|
"\x0econsumer_group\x18\x01 \x01(\tR\rconsumerGroup\x12\x1f\n" +
|
|
"\vconsumer_id\x18\x02 \x01(\tR\n" +
|
|
"consumerId\x12\x1b\n" +
|
|
"\tclient_id\x18\x03 \x01(\tR\bclientId\x12&\n" +
|
|
"\x05topic\x18\x04 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12E\n" +
|
|
"\x10partition_offset\x18\x05 \x01(\v2\x1a.schema_pb.PartitionOffsetR\x0fpartitionOffset\x126\n" +
|
|
"\voffset_type\x18\x06 \x01(\x0e2\x15.schema_pb.OffsetTypeR\n" +
|
|
"offsetType\x12\x16\n" +
|
|
"\x06filter\x18\n" +
|
|
" \x01(\tR\x06filter\x12'\n" +
|
|
"\x0ffollower_broker\x18\v \x01(\tR\x0efollowerBroker\x12.\n" +
|
|
"\x13sliding_window_size\x18\f \x01(\x05R\x11slidingWindowSize\x1a3\n" +
|
|
"\n" +
|
|
"AckMessage\x12\x13\n" +
|
|
"\x05ts_ns\x18\x01 \x01(\x03R\x04tsNs\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\fR\x03key\x1a]\n" +
|
|
"\vSeekMessage\x12\x16\n" +
|
|
"\x06offset\x18\x01 \x01(\x03R\x06offset\x126\n" +
|
|
"\voffset_type\x18\x02 \x01(\x0e2\x15.schema_pb.OffsetTypeR\n" +
|
|
"offsetTypeB\t\n" +
|
|
"\amessage\"\xa7\x02\n" +
|
|
"\x18SubscribeMessageResponse\x12Q\n" +
|
|
"\x04ctrl\x18\x01 \x01(\v2;.messaging_pb.SubscribeMessageResponse.SubscribeCtrlMessageH\x00R\x04ctrl\x12/\n" +
|
|
"\x04data\x18\x02 \x01(\v2\x19.messaging_pb.DataMessageH\x00R\x04data\x1a|\n" +
|
|
"\x14SubscribeCtrlMessage\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12'\n" +
|
|
"\x10is_end_of_stream\x18\x02 \x01(\bR\risEndOfStream\x12%\n" +
|
|
"\x0fis_end_of_topic\x18\x03 \x01(\bR\fisEndOfTopicB\t\n" +
|
|
"\amessage\"\xc9\x03\n" +
|
|
"\x18SubscribeFollowMeRequest\x12H\n" +
|
|
"\x04init\x18\x01 \x01(\v22.messaging_pb.SubscribeFollowMeRequest.InitMessageH\x00R\x04init\x12E\n" +
|
|
"\x03ack\x18\x02 \x01(\v21.messaging_pb.SubscribeFollowMeRequest.AckMessageH\x00R\x03ack\x12K\n" +
|
|
"\x05close\x18\x03 \x01(\v23.messaging_pb.SubscribeFollowMeRequest.CloseMessageH\x00R\x05close\x1a\x90\x01\n" +
|
|
"\vInitMessage\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x122\n" +
|
|
"\tpartition\x18\x02 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x12%\n" +
|
|
"\x0econsumer_group\x18\x03 \x01(\tR\rconsumerGroup\x1a!\n" +
|
|
"\n" +
|
|
"AckMessage\x12\x13\n" +
|
|
"\x05ts_ns\x18\x01 \x01(\x03R\x04tsNs\x1a\x0e\n" +
|
|
"\fCloseMessageB\t\n" +
|
|
"\amessage\"7\n" +
|
|
"\x19SubscribeFollowMeResponse\x12\x1a\n" +
|
|
"\tack_ts_ns\x18\x01 \x01(\x03R\aackTsNs\"\xd9\x02\n" +
|
|
"\x13FetchMessageRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x122\n" +
|
|
"\tpartition\x18\x02 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x12!\n" +
|
|
"\fstart_offset\x18\x03 \x01(\x03R\vstartOffset\x12\x1b\n" +
|
|
"\tmax_bytes\x18\x04 \x01(\x05R\bmaxBytes\x12!\n" +
|
|
"\fmax_messages\x18\x05 \x01(\x05R\vmaxMessages\x12\x1e\n" +
|
|
"\vmax_wait_ms\x18\x06 \x01(\x05R\tmaxWaitMs\x12\x1b\n" +
|
|
"\tmin_bytes\x18\a \x01(\x05R\bminBytes\x12%\n" +
|
|
"\x0econsumer_group\x18\b \x01(\tR\rconsumerGroup\x12\x1f\n" +
|
|
"\vconsumer_id\x18\t \x01(\tR\n" +
|
|
"consumerId\"\x9f\x02\n" +
|
|
"\x14FetchMessageResponse\x125\n" +
|
|
"\bmessages\x18\x01 \x03(\v2\x19.messaging_pb.DataMessageR\bmessages\x12&\n" +
|
|
"\x0fhigh_water_mark\x18\x02 \x01(\x03R\rhighWaterMark\x12(\n" +
|
|
"\x10log_start_offset\x18\x03 \x01(\x03R\x0elogStartOffset\x12(\n" +
|
|
"\x10end_of_partition\x18\x04 \x01(\bR\x0eendOfPartition\x12\x14\n" +
|
|
"\x05error\x18\x05 \x01(\tR\x05error\x12\x1d\n" +
|
|
"\n" +
|
|
"error_code\x18\x06 \x01(\x05R\terrorCode\x12\x1f\n" +
|
|
"\vnext_offset\x18\a \x01(\x03R\n" +
|
|
"nextOffset\"b\n" +
|
|
"\x16ClosePublishersRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12 \n" +
|
|
"\funix_time_ns\x18\x02 \x01(\x03R\n" +
|
|
"unixTimeNs\"\x19\n" +
|
|
"\x17ClosePublishersResponse\"c\n" +
|
|
"\x17CloseSubscribersRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12 \n" +
|
|
"\funix_time_ns\x18\x02 \x01(\x03R\n" +
|
|
"unixTimeNs\"\x1a\n" +
|
|
"\x18CloseSubscribersResponse\"\xa9\x01\n" +
|
|
"\x1bGetUnflushedMessagesRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x122\n" +
|
|
"\tpartition\x18\x02 \x01(\v2\x14.schema_pb.PartitionR\tpartition\x12.\n" +
|
|
"\x13start_buffer_offset\x18\x03 \x01(\x03R\x11startBufferOffset\"\x86\x01\n" +
|
|
"\x1cGetUnflushedMessagesResponse\x12,\n" +
|
|
"\amessage\x18\x01 \x01(\v2\x12.filer_pb.LogEntryR\amessage\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\x12\"\n" +
|
|
"\rend_of_stream\x18\x03 \x01(\bR\vendOfStream\"z\n" +
|
|
"\x1cGetPartitionRangeInfoRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x122\n" +
|
|
"\tpartition\x18\x02 \x01(\v2\x14.schema_pb.PartitionR\tpartition\"\x98\x02\n" +
|
|
"\x1dGetPartitionRangeInfoResponse\x12@\n" +
|
|
"\foffset_range\x18\x01 \x01(\v2\x1d.messaging_pb.OffsetRangeInfoR\voffsetRange\x12I\n" +
|
|
"\x0ftimestamp_range\x18\x02 \x01(\v2 .messaging_pb.TimestampRangeInfoR\x0etimestampRange\x12!\n" +
|
|
"\frecord_count\x18\n" +
|
|
" \x01(\x03R\vrecordCount\x121\n" +
|
|
"\x14active_subscriptions\x18\v \x01(\x03R\x13activeSubscriptions\x12\x14\n" +
|
|
"\x05error\x18\f \x01(\tR\x05error\"\x87\x01\n" +
|
|
"\x0fOffsetRangeInfo\x12'\n" +
|
|
"\x0fearliest_offset\x18\x01 \x01(\x03R\x0eearliestOffset\x12#\n" +
|
|
"\rlatest_offset\x18\x02 \x01(\x03R\flatestOffset\x12&\n" +
|
|
"\x0fhigh_water_mark\x18\x03 \x01(\x03R\rhighWaterMark\"x\n" +
|
|
"\x12TimestampRangeInfo\x122\n" +
|
|
"\x15earliest_timestamp_ns\x18\x01 \x01(\x03R\x13earliestTimestampNs\x12.\n" +
|
|
"\x13latest_timestamp_ns\x18\x02 \x01(\x03R\x11latestTimestampNs2\xad\x11\n" +
|
|
"\x10SeaweedMessaging\x12c\n" +
|
|
"\x10FindBrokerLeader\x12%.messaging_pb.FindBrokerLeaderRequest\x1a&.messaging_pb.FindBrokerLeaderResponse\"\x00\x12y\n" +
|
|
"\x16PublisherToPubBalancer\x12+.messaging_pb.PublisherToPubBalancerRequest\x1a,.messaging_pb.PublisherToPubBalancerResponse\"\x00(\x010\x01\x12Z\n" +
|
|
"\rBalanceTopics\x12\".messaging_pb.BalanceTopicsRequest\x1a#.messaging_pb.BalanceTopicsResponse\"\x00\x12Q\n" +
|
|
"\n" +
|
|
"ListTopics\x12\x1f.messaging_pb.ListTopicsRequest\x1a .messaging_pb.ListTopicsResponse\"\x00\x12T\n" +
|
|
"\vTopicExists\x12 .messaging_pb.TopicExistsRequest\x1a!.messaging_pb.TopicExistsResponse\"\x00\x12]\n" +
|
|
"\x0eConfigureTopic\x12#.messaging_pb.ConfigureTopicRequest\x1a$.messaging_pb.ConfigureTopicResponse\"\x00\x12i\n" +
|
|
"\x12LookupTopicBrokers\x12'.messaging_pb.LookupTopicBrokersRequest\x1a(.messaging_pb.LookupTopicBrokersResponse\"\x00\x12r\n" +
|
|
"\x15GetTopicConfiguration\x12*.messaging_pb.GetTopicConfigurationRequest\x1a+.messaging_pb.GetTopicConfigurationResponse\"\x00\x12i\n" +
|
|
"\x12GetTopicPublishers\x12'.messaging_pb.GetTopicPublishersRequest\x1a(.messaging_pb.GetTopicPublishersResponse\"\x00\x12l\n" +
|
|
"\x13GetTopicSubscribers\x12(.messaging_pb.GetTopicSubscribersRequest\x1a).messaging_pb.GetTopicSubscribersResponse\"\x00\x12r\n" +
|
|
"\x15AssignTopicPartitions\x12*.messaging_pb.AssignTopicPartitionsRequest\x1a+.messaging_pb.AssignTopicPartitionsResponse\"\x00\x12`\n" +
|
|
"\x0fClosePublishers\x12$.messaging_pb.ClosePublishersRequest\x1a%.messaging_pb.ClosePublishersResponse\"\x00\x12c\n" +
|
|
"\x10CloseSubscribers\x12%.messaging_pb.CloseSubscribersRequest\x1a&.messaging_pb.CloseSubscribersResponse\"\x00\x12\x85\x01\n" +
|
|
"\x1aSubscriberToSubCoordinator\x12/.messaging_pb.SubscriberToSubCoordinatorRequest\x1a0.messaging_pb.SubscriberToSubCoordinatorResponse\"\x00(\x010\x01\x12a\n" +
|
|
"\x0ePublishMessage\x12#.messaging_pb.PublishMessageRequest\x1a$.messaging_pb.PublishMessageResponse\"\x00(\x010\x01\x12g\n" +
|
|
"\x10SubscribeMessage\x12%.messaging_pb.SubscribeMessageRequest\x1a&.messaging_pb.SubscribeMessageResponse\"\x00(\x010\x01\x12d\n" +
|
|
"\x0fPublishFollowMe\x12$.messaging_pb.PublishFollowMeRequest\x1a%.messaging_pb.PublishFollowMeResponse\"\x00(\x010\x01\x12h\n" +
|
|
"\x11SubscribeFollowMe\x12&.messaging_pb.SubscribeFollowMeRequest\x1a'.messaging_pb.SubscribeFollowMeResponse\"\x00(\x01\x12W\n" +
|
|
"\fFetchMessage\x12!.messaging_pb.FetchMessageRequest\x1a\".messaging_pb.FetchMessageResponse\"\x00\x12q\n" +
|
|
"\x14GetUnflushedMessages\x12).messaging_pb.GetUnflushedMessagesRequest\x1a*.messaging_pb.GetUnflushedMessagesResponse\"\x000\x01\x12r\n" +
|
|
"\x15GetPartitionRangeInfo\x12*.messaging_pb.GetPartitionRangeInfoRequest\x1a+.messaging_pb.GetPartitionRangeInfoResponse\"\x00BO\n" +
|
|
"\fseaweedfs.mqB\x11MessageQueueProtoZ,github.com/seaweedfs/seaweedfs/weed/pb/mq_pbb\x06proto3"
|
|
|
|
var (
|
|
file_mq_broker_proto_rawDescOnce sync.Once
|
|
file_mq_broker_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_mq_broker_proto_rawDescGZIP() []byte {
|
|
file_mq_broker_proto_rawDescOnce.Do(func() {
|
|
file_mq_broker_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mq_broker_proto_rawDesc), len(file_mq_broker_proto_rawDesc)))
|
|
})
|
|
return file_mq_broker_proto_rawDescData
|
|
}
|
|
|
|
var file_mq_broker_proto_msgTypes = make([]protoimpl.MessageInfo, 70)
|
|
var file_mq_broker_proto_goTypes = []any{
|
|
(*FindBrokerLeaderRequest)(nil), // 0: messaging_pb.FindBrokerLeaderRequest
|
|
(*FindBrokerLeaderResponse)(nil), // 1: messaging_pb.FindBrokerLeaderResponse
|
|
(*BrokerStats)(nil), // 2: messaging_pb.BrokerStats
|
|
(*TopicPartitionStats)(nil), // 3: messaging_pb.TopicPartitionStats
|
|
(*PublisherToPubBalancerRequest)(nil), // 4: messaging_pb.PublisherToPubBalancerRequest
|
|
(*PublisherToPubBalancerResponse)(nil), // 5: messaging_pb.PublisherToPubBalancerResponse
|
|
(*BalanceTopicsRequest)(nil), // 6: messaging_pb.BalanceTopicsRequest
|
|
(*BalanceTopicsResponse)(nil), // 7: messaging_pb.BalanceTopicsResponse
|
|
(*TopicRetention)(nil), // 8: messaging_pb.TopicRetention
|
|
(*ConfigureTopicRequest)(nil), // 9: messaging_pb.ConfigureTopicRequest
|
|
(*ConfigureTopicResponse)(nil), // 10: messaging_pb.ConfigureTopicResponse
|
|
(*ListTopicsRequest)(nil), // 11: messaging_pb.ListTopicsRequest
|
|
(*ListTopicsResponse)(nil), // 12: messaging_pb.ListTopicsResponse
|
|
(*TopicExistsRequest)(nil), // 13: messaging_pb.TopicExistsRequest
|
|
(*TopicExistsResponse)(nil), // 14: messaging_pb.TopicExistsResponse
|
|
(*LookupTopicBrokersRequest)(nil), // 15: messaging_pb.LookupTopicBrokersRequest
|
|
(*LookupTopicBrokersResponse)(nil), // 16: messaging_pb.LookupTopicBrokersResponse
|
|
(*BrokerPartitionAssignment)(nil), // 17: messaging_pb.BrokerPartitionAssignment
|
|
(*GetTopicConfigurationRequest)(nil), // 18: messaging_pb.GetTopicConfigurationRequest
|
|
(*GetTopicConfigurationResponse)(nil), // 19: messaging_pb.GetTopicConfigurationResponse
|
|
(*GetTopicPublishersRequest)(nil), // 20: messaging_pb.GetTopicPublishersRequest
|
|
(*GetTopicPublishersResponse)(nil), // 21: messaging_pb.GetTopicPublishersResponse
|
|
(*GetTopicSubscribersRequest)(nil), // 22: messaging_pb.GetTopicSubscribersRequest
|
|
(*GetTopicSubscribersResponse)(nil), // 23: messaging_pb.GetTopicSubscribersResponse
|
|
(*TopicPublisher)(nil), // 24: messaging_pb.TopicPublisher
|
|
(*TopicSubscriber)(nil), // 25: messaging_pb.TopicSubscriber
|
|
(*AssignTopicPartitionsRequest)(nil), // 26: messaging_pb.AssignTopicPartitionsRequest
|
|
(*AssignTopicPartitionsResponse)(nil), // 27: messaging_pb.AssignTopicPartitionsResponse
|
|
(*SubscriberToSubCoordinatorRequest)(nil), // 28: messaging_pb.SubscriberToSubCoordinatorRequest
|
|
(*SubscriberToSubCoordinatorResponse)(nil), // 29: messaging_pb.SubscriberToSubCoordinatorResponse
|
|
(*ControlMessage)(nil), // 30: messaging_pb.ControlMessage
|
|
(*DataMessage)(nil), // 31: messaging_pb.DataMessage
|
|
(*PublishMessageRequest)(nil), // 32: messaging_pb.PublishMessageRequest
|
|
(*PublishMessageResponse)(nil), // 33: messaging_pb.PublishMessageResponse
|
|
(*PublishFollowMeRequest)(nil), // 34: messaging_pb.PublishFollowMeRequest
|
|
(*PublishFollowMeResponse)(nil), // 35: messaging_pb.PublishFollowMeResponse
|
|
(*SubscribeMessageRequest)(nil), // 36: messaging_pb.SubscribeMessageRequest
|
|
(*SubscribeMessageResponse)(nil), // 37: messaging_pb.SubscribeMessageResponse
|
|
(*SubscribeFollowMeRequest)(nil), // 38: messaging_pb.SubscribeFollowMeRequest
|
|
(*SubscribeFollowMeResponse)(nil), // 39: messaging_pb.SubscribeFollowMeResponse
|
|
(*FetchMessageRequest)(nil), // 40: messaging_pb.FetchMessageRequest
|
|
(*FetchMessageResponse)(nil), // 41: messaging_pb.FetchMessageResponse
|
|
(*ClosePublishersRequest)(nil), // 42: messaging_pb.ClosePublishersRequest
|
|
(*ClosePublishersResponse)(nil), // 43: messaging_pb.ClosePublishersResponse
|
|
(*CloseSubscribersRequest)(nil), // 44: messaging_pb.CloseSubscribersRequest
|
|
(*CloseSubscribersResponse)(nil), // 45: messaging_pb.CloseSubscribersResponse
|
|
(*GetUnflushedMessagesRequest)(nil), // 46: messaging_pb.GetUnflushedMessagesRequest
|
|
(*GetUnflushedMessagesResponse)(nil), // 47: messaging_pb.GetUnflushedMessagesResponse
|
|
(*GetPartitionRangeInfoRequest)(nil), // 48: messaging_pb.GetPartitionRangeInfoRequest
|
|
(*GetPartitionRangeInfoResponse)(nil), // 49: messaging_pb.GetPartitionRangeInfoResponse
|
|
(*OffsetRangeInfo)(nil), // 50: messaging_pb.OffsetRangeInfo
|
|
(*TimestampRangeInfo)(nil), // 51: messaging_pb.TimestampRangeInfo
|
|
nil, // 52: messaging_pb.BrokerStats.StatsEntry
|
|
(*PublisherToPubBalancerRequest_InitMessage)(nil), // 53: messaging_pb.PublisherToPubBalancerRequest.InitMessage
|
|
(*SubscriberToSubCoordinatorRequest_InitMessage)(nil), // 54: messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage
|
|
(*SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage)(nil), // 55: messaging_pb.SubscriberToSubCoordinatorRequest.AckUnAssignmentMessage
|
|
(*SubscriberToSubCoordinatorRequest_AckAssignmentMessage)(nil), // 56: messaging_pb.SubscriberToSubCoordinatorRequest.AckAssignmentMessage
|
|
(*SubscriberToSubCoordinatorResponse_Assignment)(nil), // 57: messaging_pb.SubscriberToSubCoordinatorResponse.Assignment
|
|
(*SubscriberToSubCoordinatorResponse_UnAssignment)(nil), // 58: messaging_pb.SubscriberToSubCoordinatorResponse.UnAssignment
|
|
(*PublishMessageRequest_InitMessage)(nil), // 59: messaging_pb.PublishMessageRequest.InitMessage
|
|
(*PublishFollowMeRequest_InitMessage)(nil), // 60: messaging_pb.PublishFollowMeRequest.InitMessage
|
|
(*PublishFollowMeRequest_FlushMessage)(nil), // 61: messaging_pb.PublishFollowMeRequest.FlushMessage
|
|
(*PublishFollowMeRequest_CloseMessage)(nil), // 62: messaging_pb.PublishFollowMeRequest.CloseMessage
|
|
(*SubscribeMessageRequest_InitMessage)(nil), // 63: messaging_pb.SubscribeMessageRequest.InitMessage
|
|
(*SubscribeMessageRequest_AckMessage)(nil), // 64: messaging_pb.SubscribeMessageRequest.AckMessage
|
|
(*SubscribeMessageRequest_SeekMessage)(nil), // 65: messaging_pb.SubscribeMessageRequest.SeekMessage
|
|
(*SubscribeMessageResponse_SubscribeCtrlMessage)(nil), // 66: messaging_pb.SubscribeMessageResponse.SubscribeCtrlMessage
|
|
(*SubscribeFollowMeRequest_InitMessage)(nil), // 67: messaging_pb.SubscribeFollowMeRequest.InitMessage
|
|
(*SubscribeFollowMeRequest_AckMessage)(nil), // 68: messaging_pb.SubscribeFollowMeRequest.AckMessage
|
|
(*SubscribeFollowMeRequest_CloseMessage)(nil), // 69: messaging_pb.SubscribeFollowMeRequest.CloseMessage
|
|
(*schema_pb.Topic)(nil), // 70: schema_pb.Topic
|
|
(*schema_pb.Partition)(nil), // 71: schema_pb.Partition
|
|
(*schema_pb.RecordType)(nil), // 72: schema_pb.RecordType
|
|
(*filer_pb.LogEntry)(nil), // 73: filer_pb.LogEntry
|
|
(*schema_pb.PartitionOffset)(nil), // 74: schema_pb.PartitionOffset
|
|
(schema_pb.OffsetType)(0), // 75: schema_pb.OffsetType
|
|
}
|
|
var file_mq_broker_proto_depIdxs = []int32{
|
|
52, // 0: messaging_pb.BrokerStats.stats:type_name -> messaging_pb.BrokerStats.StatsEntry
|
|
70, // 1: messaging_pb.TopicPartitionStats.topic:type_name -> schema_pb.Topic
|
|
71, // 2: messaging_pb.TopicPartitionStats.partition:type_name -> schema_pb.Partition
|
|
53, // 3: messaging_pb.PublisherToPubBalancerRequest.init:type_name -> messaging_pb.PublisherToPubBalancerRequest.InitMessage
|
|
2, // 4: messaging_pb.PublisherToPubBalancerRequest.stats:type_name -> messaging_pb.BrokerStats
|
|
70, // 5: messaging_pb.ConfigureTopicRequest.topic:type_name -> schema_pb.Topic
|
|
8, // 6: messaging_pb.ConfigureTopicRequest.retention:type_name -> messaging_pb.TopicRetention
|
|
72, // 7: messaging_pb.ConfigureTopicRequest.message_record_type:type_name -> schema_pb.RecordType
|
|
17, // 8: messaging_pb.ConfigureTopicResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
8, // 9: messaging_pb.ConfigureTopicResponse.retention:type_name -> messaging_pb.TopicRetention
|
|
72, // 10: messaging_pb.ConfigureTopicResponse.message_record_type:type_name -> schema_pb.RecordType
|
|
70, // 11: messaging_pb.ListTopicsResponse.topics:type_name -> schema_pb.Topic
|
|
70, // 12: messaging_pb.TopicExistsRequest.topic:type_name -> schema_pb.Topic
|
|
70, // 13: messaging_pb.LookupTopicBrokersRequest.topic:type_name -> schema_pb.Topic
|
|
70, // 14: messaging_pb.LookupTopicBrokersResponse.topic:type_name -> schema_pb.Topic
|
|
17, // 15: messaging_pb.LookupTopicBrokersResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
71, // 16: messaging_pb.BrokerPartitionAssignment.partition:type_name -> schema_pb.Partition
|
|
70, // 17: messaging_pb.GetTopicConfigurationRequest.topic:type_name -> schema_pb.Topic
|
|
70, // 18: messaging_pb.GetTopicConfigurationResponse.topic:type_name -> schema_pb.Topic
|
|
17, // 19: messaging_pb.GetTopicConfigurationResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
8, // 20: messaging_pb.GetTopicConfigurationResponse.retention:type_name -> messaging_pb.TopicRetention
|
|
72, // 21: messaging_pb.GetTopicConfigurationResponse.message_record_type:type_name -> schema_pb.RecordType
|
|
70, // 22: messaging_pb.GetTopicPublishersRequest.topic:type_name -> schema_pb.Topic
|
|
24, // 23: messaging_pb.GetTopicPublishersResponse.publishers:type_name -> messaging_pb.TopicPublisher
|
|
70, // 24: messaging_pb.GetTopicSubscribersRequest.topic:type_name -> schema_pb.Topic
|
|
25, // 25: messaging_pb.GetTopicSubscribersResponse.subscribers:type_name -> messaging_pb.TopicSubscriber
|
|
71, // 26: messaging_pb.TopicPublisher.partition:type_name -> schema_pb.Partition
|
|
71, // 27: messaging_pb.TopicSubscriber.partition:type_name -> schema_pb.Partition
|
|
70, // 28: messaging_pb.AssignTopicPartitionsRequest.topic:type_name -> schema_pb.Topic
|
|
17, // 29: messaging_pb.AssignTopicPartitionsRequest.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
54, // 30: messaging_pb.SubscriberToSubCoordinatorRequest.init:type_name -> messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage
|
|
56, // 31: messaging_pb.SubscriberToSubCoordinatorRequest.ack_assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorRequest.AckAssignmentMessage
|
|
55, // 32: messaging_pb.SubscriberToSubCoordinatorRequest.ack_un_assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorRequest.AckUnAssignmentMessage
|
|
57, // 33: messaging_pb.SubscriberToSubCoordinatorResponse.assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorResponse.Assignment
|
|
58, // 34: messaging_pb.SubscriberToSubCoordinatorResponse.un_assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorResponse.UnAssignment
|
|
30, // 35: messaging_pb.DataMessage.ctrl:type_name -> messaging_pb.ControlMessage
|
|
59, // 36: messaging_pb.PublishMessageRequest.init:type_name -> messaging_pb.PublishMessageRequest.InitMessage
|
|
31, // 37: messaging_pb.PublishMessageRequest.data:type_name -> messaging_pb.DataMessage
|
|
60, // 38: messaging_pb.PublishFollowMeRequest.init:type_name -> messaging_pb.PublishFollowMeRequest.InitMessage
|
|
31, // 39: messaging_pb.PublishFollowMeRequest.data:type_name -> messaging_pb.DataMessage
|
|
61, // 40: messaging_pb.PublishFollowMeRequest.flush:type_name -> messaging_pb.PublishFollowMeRequest.FlushMessage
|
|
62, // 41: messaging_pb.PublishFollowMeRequest.close:type_name -> messaging_pb.PublishFollowMeRequest.CloseMessage
|
|
63, // 42: messaging_pb.SubscribeMessageRequest.init:type_name -> messaging_pb.SubscribeMessageRequest.InitMessage
|
|
64, // 43: messaging_pb.SubscribeMessageRequest.ack:type_name -> messaging_pb.SubscribeMessageRequest.AckMessage
|
|
65, // 44: messaging_pb.SubscribeMessageRequest.seek:type_name -> messaging_pb.SubscribeMessageRequest.SeekMessage
|
|
66, // 45: messaging_pb.SubscribeMessageResponse.ctrl:type_name -> messaging_pb.SubscribeMessageResponse.SubscribeCtrlMessage
|
|
31, // 46: messaging_pb.SubscribeMessageResponse.data:type_name -> messaging_pb.DataMessage
|
|
67, // 47: messaging_pb.SubscribeFollowMeRequest.init:type_name -> messaging_pb.SubscribeFollowMeRequest.InitMessage
|
|
68, // 48: messaging_pb.SubscribeFollowMeRequest.ack:type_name -> messaging_pb.SubscribeFollowMeRequest.AckMessage
|
|
69, // 49: messaging_pb.SubscribeFollowMeRequest.close:type_name -> messaging_pb.SubscribeFollowMeRequest.CloseMessage
|
|
70, // 50: messaging_pb.FetchMessageRequest.topic:type_name -> schema_pb.Topic
|
|
71, // 51: messaging_pb.FetchMessageRequest.partition:type_name -> schema_pb.Partition
|
|
31, // 52: messaging_pb.FetchMessageResponse.messages:type_name -> messaging_pb.DataMessage
|
|
70, // 53: messaging_pb.ClosePublishersRequest.topic:type_name -> schema_pb.Topic
|
|
70, // 54: messaging_pb.CloseSubscribersRequest.topic:type_name -> schema_pb.Topic
|
|
70, // 55: messaging_pb.GetUnflushedMessagesRequest.topic:type_name -> schema_pb.Topic
|
|
71, // 56: messaging_pb.GetUnflushedMessagesRequest.partition:type_name -> schema_pb.Partition
|
|
73, // 57: messaging_pb.GetUnflushedMessagesResponse.message:type_name -> filer_pb.LogEntry
|
|
70, // 58: messaging_pb.GetPartitionRangeInfoRequest.topic:type_name -> schema_pb.Topic
|
|
71, // 59: messaging_pb.GetPartitionRangeInfoRequest.partition:type_name -> schema_pb.Partition
|
|
50, // 60: messaging_pb.GetPartitionRangeInfoResponse.offset_range:type_name -> messaging_pb.OffsetRangeInfo
|
|
51, // 61: messaging_pb.GetPartitionRangeInfoResponse.timestamp_range:type_name -> messaging_pb.TimestampRangeInfo
|
|
3, // 62: messaging_pb.BrokerStats.StatsEntry.value:type_name -> messaging_pb.TopicPartitionStats
|
|
70, // 63: messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
71, // 64: messaging_pb.SubscriberToSubCoordinatorRequest.AckUnAssignmentMessage.partition:type_name -> schema_pb.Partition
|
|
71, // 65: messaging_pb.SubscriberToSubCoordinatorRequest.AckAssignmentMessage.partition:type_name -> schema_pb.Partition
|
|
17, // 66: messaging_pb.SubscriberToSubCoordinatorResponse.Assignment.partition_assignment:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
71, // 67: messaging_pb.SubscriberToSubCoordinatorResponse.UnAssignment.partition:type_name -> schema_pb.Partition
|
|
70, // 68: messaging_pb.PublishMessageRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
71, // 69: messaging_pb.PublishMessageRequest.InitMessage.partition:type_name -> schema_pb.Partition
|
|
70, // 70: messaging_pb.PublishFollowMeRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
71, // 71: messaging_pb.PublishFollowMeRequest.InitMessage.partition:type_name -> schema_pb.Partition
|
|
70, // 72: messaging_pb.SubscribeMessageRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
74, // 73: messaging_pb.SubscribeMessageRequest.InitMessage.partition_offset:type_name -> schema_pb.PartitionOffset
|
|
75, // 74: messaging_pb.SubscribeMessageRequest.InitMessage.offset_type:type_name -> schema_pb.OffsetType
|
|
75, // 75: messaging_pb.SubscribeMessageRequest.SeekMessage.offset_type:type_name -> schema_pb.OffsetType
|
|
70, // 76: messaging_pb.SubscribeFollowMeRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
71, // 77: messaging_pb.SubscribeFollowMeRequest.InitMessage.partition:type_name -> schema_pb.Partition
|
|
0, // 78: messaging_pb.SeaweedMessaging.FindBrokerLeader:input_type -> messaging_pb.FindBrokerLeaderRequest
|
|
4, // 79: messaging_pb.SeaweedMessaging.PublisherToPubBalancer:input_type -> messaging_pb.PublisherToPubBalancerRequest
|
|
6, // 80: messaging_pb.SeaweedMessaging.BalanceTopics:input_type -> messaging_pb.BalanceTopicsRequest
|
|
11, // 81: messaging_pb.SeaweedMessaging.ListTopics:input_type -> messaging_pb.ListTopicsRequest
|
|
13, // 82: messaging_pb.SeaweedMessaging.TopicExists:input_type -> messaging_pb.TopicExistsRequest
|
|
9, // 83: messaging_pb.SeaweedMessaging.ConfigureTopic:input_type -> messaging_pb.ConfigureTopicRequest
|
|
15, // 84: messaging_pb.SeaweedMessaging.LookupTopicBrokers:input_type -> messaging_pb.LookupTopicBrokersRequest
|
|
18, // 85: messaging_pb.SeaweedMessaging.GetTopicConfiguration:input_type -> messaging_pb.GetTopicConfigurationRequest
|
|
20, // 86: messaging_pb.SeaweedMessaging.GetTopicPublishers:input_type -> messaging_pb.GetTopicPublishersRequest
|
|
22, // 87: messaging_pb.SeaweedMessaging.GetTopicSubscribers:input_type -> messaging_pb.GetTopicSubscribersRequest
|
|
26, // 88: messaging_pb.SeaweedMessaging.AssignTopicPartitions:input_type -> messaging_pb.AssignTopicPartitionsRequest
|
|
42, // 89: messaging_pb.SeaweedMessaging.ClosePublishers:input_type -> messaging_pb.ClosePublishersRequest
|
|
44, // 90: messaging_pb.SeaweedMessaging.CloseSubscribers:input_type -> messaging_pb.CloseSubscribersRequest
|
|
28, // 91: messaging_pb.SeaweedMessaging.SubscriberToSubCoordinator:input_type -> messaging_pb.SubscriberToSubCoordinatorRequest
|
|
32, // 92: messaging_pb.SeaweedMessaging.PublishMessage:input_type -> messaging_pb.PublishMessageRequest
|
|
36, // 93: messaging_pb.SeaweedMessaging.SubscribeMessage:input_type -> messaging_pb.SubscribeMessageRequest
|
|
34, // 94: messaging_pb.SeaweedMessaging.PublishFollowMe:input_type -> messaging_pb.PublishFollowMeRequest
|
|
38, // 95: messaging_pb.SeaweedMessaging.SubscribeFollowMe:input_type -> messaging_pb.SubscribeFollowMeRequest
|
|
40, // 96: messaging_pb.SeaweedMessaging.FetchMessage:input_type -> messaging_pb.FetchMessageRequest
|
|
46, // 97: messaging_pb.SeaweedMessaging.GetUnflushedMessages:input_type -> messaging_pb.GetUnflushedMessagesRequest
|
|
48, // 98: messaging_pb.SeaweedMessaging.GetPartitionRangeInfo:input_type -> messaging_pb.GetPartitionRangeInfoRequest
|
|
1, // 99: messaging_pb.SeaweedMessaging.FindBrokerLeader:output_type -> messaging_pb.FindBrokerLeaderResponse
|
|
5, // 100: messaging_pb.SeaweedMessaging.PublisherToPubBalancer:output_type -> messaging_pb.PublisherToPubBalancerResponse
|
|
7, // 101: messaging_pb.SeaweedMessaging.BalanceTopics:output_type -> messaging_pb.BalanceTopicsResponse
|
|
12, // 102: messaging_pb.SeaweedMessaging.ListTopics:output_type -> messaging_pb.ListTopicsResponse
|
|
14, // 103: messaging_pb.SeaweedMessaging.TopicExists:output_type -> messaging_pb.TopicExistsResponse
|
|
10, // 104: messaging_pb.SeaweedMessaging.ConfigureTopic:output_type -> messaging_pb.ConfigureTopicResponse
|
|
16, // 105: messaging_pb.SeaweedMessaging.LookupTopicBrokers:output_type -> messaging_pb.LookupTopicBrokersResponse
|
|
19, // 106: messaging_pb.SeaweedMessaging.GetTopicConfiguration:output_type -> messaging_pb.GetTopicConfigurationResponse
|
|
21, // 107: messaging_pb.SeaweedMessaging.GetTopicPublishers:output_type -> messaging_pb.GetTopicPublishersResponse
|
|
23, // 108: messaging_pb.SeaweedMessaging.GetTopicSubscribers:output_type -> messaging_pb.GetTopicSubscribersResponse
|
|
27, // 109: messaging_pb.SeaweedMessaging.AssignTopicPartitions:output_type -> messaging_pb.AssignTopicPartitionsResponse
|
|
43, // 110: messaging_pb.SeaweedMessaging.ClosePublishers:output_type -> messaging_pb.ClosePublishersResponse
|
|
45, // 111: messaging_pb.SeaweedMessaging.CloseSubscribers:output_type -> messaging_pb.CloseSubscribersResponse
|
|
29, // 112: messaging_pb.SeaweedMessaging.SubscriberToSubCoordinator:output_type -> messaging_pb.SubscriberToSubCoordinatorResponse
|
|
33, // 113: messaging_pb.SeaweedMessaging.PublishMessage:output_type -> messaging_pb.PublishMessageResponse
|
|
37, // 114: messaging_pb.SeaweedMessaging.SubscribeMessage:output_type -> messaging_pb.SubscribeMessageResponse
|
|
35, // 115: messaging_pb.SeaweedMessaging.PublishFollowMe:output_type -> messaging_pb.PublishFollowMeResponse
|
|
39, // 116: messaging_pb.SeaweedMessaging.SubscribeFollowMe:output_type -> messaging_pb.SubscribeFollowMeResponse
|
|
41, // 117: messaging_pb.SeaweedMessaging.FetchMessage:output_type -> messaging_pb.FetchMessageResponse
|
|
47, // 118: messaging_pb.SeaweedMessaging.GetUnflushedMessages:output_type -> messaging_pb.GetUnflushedMessagesResponse
|
|
49, // 119: messaging_pb.SeaweedMessaging.GetPartitionRangeInfo:output_type -> messaging_pb.GetPartitionRangeInfoResponse
|
|
99, // [99:120] is the sub-list for method output_type
|
|
78, // [78:99] is the sub-list for method input_type
|
|
78, // [78:78] is the sub-list for extension type_name
|
|
78, // [78:78] is the sub-list for extension extendee
|
|
0, // [0:78] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_mq_broker_proto_init() }
|
|
func file_mq_broker_proto_init() {
|
|
if File_mq_broker_proto != nil {
|
|
return
|
|
}
|
|
file_mq_broker_proto_msgTypes[4].OneofWrappers = []any{
|
|
(*PublisherToPubBalancerRequest_Init)(nil),
|
|
(*PublisherToPubBalancerRequest_Stats)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[28].OneofWrappers = []any{
|
|
(*SubscriberToSubCoordinatorRequest_Init)(nil),
|
|
(*SubscriberToSubCoordinatorRequest_AckAssignment)(nil),
|
|
(*SubscriberToSubCoordinatorRequest_AckUnAssignment)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[29].OneofWrappers = []any{
|
|
(*SubscriberToSubCoordinatorResponse_Assignment_)(nil),
|
|
(*SubscriberToSubCoordinatorResponse_UnAssignment_)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[32].OneofWrappers = []any{
|
|
(*PublishMessageRequest_Init)(nil),
|
|
(*PublishMessageRequest_Data)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[34].OneofWrappers = []any{
|
|
(*PublishFollowMeRequest_Init)(nil),
|
|
(*PublishFollowMeRequest_Data)(nil),
|
|
(*PublishFollowMeRequest_Flush)(nil),
|
|
(*PublishFollowMeRequest_Close)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[36].OneofWrappers = []any{
|
|
(*SubscribeMessageRequest_Init)(nil),
|
|
(*SubscribeMessageRequest_Ack)(nil),
|
|
(*SubscribeMessageRequest_Seek)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[37].OneofWrappers = []any{
|
|
(*SubscribeMessageResponse_Ctrl)(nil),
|
|
(*SubscribeMessageResponse_Data)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[38].OneofWrappers = []any{
|
|
(*SubscribeFollowMeRequest_Init)(nil),
|
|
(*SubscribeFollowMeRequest_Ack)(nil),
|
|
(*SubscribeFollowMeRequest_Close)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_mq_broker_proto_rawDesc), len(file_mq_broker_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 70,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_mq_broker_proto_goTypes,
|
|
DependencyIndexes: file_mq_broker_proto_depIdxs,
|
|
MessageInfos: file_mq_broker_proto_msgTypes,
|
|
}.Build()
|
|
File_mq_broker_proto = out.File
|
|
file_mq_broker_proto_goTypes = nil
|
|
file_mq_broker_proto_depIdxs = nil
|
|
}
|