mirror of
https://github.com/chrislusf/seaweedfs
synced 2025-09-19 01:30:23 +02:00
* feat: Phase 1 - Add SQL query engine foundation for MQ topics Implements core SQL infrastructure with metadata operations: New Components: - SQL parser integration using github.com/xwb1989/sqlparser - Query engine framework in weed/query/engine/ - Schema catalog mapping MQ topics to SQL tables - Interactive SQL CLI command 'weed sql' Supported Operations: - SHOW DATABASES (lists MQ namespaces) - SHOW TABLES (lists MQ topics) - SQL statement parsing and routing - Error handling and result formatting Key Design Decisions: - MQ namespaces ↔ SQL databases - MQ topics ↔ SQL tables - Parquet message storage ready for querying - Backward-compatible schema evolution support Testing: - Unit tests for core engine functionality - Command integration tests - Parse error handling validation Assumptions (documented in code): - All MQ messages stored in Parquet format - Schema evolution maintains backward compatibility - MySQL-compatible SQL syntax via sqlparser - Single-threaded usage per SQL session Next Phase: DDL operations (CREATE/ALTER/DROP TABLE) * feat: Phase 2 - Add DDL operations and real MQ broker integration Implements comprehensive DDL support for MQ topic management: New Components: - Real MQ broker connectivity via BrokerClient - CREATE TABLE → ConfigureTopic gRPC calls - DROP TABLE → DeleteTopic operations - DESCRIBE table → Schema introspection - SQL type mapping (SQL ↔ MQ schema types) Enhanced Features: - Live topic discovery from MQ broker - Fallback to cached/sample data when broker unavailable - MySQL-compatible DESCRIBE output - Schema validation and error handling - CREATE TABLE with column definitions Key Infrastructure: - broker_client.go: gRPC communication with MQ broker - sql_types.go: Bidirectional SQL/MQ type conversion - describe.go: Table schema introspection - Enhanced engine.go: Full DDL routing and execution Supported SQL Operations: ✅ SHOW DATABASES, SHOW TABLES (live + fallback) ✅ CREATE TABLE table_name (col1 INT, col2 VARCHAR(50), ...) ✅ DROP TABLE table_name ✅ DESCRIBE table_name / SHOW COLUMNS FROM table_name Known Limitations: - SQL parser issues with reserved keywords (e.g., 'timestamp') - Requires running MQ broker for full functionality - ALTER TABLE not yet implemented - DeleteTopic method needs broker-side implementation Architecture Decisions: - Broker discovery via filer lock mechanism (same as shell commands) - Graceful fallback when broker unavailable - ConfigureTopic for CREATE TABLE with 6 default partitions - Schema versioning ready for ALTER TABLE support Testing: - Unit tests updated with filer address parameter - Integration tests for DDL operations - Error handling for connection failures Next Phase: SELECT query execution with Parquet scanning * fix: Resolve High Priority TODOs - Real MQ Broker Integration ✅ COMPLETED HIGH PRIORITY TODOs: 🔧 **Real FilerClient Integration** (engine.go:131) - Implemented GetFilerClient() method in BrokerClient - Added filerClientImpl with full FilerClient interface compliance - Added AdjustedUrl() and GetDataCenter() methods - Real filerClient connection replaces nil fallback 🔧 **Partition Discovery via MQ Broker** (hybrid_message_scanner.go:116) - Added ListTopicPartitions() method using topic configuration - Implemented discoverTopicPartitions() in HybridMessageScanner - Reads actual partition count from BrokerPartitionAssignments - Generates proper partition ranges based on topic.PartitionCount 📋 **Technical Fixes:** - Fixed compilation errors with undefined variables - Proper error handling with filerClientErr variable - Corrected ConfigureTopicResponse field usage (BrokerPartitionAssignments vs PartitionCount) - Complete FilerClient interface implementation 🎯 **Impact:** - SQL engine now connects to real MQ broker infrastructure - Actual topic partition discovery instead of hardcoded defaults - Production-ready broker integration with graceful fallbacks - Maintains backward compatibility with sample data when broker unavailable ✅ All tests passing - High priority TODO resolution complete! Next: Schema-aware message parsing and time filter optimization. * feat: Time Filter Extraction - Complete Performance Optimization ✅ FOURTH HIGH PRIORITY TODO COMPLETED! ⏰ **Time Filter Extraction & Push-Down Optimization** (engine.go:198-199) - Replaced hardcoded StartTimeNs=0, StopTimeNs=0 with intelligent extraction - Added extractTimeFilters() with recursive WHERE clause analysis - Smart time column detection (\_timestamp_ns, created_at, timestamp, etc.) - Comprehensive time value parsing (nanoseconds, ISO dates, datetime formats) - Operator reversal handling (column op value vs value op column) 🧠 **Intelligent WHERE Clause Processing:** - AND expressions: Combine time bounds (intersection) ✅ - OR expressions: Skip extraction (safety) ✅ - Parentheses: Recursive unwrapping ✅ - Comparison operators: >, >=, <, <=, = ✅ - Multiple time formats: nanoseconds, RFC3339, date-only, datetime ✅ 🚀 **Performance Impact:** - Push-down filtering to hybrid scanner level - Reduced data scanning at source (live logs + Parquet files) - Time-based partition pruning potential - Significant performance gains for time-series queries 📊 **Comprehensive Testing (21 tests passing):** - ✅ Time filter extraction (6 test scenarios) - ✅ Time column recognition (case-insensitive) - ✅ Time value parsing (5 formats) - ✅ Full integration with SELECT queries - ✅ Backward compatibility maintained 💡 **Real-World Query Examples:** Before: Scans ALL data, filters in memory SELECT * FROM events WHERE \_timestamp_ns > 1672531200000000000; After: Scans ONLY relevant time range at source level → StartTimeNs=1672531200000000000, StopTimeNs=0 → Massive performance improvement for large datasets! 🎯 **Production Ready Features:** - Multiple time column formats supported - Graceful fallbacks for invalid dates - OR clause safety (avoids incorrect optimization) - Comprehensive error handling **ALL MEDIUM PRIORITY TODOs NOW READY FOR NEXT PHASEtest ./weed/query/engine/ -v* 🎉 * feat: Extended WHERE Operators - Complete Advanced Filtering ✅ **EXTENDED WHERE OPERATORS IMPLEMENTEDtest ./weed/query/engine/ -v | grep -E PASS * feat: Enhanced SQL CLI Experience ✅ COMPLETE ENHANCED CLI IMPLEMENTATION: 🚀 **Multiple Execution Modes:** - Interactive shell with enhanced prompts and context - Single query execution: --query 'SQL' --output format - Batch file processing: --file queries.sql --output csv - Database context switching: --database dbname 📊 **Multi-Format Output:** - Table format (ASCII) - default for interactive - JSON format - structured data for programmatic use - CSV format - spreadsheet-friendly output - Smart auto-detection based on execution mode ⚙️ **Enhanced Interactive Shell:** - Database context switching: USE database_name; - Output format switching: \format table|json|csv - Command history tracking (basic implementation) - Enhanced help with WHERE operator examples - Contextual prompts: seaweedfs:dbname> 🛠️ **Production Features:** - Comprehensive error handling (JSON + user-friendly) - Query execution timing and performance metrics - 30-second timeout protection with graceful handling - Real MQ integration with hybrid data scanning 📖 **Complete CLI Interface:** - Full flag support: --server, --interactive, --file, --output, --database, --query - Auto-detection of execution mode and output format - Structured help system with practical examples - Batch processing with multi-query file support 💡 **Advanced WHERE Integration:** All extended operators (<=, >=, !=, LIKE, IN) fully supported across all execution modes and output formats. 🎯 **Usage Examples:** - weed sql --interactive - weed sql --query 'SHOW DATABASES' --output json - weed sql --file queries.sql --output csv - weed sql --database analytics --interactive Enhanced CLI experience complete - production ready! 🚀 * Delete test_utils_test.go * fmt * integer conversion * show databases works * show tables works * Update describe.go * actual column types * Update .gitignore * scan topic messages * remove emoji * support aggregation functions * column name case insensitive, better auto column names * fmt * fix reading system fields * use parquet statistics for optimization * remove emoji * parquet file generate stats * scan all files * parquet file generation remember the sources also * fmt * sql * truncate topic * combine parquet results with live logs * explain * explain the execution plan * add tests * improve tests * skip * use mock for testing * add tests * refactor * fix after refactoring * detailed logs during explain. Fix bugs on reading live logs. * fix decoding data * save source buffer index start for log files * process buffer from brokers * filter out already flushed messages * dedup with buffer start index * explain with broker buffer * the parquet file should also remember the first buffer_start attribute from the sources * parquet file can query messages in broker memory, if log files do not exist * buffer start stored as 8 bytes * add jdbc * add postgres protocol * Revert "add jdbc" This reverts commita6e48b7690
. * hook up seaweed sql engine * setup integration test for postgres * rename to "weed db" * return fast on error * fix versioning * address comments * address some comments * column name can be on left or right in where conditions * avoid sample data * remove sample data * de-support alter table and drop table * address comments * read broker, logs, and parquet files * Update engine.go * address some comments * use schema instead of inferred result types * fix tests * fix todo * fix empty spaces and coercion * fmt * change to pg_query_go * fix tests * fix tests * fmt * fix: Enable CGO in Docker build for pg_query_go dependency The pg_query_go library requires CGO to be enabled as it wraps the libpg_query C library. Added gcc and musl-dev dependencies to the Docker build for proper compilation. * feat: Replace pg_query_go with lightweight SQL parser (no CGO required) - Remove github.com/pganalyze/pg_query_go/v6 dependency to avoid CGO requirement - Implement lightweight SQL parser for basic SELECT, SHOW, and DDL statements - Fix operator precedence in WHERE clause parsing (handle AND/OR before comparisons) - Support INTEGER, FLOAT, and STRING literals in WHERE conditions - All SQL engine tests passing with new parser - PostgreSQL integration tests can now build without CGO The lightweight parser handles the essential SQL features needed for the SeaweedFS query engine while maintaining compatibility and avoiding CGO dependencies that caused Docker build issues. * feat: Add Parquet logical types to mq_schema.proto Added support for Parquet logical types in SeaweedFS message queue schema: - TIMESTAMP: UTC timestamp in microseconds since epoch with timezone flag - DATE: Date as days since Unix epoch (1970-01-01) - DECIMAL: Arbitrary precision decimal with configurable precision/scale - TIME: Time of day in microseconds since midnight These types enable advanced analytics features: - Time-based filtering and window functions - Date arithmetic and year/month/day extraction - High-precision numeric calculations - Proper time zone handling for global deployments Regenerated protobuf Go code with new scalar types and value messages. * feat: Enable publishers to use Parquet logical types Enhanced MQ publishers to utilize the new logical types: - Updated convertToRecordValue() to use TimestampValue instead of string RFC3339 - Added DateValue support for birth_date field (days since epoch) - Added DecimalValue support for precise_amount field with configurable precision/scale - Enhanced UserEvent struct with PreciseAmount and BirthDate fields - Added convertToDecimal() helper using big.Rat for precise decimal conversion - Updated test data generator to produce varied birth dates (1970-2005) and precise amounts Publishers now generate structured data with proper logical types: - ✅ TIMESTAMP: Microsecond precision UTC timestamps - ✅ DATE: Birth dates as days since Unix epoch - ✅ DECIMAL: Precise amounts with 18-digit precision, 4-decimal scale Successfully tested with PostgreSQL integration - all topics created with logical type data. * feat: Add logical type support to SQL query engine Extended SQL engine to handle new Parquet logical types: - Added TimestampValue comparison support (microsecond precision) - Added DateValue comparison support (days since epoch) - Added DecimalValue comparison support with string conversion - Added TimeValue comparison support (microseconds since midnight) - Enhanced valuesEqual(), valueLessThan(), valueGreaterThan() functions - Added decimalToString() helper for precise decimal-to-string conversion - Imported math/big for arbitrary precision decimal handling The SQL engine can now: - ✅ Compare TIMESTAMP values for filtering (e.g., WHERE timestamp > 1672531200000000000) - ✅ Compare DATE values for date-based queries (e.g., WHERE birth_date >= 12345) - ✅ Compare DECIMAL values for precise financial calculations - ✅ Compare TIME values for time-of-day filtering Next: Add YEAR(), MONTH(), DAY() extraction functions for date analytics. * feat: Add window function foundation with timestamp support Added comprehensive foundation for SQL window functions with timestamp analytics: Core Window Function Types: - WindowSpec with PartitionBy and OrderBy support - WindowFunction struct for ROW_NUMBER, RANK, LAG, LEAD - OrderByClause for timestamp-based ordering - Extended SelectStatement to support WindowFunctions field Timestamp Analytics Functions: ✅ ApplyRowNumber() - ROW_NUMBER() OVER (ORDER BY timestamp) ✅ ExtractYear() - Extract year from TIMESTAMP logical type ✅ ExtractMonth() - Extract month from TIMESTAMP logical type ✅ ExtractDay() - Extract day from TIMESTAMP logical type ✅ FilterByYear() - Filter records by timestamp year Foundation for Advanced Window Functions: - LAG/LEAD for time-series access to previous/next values - RANK/DENSE_RANK for temporal ranking - FIRST_VALUE/LAST_VALUE for window boundaries - PARTITION BY support for grouped analytics This enables sophisticated time-series analytics like: - SELECT *, ROW_NUMBER() OVER (ORDER BY timestamp) FROM user_events WHERE EXTRACT(YEAR FROM timestamp) = 2024 - Trend analysis over time windows - Session analytics with LAG/LEAD functions - Time-based ranking and percentiles Ready for production time-series analytics with proper timestamp logical type support! 🚀 * fmt * fix * fix describe issue * fix tests, avoid panic * no more mysql * timeout client connections * Update SQL_FEATURE_PLAN.md * handling errors * remove sleep * fix splitting multiple SQLs * fixes * fmt * fix * Update weed/util/log_buffer/log_buffer.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update SQL_FEATURE_PLAN.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * code reuse * fix * fix * feat: Add basic arithmetic operators (+, -, *, /, %) with comprehensive tests - Implement EvaluateArithmeticExpression with support for all basic operators - Handle type conversions between int, float, string, and boolean - Add proper error handling for division/modulo by zero - Include 14 comprehensive test cases covering all edge cases - Support mixed type arithmetic (int + float, string numbers, etc.) All tests passing ✅ * feat: Add mathematical functions ROUND, CEIL, FLOOR, ABS with comprehensive tests - Implement ROUND with optional precision parameter - Add CEIL function for rounding up to nearest integer - Add FLOOR function for rounding down to nearest integer - Add ABS function for absolute values with type preservation - Support all numeric types (int32, int64, float32, double) - Comprehensive test suite with 20+ test cases covering: - Positive/negative numbers - Integer/float type preservation - Precision handling for ROUND - Null value error handling - Edge cases (zero, large numbers) All tests passing ✅ * feat: Add date/time functions CURRENT_DATE, CURRENT_TIMESTAMP, EXTRACT with comprehensive tests - Implement CURRENT_DATE returning YYYY-MM-DD format - Add CURRENT_TIMESTAMP returning TimestampValue with microseconds - Add CURRENT_TIME returning HH:MM:SS format - Add NOW() as alias for CURRENT_TIMESTAMP - Implement comprehensive EXTRACT function supporting: - YEAR, MONTH, DAY, HOUR, MINUTE, SECOND - QUARTER, WEEK, DOY (day of year), DOW (day of week) - EPOCH (Unix timestamp) - Support multiple input formats: - TimestampValue (microseconds) - String dates (multiple formats) - Unix timestamps (int64 seconds) - Comprehensive test suite with 15+ test cases covering: - All date/time constants - Extract from different value types - Error handling for invalid inputs - Timezone handling All tests passing ✅ * feat: Add DATE_TRUNC function with comprehensive tests - Implement comprehensive DATE_TRUNC function supporting: - Time precisions: microsecond, millisecond, second, minute, hour - Date precisions: day, week, month, quarter, year, decade, century, millennium - Support both singular and plural forms (e.g., 'minute' and 'minutes') - Enhanced date/time parsing with proper timezone handling: - Assume local timezone for non-timezone string formats - Support UTC formats with explicit timezone indicators - Consistent behavior between parsing and truncation - Comprehensive test suite with 11 test cases covering: - All supported precisions from microsecond to year - Multiple input types (TimestampValue, string dates) - Edge cases (null values, invalid precisions) - Timezone consistency validation All tests passing ✅ * feat: Add comprehensive string functions with extensive tests Implemented String Functions: - LENGTH: Get string length (supports all value types) - UPPER/LOWER: Case conversion - TRIM/LTRIM/RTRIM: Whitespace removal (space, tab, newline, carriage return) - SUBSTRING: Extract substring with optional length (SQL 1-based indexing) - CONCAT: Concatenate multiple values (supports mixed types, skips nulls) - REPLACE: Replace all occurrences of substring - POSITION: Find substring position (1-based, 0 if not found) - LEFT/RIGHT: Extract leftmost/rightmost characters - REVERSE: Reverse string with proper Unicode support Key Features: - Robust type conversion (string, int, float, bool, bytes) - Unicode-safe operations (proper rune handling in REVERSE) - SQL-compatible indexing (1-based for SUBSTRING, POSITION) - Comprehensive error handling with descriptive messages - Mixed-type support (e.g., CONCAT number with string) Helper Functions: - valueToString: Convert any schema_pb.Value to string - valueToInt64: Convert numeric values to int64 Comprehensive test suite with 25+ test cases covering: - All string functions with typical use cases - Type conversion scenarios (numbers, booleans) - Edge cases (empty strings, null values, Unicode) - Error conditions and boundary testing All tests passing ✅ * refactor: Split sql_functions.go into smaller, focused files **File Structure Before:** - sql_functions.go (850+ lines) - sql_functions_test.go (1,205+ lines) **File Structure After:** - function_helpers.go (105 lines) - shared utility functions - arithmetic_functions.go (205 lines) - arithmetic operators & math functions - datetime_functions.go (170 lines) - date/time functions & constants - string_functions.go (335 lines) - string manipulation functions - arithmetic_functions_test.go (560 lines) - tests for arithmetic & math - datetime_functions_test.go (370 lines) - tests for date/time functions - string_functions_test.go (270 lines) - tests for string functions **Benefits:** ✅ Better organization by functional domain ✅ Easier to find and maintain specific function types ✅ Smaller, more manageable file sizes ✅ Clear separation of concerns ✅ Improved code readability and navigation ✅ All tests passing - no functionality lost **Total:** 7 focused files (1,455 lines) vs 2 monolithic files (2,055+ lines) This refactoring improves maintainability while preserving all functionality. * fix: Improve test stability for date/time functions **Problem:** - CURRENT_TIMESTAMP test had timing race condition that could cause flaky failures - CURRENT_DATE test could fail if run exactly at midnight boundary - Tests were too strict about timing precision without accounting for system variations **Root Cause:** - Test captured before/after timestamps and expected function result to be exactly between them - No tolerance for clock precision differences, NTP adjustments, or system timing variations - Date boundary race condition around midnight transitions **Solution:** ✅ **CURRENT_TIMESTAMP test**: Added 100ms tolerance buffer to account for: - Clock precision differences between time.Now() calls - System timing variations and NTP corrections - Microsecond vs nanosecond precision differences ✅ **CURRENT_DATE test**: Enhanced to handle midnight boundary crossings: - Captures date before and after function call - Accepts either date value in case of midnight transition - Prevents false failures during overnight test runs **Testing:** - Verified with repeated test runs (5x iterations) - all pass consistently - Full test suite passes - no regressions introduced - Tests are now robust against timing edge cases **Impact:** 🚀 **Eliminated flaky test failures** while maintaining function correctness validation 🔧 **Production-ready testing** that works across different system environments ⚡ **CI/CD reliability** - tests won't fail due to timing variations * heap sort the data sources * int overflow * Update README.md * redirect GetUnflushedMessages to brokers hosting the topic partition * Update postgres-examples/README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * clean up * support limit with offset * Update SQL_FEATURE_PLAN.md * limit with offset * ensure int conversion correctness * Update weed/query/engine/hybrid_message_scanner.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * avoid closing closed channel * support string concatenation || * int range * using consts; avoid test data in production binary * fix tests * Update SQL_FEATURE_PLAN.md * fix "use db" * address comments * fix comments * Update mocks_test.go * comment * improve docker build * normal if no partitions found * fix build docker * Update SQL_FEATURE_PLAN.md * upgrade to raft v1.1.4 resolving race in leader * raft 1.1.5 * Update SQL_FEATURE_PLAN.md * Revert "raft 1.1.5" This reverts commit5f3bdfadbf
. * Revert "upgrade to raft v1.1.4 resolving race in leader" This reverts commitfa620f0223
. * Fix data race in FUSE GetAttr operation - Add shared lock to GetAttr when accessing file handle entries - Prevents concurrent access between Write (ExclusiveLock) and GetAttr (SharedLock) - Fixes race on entry.Attributes.FileSize field during concurrent operations - Write operations already use ExclusiveLock, now GetAttr uses SharedLock for consistency Resolves race condition: Write at weedfs_file_write.go:62 vs Read at filechunks.go:28 * Update weed/mq/broker/broker_grpc_query.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * clean up * Update db.go * limit with offset * Update Makefile * fix id*2 * fix math * fix string function bugs and add tests * fix string concat * ensure empty spaces for literals * add ttl for catalog * fix time functions * unused code path * database qualifier * refactor * extract * recursive functions * add cockroachdb parser * postgres only * test SQLs * fix tests * fix count * * fix where clause * fix limit offset * fix count fast path * fix tests * func name * fix database qualifier * fix tests * Update engine.go * fix tests * fix jaeger https://github.com/advisories/GHSA-2w8w-qhg4-f78j * remove order by, group by, join * fix extract * prevent single quote in the string * skip control messages * skip control message when converting to parquet files * psql change database * remove old code * remove old parser code * rename file * use db * fix alias * add alias test * compare int64 * fix _timestamp_ns comparing * alias support * fix fast path count * rendering data sources tree * reading data sources * reading parquet logic types * convert logic types to parquet * go mod * fmt * skip decimal types * use UTC * add warning if broker fails * add user password file * support IN * support INTERVAL * _ts as timestamp column * _ts can compare with string * address comments * is null / is not null * go mod * clean up * restructure execution plan * remove extra double quotes * fix converting logical types to parquet * decimal * decimal support * do not skip decimal logical types * making row-building schema-aware and alignment-safe Emit parquet.NullValue() for missing fields to keep row shapes aligned. Always advance list level and safely handle nil list values. Add toParquetValueForType(...) to coerce values to match the declared Parquet type (e.g., STRING/BYTES via byte array; numeric/string conversions for INT32/INT64/DOUBLE/FLOAT/BOOL/TIMESTAMP/DATE/TIME). Keep nil-byte guards for ByteArray. * tests for growslice * do not batch * live logs in sources can be skipped in execution plan * go mod tidy * Update fuse-integration.yml * Update Makefile * fix deprecated * fix deprecated * remove deep-clean all rows * broker memory count * fix FieldIndex --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
4148 lines
143 KiB
Go
4148 lines
143 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v5.29.3
|
|
// source: mq_broker.proto
|
|
|
|
package mq_pb
|
|
|
|
import (
|
|
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"`
|
|
RecordType *schema_pb.RecordType `protobuf:"bytes,3,opt,name=record_type,json=recordType,proto3" json:"record_type,omitempty"`
|
|
Retention *TopicRetention `protobuf:"bytes,4,opt,name=retention,proto3" json:"retention,omitempty"`
|
|
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) GetRecordType() *schema_pb.RecordType {
|
|
if x != nil {
|
|
return x.RecordType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicRequest) GetRetention() *TopicRetention {
|
|
if x != nil {
|
|
return x.Retention
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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"`
|
|
RecordType *schema_pb.RecordType `protobuf:"bytes,3,opt,name=record_type,json=recordType,proto3" json:"record_type,omitempty"`
|
|
Retention *TopicRetention `protobuf:"bytes,4,opt,name=retention,proto3" json:"retention,omitempty"`
|
|
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) GetRecordType() *schema_pb.RecordType {
|
|
if x != nil {
|
|
return x.RecordType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfigureTopicResponse) GetRetention() *TopicRetention {
|
|
if x != nil {
|
|
return x.Retention
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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 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[13]
|
|
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[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 LookupTopicBrokersRequest.ProtoReflect.Descriptor instead.
|
|
func (*LookupTopicBrokersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
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[14]
|
|
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[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 LookupTopicBrokersResponse.ProtoReflect.Descriptor instead.
|
|
func (*LookupTopicBrokersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
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[15]
|
|
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[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 BrokerPartitionAssignment.ProtoReflect.Descriptor instead.
|
|
func (*BrokerPartitionAssignment) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
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[16]
|
|
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[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 GetTopicConfigurationRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicConfigurationRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
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"`
|
|
RecordType *schema_pb.RecordType `protobuf:"bytes,3,opt,name=record_type,json=recordType,proto3" json:"record_type,omitempty"`
|
|
BrokerPartitionAssignments []*BrokerPartitionAssignment `protobuf:"bytes,4,rep,name=broker_partition_assignments,json=brokerPartitionAssignments,proto3" json:"broker_partition_assignments,omitempty"`
|
|
CreatedAtNs int64 `protobuf:"varint,5,opt,name=created_at_ns,json=createdAtNs,proto3" json:"created_at_ns,omitempty"`
|
|
LastUpdatedNs int64 `protobuf:"varint,6,opt,name=last_updated_ns,json=lastUpdatedNs,proto3" json:"last_updated_ns,omitempty"`
|
|
Retention *TopicRetention `protobuf:"bytes,7,opt,name=retention,proto3" json:"retention,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTopicConfigurationResponse) Reset() {
|
|
*x = GetTopicConfigurationResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[17]
|
|
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[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 GetTopicConfigurationResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicConfigurationResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
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) GetRecordType() *schema_pb.RecordType {
|
|
if x != nil {
|
|
return x.RecordType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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[18]
|
|
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[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 GetTopicPublishersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicPublishersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
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[19]
|
|
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[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 GetTopicPublishersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicPublishersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
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[20]
|
|
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[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 GetTopicSubscribersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicSubscribersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
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[21]
|
|
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[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 GetTopicSubscribersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetTopicSubscribersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
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[22]
|
|
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[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 TopicPublisher.ProtoReflect.Descriptor instead.
|
|
func (*TopicPublisher) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
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[23]
|
|
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[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 TopicSubscriber.ProtoReflect.Descriptor instead.
|
|
func (*TopicSubscriber) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
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[24]
|
|
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[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 AssignTopicPartitionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*AssignTopicPartitionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
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[25]
|
|
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[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 AssignTopicPartitionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*AssignTopicPartitionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
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[26]
|
|
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[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 SubscriberToSubCoordinatorRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
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[27]
|
|
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[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 SubscriberToSubCoordinatorResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
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[28]
|
|
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[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 ControlMessage.ProtoReflect.Descriptor instead.
|
|
func (*ControlMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
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[29]
|
|
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[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 DataMessage.ProtoReflect.Descriptor instead.
|
|
func (*DataMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
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[30]
|
|
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[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 PublishMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*PublishMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
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"`
|
|
AckSequence int64 `protobuf:"varint,1,opt,name=ack_sequence,json=ackSequence,proto3" json:"ack_sequence,omitempty"`
|
|
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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublishMessageResponse) Reset() {
|
|
*x = PublishMessageResponse{}
|
|
mi := &file_mq_broker_proto_msgTypes[31]
|
|
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[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 PublishMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*PublishMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *PublishMessageResponse) GetAckSequence() int64 {
|
|
if x != nil {
|
|
return x.AckSequence
|
|
}
|
|
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
|
|
}
|
|
|
|
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[32]
|
|
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[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 PublishFollowMeRequest.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
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[33]
|
|
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[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 PublishFollowMeResponse.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
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
|
|
Message isSubscribeMessageRequest_Message `protobuf_oneof:"message"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest) Reset() {
|
|
*x = SubscribeMessageRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[34]
|
|
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[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 SubscribeMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
func (*SubscribeMessageRequest_Init) isSubscribeMessageRequest_Message() {}
|
|
|
|
func (*SubscribeMessageRequest_Ack) 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[35]
|
|
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[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 SubscribeMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
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[36]
|
|
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[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 SubscribeFollowMeRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
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[37]
|
|
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[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 SubscribeFollowMeResponse.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *SubscribeFollowMeResponse) GetAckTsNs() int64 {
|
|
if x != nil {
|
|
return x.AckTsNs
|
|
}
|
|
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[38]
|
|
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[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 ClosePublishersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClosePublishersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
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[39]
|
|
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[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 ClosePublishersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClosePublishersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
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[40]
|
|
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[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 CloseSubscribersRequest.ProtoReflect.Descriptor instead.
|
|
func (*CloseSubscribersRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
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[41]
|
|
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[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 CloseSubscribersResponse.ProtoReflect.Descriptor instead.
|
|
func (*CloseSubscribersResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
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"`
|
|
StartBufferIndex int64 `protobuf:"varint,3,opt,name=start_buffer_index,json=startBufferIndex,proto3" json:"start_buffer_index,omitempty"` // Filter by buffer index (messages from buffers >= this index)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesRequest) Reset() {
|
|
*x = GetUnflushedMessagesRequest{}
|
|
mi := &file_mq_broker_proto_msgTypes[42]
|
|
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[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 GetUnflushedMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetUnflushedMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
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) GetStartBufferIndex() int64 {
|
|
if x != nil {
|
|
return x.StartBufferIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetUnflushedMessagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Message *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[43]
|
|
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[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 GetUnflushedMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetUnflushedMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *GetUnflushedMessagesResponse) GetMessage() *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 LogEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TsNs int64 `protobuf:"varint,1,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
|
|
Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
PartitionKeyHash uint32 `protobuf:"varint,4,opt,name=partition_key_hash,json=partitionKeyHash,proto3" json:"partition_key_hash,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LogEntry) Reset() {
|
|
*x = LogEntry{}
|
|
mi := &file_mq_broker_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LogEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LogEntry) ProtoMessage() {}
|
|
|
|
func (x *LogEntry) 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 LogEntry.ProtoReflect.Descriptor instead.
|
|
func (*LogEntry) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *LogEntry) GetTsNs() int64 {
|
|
if x != nil {
|
|
return x.TsNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LogEntry) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LogEntry) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LogEntry) GetPartitionKeyHash() uint32 {
|
|
if x != nil {
|
|
return x.PartitionKeyHash
|
|
}
|
|
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[46]
|
|
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[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 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[47]
|
|
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[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 SubscriberToSubCoordinatorRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{26, 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[48]
|
|
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[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 SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{26, 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[49]
|
|
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[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 SubscriberToSubCoordinatorRequest_AckAssignmentMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorRequest_AckAssignmentMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{26, 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[50]
|
|
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[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 SubscriberToSubCoordinatorResponse_Assignment.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorResponse_Assignment) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{27, 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[51]
|
|
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[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 SubscriberToSubCoordinatorResponse_UnAssignment.ProtoReflect.Descriptor instead.
|
|
func (*SubscriberToSubCoordinatorResponse_UnAssignment) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{27, 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[52]
|
|
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[52]
|
|
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{30, 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[53]
|
|
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[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 PublishFollowMeRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{32, 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[54]
|
|
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[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 PublishFollowMeRequest_FlushMessage.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeRequest_FlushMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{32, 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[55]
|
|
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[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 PublishFollowMeRequest_CloseMessage.ProtoReflect.Descriptor instead.
|
|
func (*PublishFollowMeRequest_CloseMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{32, 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[56]
|
|
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[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 SubscribeMessageRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{34, 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"`
|
|
Sequence int64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
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[57]
|
|
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[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 SubscribeMessageRequest_AckMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageRequest_AckMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{34, 1}
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_AckMessage) GetSequence() int64 {
|
|
if x != nil {
|
|
return x.Sequence
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SubscribeMessageRequest_AckMessage) GetKey() []byte {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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[58]
|
|
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[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 SubscribeMessageResponse_SubscribeCtrlMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeMessageResponse_SubscribeCtrlMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{35, 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[59]
|
|
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[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 SubscribeFollowMeRequest_InitMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeRequest_InitMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{36, 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[60]
|
|
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[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 SubscribeFollowMeRequest_AckMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeRequest_AckMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{36, 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[61]
|
|
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[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 SubscribeFollowMeRequest_CloseMessage.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeFollowMeRequest_CloseMessage) Descriptor() ([]byte, []int) {
|
|
return file_mq_broker_proto_rawDescGZIP(), []int{36, 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\":\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\"\xdc\x01\n" +
|
|
"\x15ConfigureTopicRequest\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12'\n" +
|
|
"\x0fpartition_count\x18\x02 \x01(\x05R\x0epartitionCount\x126\n" +
|
|
"\vrecord_type\x18\x03 \x01(\v2\x15.schema_pb.RecordTypeR\n" +
|
|
"recordType\x12:\n" +
|
|
"\tretention\x18\x04 \x01(\v2\x1c.messaging_pb.TopicRetentionR\tretention\"\xf7\x01\n" +
|
|
"\x16ConfigureTopicResponse\x12i\n" +
|
|
"\x1cbroker_partition_assignments\x18\x02 \x03(\v2'.messaging_pb.BrokerPartitionAssignmentR\x1abrokerPartitionAssignments\x126\n" +
|
|
"\vrecord_type\x18\x03 \x01(\v2\x15.schema_pb.RecordTypeR\n" +
|
|
"recordType\x12:\n" +
|
|
"\tretention\x18\x04 \x01(\v2\x1c.messaging_pb.TopicRetentionR\tretention\"\x13\n" +
|
|
"\x11ListTopicsRequest\">\n" +
|
|
"\x12ListTopicsResponse\x12(\n" +
|
|
"\x06topics\x18\x01 \x03(\v2\x10.schema_pb.TopicR\x06topics\"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\"\x9b\x03\n" +
|
|
"\x1dGetTopicConfigurationResponse\x12&\n" +
|
|
"\x05topic\x18\x01 \x01(\v2\x10.schema_pb.TopicR\x05topic\x12'\n" +
|
|
"\x0fpartition_count\x18\x02 \x01(\x05R\x0epartitionCount\x126\n" +
|
|
"\vrecord_type\x18\x03 \x01(\v2\x15.schema_pb.RecordTypeR\n" +
|
|
"recordType\x12i\n" +
|
|
"\x1cbroker_partition_assignments\x18\x04 \x03(\v2'.messaging_pb.BrokerPartitionAssignmentR\x1abrokerPartitionAssignments\x12\"\n" +
|
|
"\rcreated_at_ns\x18\x05 \x01(\x03R\vcreatedAtNs\x12&\n" +
|
|
"\x0flast_updated_ns\x18\x06 \x01(\x03R\rlastUpdatedNs\x12:\n" +
|
|
"\tretention\x18\a \x01(\v2\x1c.messaging_pb.TopicRetentionR\tretention\"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\"t\n" +
|
|
"\x16PublishMessageResponse\x12!\n" +
|
|
"\fack_sequence\x18\x01 \x01(\x03R\vackSequence\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\x12!\n" +
|
|
"\fshould_close\x18\x03 \x01(\bR\vshouldClose\"\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\"\xfc\x04\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\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\x1a:\n" +
|
|
"\n" +
|
|
"AckMessage\x12\x1a\n" +
|
|
"\bsequence\x18\x01 \x01(\x03R\bsequence\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\fR\x03keyB\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\"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\"\xa7\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" +
|
|
"\x12start_buffer_index\x18\x03 \x01(\x03R\x10startBufferIndex\"\x8a\x01\n" +
|
|
"\x1cGetUnflushedMessagesResponse\x120\n" +
|
|
"\amessage\x18\x01 \x01(\v2\x16.messaging_pb.LogEntryR\amessage\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\x12\"\n" +
|
|
"\rend_of_stream\x18\x03 \x01(\bR\vendOfStream\"s\n" +
|
|
"\bLogEntry\x12\x13\n" +
|
|
"\x05ts_ns\x18\x01 \x01(\x03R\x04tsNs\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\fR\x03key\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\fR\x04data\x12,\n" +
|
|
"\x12partition_key_hash\x18\x04 \x01(\rR\x10partitionKeyHash2\x8a\x0f\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\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\x12q\n" +
|
|
"\x14GetUnflushedMessages\x12).messaging_pb.GetUnflushedMessagesRequest\x1a*.messaging_pb.GetUnflushedMessagesResponse\"\x000\x01BO\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, 62)
|
|
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
|
|
(*LookupTopicBrokersRequest)(nil), // 13: messaging_pb.LookupTopicBrokersRequest
|
|
(*LookupTopicBrokersResponse)(nil), // 14: messaging_pb.LookupTopicBrokersResponse
|
|
(*BrokerPartitionAssignment)(nil), // 15: messaging_pb.BrokerPartitionAssignment
|
|
(*GetTopicConfigurationRequest)(nil), // 16: messaging_pb.GetTopicConfigurationRequest
|
|
(*GetTopicConfigurationResponse)(nil), // 17: messaging_pb.GetTopicConfigurationResponse
|
|
(*GetTopicPublishersRequest)(nil), // 18: messaging_pb.GetTopicPublishersRequest
|
|
(*GetTopicPublishersResponse)(nil), // 19: messaging_pb.GetTopicPublishersResponse
|
|
(*GetTopicSubscribersRequest)(nil), // 20: messaging_pb.GetTopicSubscribersRequest
|
|
(*GetTopicSubscribersResponse)(nil), // 21: messaging_pb.GetTopicSubscribersResponse
|
|
(*TopicPublisher)(nil), // 22: messaging_pb.TopicPublisher
|
|
(*TopicSubscriber)(nil), // 23: messaging_pb.TopicSubscriber
|
|
(*AssignTopicPartitionsRequest)(nil), // 24: messaging_pb.AssignTopicPartitionsRequest
|
|
(*AssignTopicPartitionsResponse)(nil), // 25: messaging_pb.AssignTopicPartitionsResponse
|
|
(*SubscriberToSubCoordinatorRequest)(nil), // 26: messaging_pb.SubscriberToSubCoordinatorRequest
|
|
(*SubscriberToSubCoordinatorResponse)(nil), // 27: messaging_pb.SubscriberToSubCoordinatorResponse
|
|
(*ControlMessage)(nil), // 28: messaging_pb.ControlMessage
|
|
(*DataMessage)(nil), // 29: messaging_pb.DataMessage
|
|
(*PublishMessageRequest)(nil), // 30: messaging_pb.PublishMessageRequest
|
|
(*PublishMessageResponse)(nil), // 31: messaging_pb.PublishMessageResponse
|
|
(*PublishFollowMeRequest)(nil), // 32: messaging_pb.PublishFollowMeRequest
|
|
(*PublishFollowMeResponse)(nil), // 33: messaging_pb.PublishFollowMeResponse
|
|
(*SubscribeMessageRequest)(nil), // 34: messaging_pb.SubscribeMessageRequest
|
|
(*SubscribeMessageResponse)(nil), // 35: messaging_pb.SubscribeMessageResponse
|
|
(*SubscribeFollowMeRequest)(nil), // 36: messaging_pb.SubscribeFollowMeRequest
|
|
(*SubscribeFollowMeResponse)(nil), // 37: messaging_pb.SubscribeFollowMeResponse
|
|
(*ClosePublishersRequest)(nil), // 38: messaging_pb.ClosePublishersRequest
|
|
(*ClosePublishersResponse)(nil), // 39: messaging_pb.ClosePublishersResponse
|
|
(*CloseSubscribersRequest)(nil), // 40: messaging_pb.CloseSubscribersRequest
|
|
(*CloseSubscribersResponse)(nil), // 41: messaging_pb.CloseSubscribersResponse
|
|
(*GetUnflushedMessagesRequest)(nil), // 42: messaging_pb.GetUnflushedMessagesRequest
|
|
(*GetUnflushedMessagesResponse)(nil), // 43: messaging_pb.GetUnflushedMessagesResponse
|
|
(*LogEntry)(nil), // 44: messaging_pb.LogEntry
|
|
nil, // 45: messaging_pb.BrokerStats.StatsEntry
|
|
(*PublisherToPubBalancerRequest_InitMessage)(nil), // 46: messaging_pb.PublisherToPubBalancerRequest.InitMessage
|
|
(*SubscriberToSubCoordinatorRequest_InitMessage)(nil), // 47: messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage
|
|
(*SubscriberToSubCoordinatorRequest_AckUnAssignmentMessage)(nil), // 48: messaging_pb.SubscriberToSubCoordinatorRequest.AckUnAssignmentMessage
|
|
(*SubscriberToSubCoordinatorRequest_AckAssignmentMessage)(nil), // 49: messaging_pb.SubscriberToSubCoordinatorRequest.AckAssignmentMessage
|
|
(*SubscriberToSubCoordinatorResponse_Assignment)(nil), // 50: messaging_pb.SubscriberToSubCoordinatorResponse.Assignment
|
|
(*SubscriberToSubCoordinatorResponse_UnAssignment)(nil), // 51: messaging_pb.SubscriberToSubCoordinatorResponse.UnAssignment
|
|
(*PublishMessageRequest_InitMessage)(nil), // 52: messaging_pb.PublishMessageRequest.InitMessage
|
|
(*PublishFollowMeRequest_InitMessage)(nil), // 53: messaging_pb.PublishFollowMeRequest.InitMessage
|
|
(*PublishFollowMeRequest_FlushMessage)(nil), // 54: messaging_pb.PublishFollowMeRequest.FlushMessage
|
|
(*PublishFollowMeRequest_CloseMessage)(nil), // 55: messaging_pb.PublishFollowMeRequest.CloseMessage
|
|
(*SubscribeMessageRequest_InitMessage)(nil), // 56: messaging_pb.SubscribeMessageRequest.InitMessage
|
|
(*SubscribeMessageRequest_AckMessage)(nil), // 57: messaging_pb.SubscribeMessageRequest.AckMessage
|
|
(*SubscribeMessageResponse_SubscribeCtrlMessage)(nil), // 58: messaging_pb.SubscribeMessageResponse.SubscribeCtrlMessage
|
|
(*SubscribeFollowMeRequest_InitMessage)(nil), // 59: messaging_pb.SubscribeFollowMeRequest.InitMessage
|
|
(*SubscribeFollowMeRequest_AckMessage)(nil), // 60: messaging_pb.SubscribeFollowMeRequest.AckMessage
|
|
(*SubscribeFollowMeRequest_CloseMessage)(nil), // 61: messaging_pb.SubscribeFollowMeRequest.CloseMessage
|
|
(*schema_pb.Topic)(nil), // 62: schema_pb.Topic
|
|
(*schema_pb.Partition)(nil), // 63: schema_pb.Partition
|
|
(*schema_pb.RecordType)(nil), // 64: schema_pb.RecordType
|
|
(*schema_pb.PartitionOffset)(nil), // 65: schema_pb.PartitionOffset
|
|
(schema_pb.OffsetType)(0), // 66: schema_pb.OffsetType
|
|
}
|
|
var file_mq_broker_proto_depIdxs = []int32{
|
|
45, // 0: messaging_pb.BrokerStats.stats:type_name -> messaging_pb.BrokerStats.StatsEntry
|
|
62, // 1: messaging_pb.TopicPartitionStats.topic:type_name -> schema_pb.Topic
|
|
63, // 2: messaging_pb.TopicPartitionStats.partition:type_name -> schema_pb.Partition
|
|
46, // 3: messaging_pb.PublisherToPubBalancerRequest.init:type_name -> messaging_pb.PublisherToPubBalancerRequest.InitMessage
|
|
2, // 4: messaging_pb.PublisherToPubBalancerRequest.stats:type_name -> messaging_pb.BrokerStats
|
|
62, // 5: messaging_pb.ConfigureTopicRequest.topic:type_name -> schema_pb.Topic
|
|
64, // 6: messaging_pb.ConfigureTopicRequest.record_type:type_name -> schema_pb.RecordType
|
|
8, // 7: messaging_pb.ConfigureTopicRequest.retention:type_name -> messaging_pb.TopicRetention
|
|
15, // 8: messaging_pb.ConfigureTopicResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
64, // 9: messaging_pb.ConfigureTopicResponse.record_type:type_name -> schema_pb.RecordType
|
|
8, // 10: messaging_pb.ConfigureTopicResponse.retention:type_name -> messaging_pb.TopicRetention
|
|
62, // 11: messaging_pb.ListTopicsResponse.topics:type_name -> schema_pb.Topic
|
|
62, // 12: messaging_pb.LookupTopicBrokersRequest.topic:type_name -> schema_pb.Topic
|
|
62, // 13: messaging_pb.LookupTopicBrokersResponse.topic:type_name -> schema_pb.Topic
|
|
15, // 14: messaging_pb.LookupTopicBrokersResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
63, // 15: messaging_pb.BrokerPartitionAssignment.partition:type_name -> schema_pb.Partition
|
|
62, // 16: messaging_pb.GetTopicConfigurationRequest.topic:type_name -> schema_pb.Topic
|
|
62, // 17: messaging_pb.GetTopicConfigurationResponse.topic:type_name -> schema_pb.Topic
|
|
64, // 18: messaging_pb.GetTopicConfigurationResponse.record_type:type_name -> schema_pb.RecordType
|
|
15, // 19: messaging_pb.GetTopicConfigurationResponse.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
8, // 20: messaging_pb.GetTopicConfigurationResponse.retention:type_name -> messaging_pb.TopicRetention
|
|
62, // 21: messaging_pb.GetTopicPublishersRequest.topic:type_name -> schema_pb.Topic
|
|
22, // 22: messaging_pb.GetTopicPublishersResponse.publishers:type_name -> messaging_pb.TopicPublisher
|
|
62, // 23: messaging_pb.GetTopicSubscribersRequest.topic:type_name -> schema_pb.Topic
|
|
23, // 24: messaging_pb.GetTopicSubscribersResponse.subscribers:type_name -> messaging_pb.TopicSubscriber
|
|
63, // 25: messaging_pb.TopicPublisher.partition:type_name -> schema_pb.Partition
|
|
63, // 26: messaging_pb.TopicSubscriber.partition:type_name -> schema_pb.Partition
|
|
62, // 27: messaging_pb.AssignTopicPartitionsRequest.topic:type_name -> schema_pb.Topic
|
|
15, // 28: messaging_pb.AssignTopicPartitionsRequest.broker_partition_assignments:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
47, // 29: messaging_pb.SubscriberToSubCoordinatorRequest.init:type_name -> messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage
|
|
49, // 30: messaging_pb.SubscriberToSubCoordinatorRequest.ack_assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorRequest.AckAssignmentMessage
|
|
48, // 31: messaging_pb.SubscriberToSubCoordinatorRequest.ack_un_assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorRequest.AckUnAssignmentMessage
|
|
50, // 32: messaging_pb.SubscriberToSubCoordinatorResponse.assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorResponse.Assignment
|
|
51, // 33: messaging_pb.SubscriberToSubCoordinatorResponse.un_assignment:type_name -> messaging_pb.SubscriberToSubCoordinatorResponse.UnAssignment
|
|
28, // 34: messaging_pb.DataMessage.ctrl:type_name -> messaging_pb.ControlMessage
|
|
52, // 35: messaging_pb.PublishMessageRequest.init:type_name -> messaging_pb.PublishMessageRequest.InitMessage
|
|
29, // 36: messaging_pb.PublishMessageRequest.data:type_name -> messaging_pb.DataMessage
|
|
53, // 37: messaging_pb.PublishFollowMeRequest.init:type_name -> messaging_pb.PublishFollowMeRequest.InitMessage
|
|
29, // 38: messaging_pb.PublishFollowMeRequest.data:type_name -> messaging_pb.DataMessage
|
|
54, // 39: messaging_pb.PublishFollowMeRequest.flush:type_name -> messaging_pb.PublishFollowMeRequest.FlushMessage
|
|
55, // 40: messaging_pb.PublishFollowMeRequest.close:type_name -> messaging_pb.PublishFollowMeRequest.CloseMessage
|
|
56, // 41: messaging_pb.SubscribeMessageRequest.init:type_name -> messaging_pb.SubscribeMessageRequest.InitMessage
|
|
57, // 42: messaging_pb.SubscribeMessageRequest.ack:type_name -> messaging_pb.SubscribeMessageRequest.AckMessage
|
|
58, // 43: messaging_pb.SubscribeMessageResponse.ctrl:type_name -> messaging_pb.SubscribeMessageResponse.SubscribeCtrlMessage
|
|
29, // 44: messaging_pb.SubscribeMessageResponse.data:type_name -> messaging_pb.DataMessage
|
|
59, // 45: messaging_pb.SubscribeFollowMeRequest.init:type_name -> messaging_pb.SubscribeFollowMeRequest.InitMessage
|
|
60, // 46: messaging_pb.SubscribeFollowMeRequest.ack:type_name -> messaging_pb.SubscribeFollowMeRequest.AckMessage
|
|
61, // 47: messaging_pb.SubscribeFollowMeRequest.close:type_name -> messaging_pb.SubscribeFollowMeRequest.CloseMessage
|
|
62, // 48: messaging_pb.ClosePublishersRequest.topic:type_name -> schema_pb.Topic
|
|
62, // 49: messaging_pb.CloseSubscribersRequest.topic:type_name -> schema_pb.Topic
|
|
62, // 50: messaging_pb.GetUnflushedMessagesRequest.topic:type_name -> schema_pb.Topic
|
|
63, // 51: messaging_pb.GetUnflushedMessagesRequest.partition:type_name -> schema_pb.Partition
|
|
44, // 52: messaging_pb.GetUnflushedMessagesResponse.message:type_name -> messaging_pb.LogEntry
|
|
3, // 53: messaging_pb.BrokerStats.StatsEntry.value:type_name -> messaging_pb.TopicPartitionStats
|
|
62, // 54: messaging_pb.SubscriberToSubCoordinatorRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
63, // 55: messaging_pb.SubscriberToSubCoordinatorRequest.AckUnAssignmentMessage.partition:type_name -> schema_pb.Partition
|
|
63, // 56: messaging_pb.SubscriberToSubCoordinatorRequest.AckAssignmentMessage.partition:type_name -> schema_pb.Partition
|
|
15, // 57: messaging_pb.SubscriberToSubCoordinatorResponse.Assignment.partition_assignment:type_name -> messaging_pb.BrokerPartitionAssignment
|
|
63, // 58: messaging_pb.SubscriberToSubCoordinatorResponse.UnAssignment.partition:type_name -> schema_pb.Partition
|
|
62, // 59: messaging_pb.PublishMessageRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
63, // 60: messaging_pb.PublishMessageRequest.InitMessage.partition:type_name -> schema_pb.Partition
|
|
62, // 61: messaging_pb.PublishFollowMeRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
63, // 62: messaging_pb.PublishFollowMeRequest.InitMessage.partition:type_name -> schema_pb.Partition
|
|
62, // 63: messaging_pb.SubscribeMessageRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
65, // 64: messaging_pb.SubscribeMessageRequest.InitMessage.partition_offset:type_name -> schema_pb.PartitionOffset
|
|
66, // 65: messaging_pb.SubscribeMessageRequest.InitMessage.offset_type:type_name -> schema_pb.OffsetType
|
|
62, // 66: messaging_pb.SubscribeFollowMeRequest.InitMessage.topic:type_name -> schema_pb.Topic
|
|
63, // 67: messaging_pb.SubscribeFollowMeRequest.InitMessage.partition:type_name -> schema_pb.Partition
|
|
0, // 68: messaging_pb.SeaweedMessaging.FindBrokerLeader:input_type -> messaging_pb.FindBrokerLeaderRequest
|
|
4, // 69: messaging_pb.SeaweedMessaging.PublisherToPubBalancer:input_type -> messaging_pb.PublisherToPubBalancerRequest
|
|
6, // 70: messaging_pb.SeaweedMessaging.BalanceTopics:input_type -> messaging_pb.BalanceTopicsRequest
|
|
11, // 71: messaging_pb.SeaweedMessaging.ListTopics:input_type -> messaging_pb.ListTopicsRequest
|
|
9, // 72: messaging_pb.SeaweedMessaging.ConfigureTopic:input_type -> messaging_pb.ConfigureTopicRequest
|
|
13, // 73: messaging_pb.SeaweedMessaging.LookupTopicBrokers:input_type -> messaging_pb.LookupTopicBrokersRequest
|
|
16, // 74: messaging_pb.SeaweedMessaging.GetTopicConfiguration:input_type -> messaging_pb.GetTopicConfigurationRequest
|
|
18, // 75: messaging_pb.SeaweedMessaging.GetTopicPublishers:input_type -> messaging_pb.GetTopicPublishersRequest
|
|
20, // 76: messaging_pb.SeaweedMessaging.GetTopicSubscribers:input_type -> messaging_pb.GetTopicSubscribersRequest
|
|
24, // 77: messaging_pb.SeaweedMessaging.AssignTopicPartitions:input_type -> messaging_pb.AssignTopicPartitionsRequest
|
|
38, // 78: messaging_pb.SeaweedMessaging.ClosePublishers:input_type -> messaging_pb.ClosePublishersRequest
|
|
40, // 79: messaging_pb.SeaweedMessaging.CloseSubscribers:input_type -> messaging_pb.CloseSubscribersRequest
|
|
26, // 80: messaging_pb.SeaweedMessaging.SubscriberToSubCoordinator:input_type -> messaging_pb.SubscriberToSubCoordinatorRequest
|
|
30, // 81: messaging_pb.SeaweedMessaging.PublishMessage:input_type -> messaging_pb.PublishMessageRequest
|
|
34, // 82: messaging_pb.SeaweedMessaging.SubscribeMessage:input_type -> messaging_pb.SubscribeMessageRequest
|
|
32, // 83: messaging_pb.SeaweedMessaging.PublishFollowMe:input_type -> messaging_pb.PublishFollowMeRequest
|
|
36, // 84: messaging_pb.SeaweedMessaging.SubscribeFollowMe:input_type -> messaging_pb.SubscribeFollowMeRequest
|
|
42, // 85: messaging_pb.SeaweedMessaging.GetUnflushedMessages:input_type -> messaging_pb.GetUnflushedMessagesRequest
|
|
1, // 86: messaging_pb.SeaweedMessaging.FindBrokerLeader:output_type -> messaging_pb.FindBrokerLeaderResponse
|
|
5, // 87: messaging_pb.SeaweedMessaging.PublisherToPubBalancer:output_type -> messaging_pb.PublisherToPubBalancerResponse
|
|
7, // 88: messaging_pb.SeaweedMessaging.BalanceTopics:output_type -> messaging_pb.BalanceTopicsResponse
|
|
12, // 89: messaging_pb.SeaweedMessaging.ListTopics:output_type -> messaging_pb.ListTopicsResponse
|
|
10, // 90: messaging_pb.SeaweedMessaging.ConfigureTopic:output_type -> messaging_pb.ConfigureTopicResponse
|
|
14, // 91: messaging_pb.SeaweedMessaging.LookupTopicBrokers:output_type -> messaging_pb.LookupTopicBrokersResponse
|
|
17, // 92: messaging_pb.SeaweedMessaging.GetTopicConfiguration:output_type -> messaging_pb.GetTopicConfigurationResponse
|
|
19, // 93: messaging_pb.SeaweedMessaging.GetTopicPublishers:output_type -> messaging_pb.GetTopicPublishersResponse
|
|
21, // 94: messaging_pb.SeaweedMessaging.GetTopicSubscribers:output_type -> messaging_pb.GetTopicSubscribersResponse
|
|
25, // 95: messaging_pb.SeaweedMessaging.AssignTopicPartitions:output_type -> messaging_pb.AssignTopicPartitionsResponse
|
|
39, // 96: messaging_pb.SeaweedMessaging.ClosePublishers:output_type -> messaging_pb.ClosePublishersResponse
|
|
41, // 97: messaging_pb.SeaweedMessaging.CloseSubscribers:output_type -> messaging_pb.CloseSubscribersResponse
|
|
27, // 98: messaging_pb.SeaweedMessaging.SubscriberToSubCoordinator:output_type -> messaging_pb.SubscriberToSubCoordinatorResponse
|
|
31, // 99: messaging_pb.SeaweedMessaging.PublishMessage:output_type -> messaging_pb.PublishMessageResponse
|
|
35, // 100: messaging_pb.SeaweedMessaging.SubscribeMessage:output_type -> messaging_pb.SubscribeMessageResponse
|
|
33, // 101: messaging_pb.SeaweedMessaging.PublishFollowMe:output_type -> messaging_pb.PublishFollowMeResponse
|
|
37, // 102: messaging_pb.SeaweedMessaging.SubscribeFollowMe:output_type -> messaging_pb.SubscribeFollowMeResponse
|
|
43, // 103: messaging_pb.SeaweedMessaging.GetUnflushedMessages:output_type -> messaging_pb.GetUnflushedMessagesResponse
|
|
86, // [86:104] is the sub-list for method output_type
|
|
68, // [68:86] is the sub-list for method input_type
|
|
68, // [68:68] is the sub-list for extension type_name
|
|
68, // [68:68] is the sub-list for extension extendee
|
|
0, // [0:68] 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[26].OneofWrappers = []any{
|
|
(*SubscriberToSubCoordinatorRequest_Init)(nil),
|
|
(*SubscriberToSubCoordinatorRequest_AckAssignment)(nil),
|
|
(*SubscriberToSubCoordinatorRequest_AckUnAssignment)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[27].OneofWrappers = []any{
|
|
(*SubscriberToSubCoordinatorResponse_Assignment_)(nil),
|
|
(*SubscriberToSubCoordinatorResponse_UnAssignment_)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[30].OneofWrappers = []any{
|
|
(*PublishMessageRequest_Init)(nil),
|
|
(*PublishMessageRequest_Data)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[32].OneofWrappers = []any{
|
|
(*PublishFollowMeRequest_Init)(nil),
|
|
(*PublishFollowMeRequest_Data)(nil),
|
|
(*PublishFollowMeRequest_Flush)(nil),
|
|
(*PublishFollowMeRequest_Close)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[34].OneofWrappers = []any{
|
|
(*SubscribeMessageRequest_Init)(nil),
|
|
(*SubscribeMessageRequest_Ack)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[35].OneofWrappers = []any{
|
|
(*SubscribeMessageResponse_Ctrl)(nil),
|
|
(*SubscribeMessageResponse_Data)(nil),
|
|
}
|
|
file_mq_broker_proto_msgTypes[36].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: 62,
|
|
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
|
|
}
|