streamingpb

package
v2.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2025 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

View Source
const (
	StreamingCoordBroadcastService_Broadcast_FullMethodName = "/milvus.proto.streaming.StreamingCoordBroadcastService/Broadcast"
	StreamingCoordBroadcastService_Ack_FullMethodName       = "/milvus.proto.streaming.StreamingCoordBroadcastService/Ack"
)
View Source
const (
	StreamingCoordAssignmentService_UpdateReplicateConfiguration_FullMethodName = "/milvus.proto.streaming.StreamingCoordAssignmentService/UpdateReplicateConfiguration"
	StreamingCoordAssignmentService_UpdateWALBalancePolicy_FullMethodName       = "/milvus.proto.streaming.StreamingCoordAssignmentService/UpdateWALBalancePolicy"
	StreamingCoordAssignmentService_AssignmentDiscover_FullMethodName           = "/milvus.proto.streaming.StreamingCoordAssignmentService/AssignmentDiscover"
)
View Source
const (
	StreamingNodeHandlerService_GetReplicateCheckpoint_FullMethodName = "/milvus.proto.streaming.StreamingNodeHandlerService/GetReplicateCheckpoint"
	StreamingNodeHandlerService_Produce_FullMethodName                = "/milvus.proto.streaming.StreamingNodeHandlerService/Produce"
	StreamingNodeHandlerService_Consume_FullMethodName                = "/milvus.proto.streaming.StreamingNodeHandlerService/Consume"
)
View Source
const (
	StreamingNodeManagerService_Assign_FullMethodName        = "/milvus.proto.streaming.StreamingNodeManagerService/Assign"
	StreamingNodeManagerService_Remove_FullMethodName        = "/milvus.proto.streaming.StreamingNodeManagerService/Remove"
	StreamingNodeManagerService_CollectStatus_FullMethodName = "/milvus.proto.streaming.StreamingNodeManagerService/CollectStatus"
)
View Source
const (
	ServiceMethodPrefix = "/milvus.proto.streaming"
)
View Source
const (
	StreamingNodeStateService_GetComponentStates_FullMethodName = "/milvus.proto.streaming.StreamingNodeStateService/GetComponentStates"
)

Variables

View Source
var (
	PChannelAccessMode_name = map[int32]string{
		0: "PCHANNEL_ACCESS_READWRITE",
		1: "PCHANNEL_ACCESS_READONLY",
	}
	PChannelAccessMode_value = map[string]int32{
		"PCHANNEL_ACCESS_READWRITE": 0,
		"PCHANNEL_ACCESS_READONLY":  1,
	}
)

Enum value maps for PChannelAccessMode.

View Source
var (
	PChannelMetaState_name = map[int32]string{
		0: "PCHANNEL_META_STATE_UNKNOWN",
		1: "PCHANNEL_META_STATE_UNINITIALIZED",
		2: "PCHANNEL_META_STATE_ASSIGNING",
		3: "PCHANNEL_META_STATE_ASSIGNED",
		4: "PCHANNEL_META_STATE_UNAVAILABLE",
	}
	PChannelMetaState_value = map[string]int32{
		"PCHANNEL_META_STATE_UNKNOWN":       0,
		"PCHANNEL_META_STATE_UNINITIALIZED": 1,
		"PCHANNEL_META_STATE_ASSIGNING":     2,
		"PCHANNEL_META_STATE_ASSIGNED":      3,
		"PCHANNEL_META_STATE_UNAVAILABLE":   4,
	}
)

Enum value maps for PChannelMetaState.

View Source
var (
	BroadcastTaskState_name = map[int32]string{
		0: "BROADCAST_TASK_STATE_UNKNOWN",
		1: "BROADCAST_TASK_STATE_PENDING",
		2: "BROADCAST_TASK_STATE_DONE",
		3: "BROADCAST_TASK_STATE_WAIT_ACK",
		4: "BROADCAST_TASK_STATE_REPLICATED",
		5: "BROADCAST_TASK_STATE_TOMBSTONE",
	}
	BroadcastTaskState_value = map[string]int32{
		"BROADCAST_TASK_STATE_UNKNOWN":    0,
		"BROADCAST_TASK_STATE_PENDING":    1,
		"BROADCAST_TASK_STATE_DONE":       2,
		"BROADCAST_TASK_STATE_WAIT_ACK":   3,
		"BROADCAST_TASK_STATE_REPLICATED": 4,
		"BROADCAST_TASK_STATE_TOMBSTONE":  5,
	}
)

Enum value maps for BroadcastTaskState.

View Source
var (
	StreamingCode_name = map[int32]string{
		0:   "STREAMING_CODE_OK",
		1:   "STREAMING_CODE_CHANNEL_NOT_EXIST",
		2:   "STREAMING_CODE_CHANNEL_FENCED",
		3:   "STREAMING_CODE_ON_SHUTDOWN",
		4:   "STREAMING_CODE_INVALID_REQUEST_SEQ",
		5:   "STREAMING_CODE_UNMATCHED_CHANNEL_TERM",
		6:   "STREAMING_CODE_IGNORED_OPERATION",
		7:   "STREAMING_CODE_INNER",
		8:   "STREAMING_CODE_INVAILD_ARGUMENT",
		9:   "STREAMING_CODE_TRANSACTION_EXPIRED",
		10:  "STREAMING_CODE_INVALID_TRANSACTION_STATE",
		11:  "STREAMING_CODE_UNRECOVERABLE",
		12:  "STREAMING_CODE_RESOURCE_ACQUIRED",
		13:  "STREAMING_CODE_REPLICATE_VIOLATION",
		999: "STREAMING_CODE_UNKNOWN",
	}
	StreamingCode_value = map[string]int32{
		"STREAMING_CODE_OK":                        0,
		"STREAMING_CODE_CHANNEL_NOT_EXIST":         1,
		"STREAMING_CODE_CHANNEL_FENCED":            2,
		"STREAMING_CODE_ON_SHUTDOWN":               3,
		"STREAMING_CODE_INVALID_REQUEST_SEQ":       4,
		"STREAMING_CODE_UNMATCHED_CHANNEL_TERM":    5,
		"STREAMING_CODE_IGNORED_OPERATION":         6,
		"STREAMING_CODE_INNER":                     7,
		"STREAMING_CODE_INVAILD_ARGUMENT":          8,
		"STREAMING_CODE_TRANSACTION_EXPIRED":       9,
		"STREAMING_CODE_INVALID_TRANSACTION_STATE": 10,
		"STREAMING_CODE_UNRECOVERABLE":             11,
		"STREAMING_CODE_RESOURCE_ACQUIRED":         12,
		"STREAMING_CODE_REPLICATE_VIOLATION":       13,
		"STREAMING_CODE_UNKNOWN":                   999,
	}
)

Enum value maps for StreamingCode.

View Source
var (
	VChannelState_name = map[int32]string{
		0: "VCHANNEL_STATE_UNKNOWN",
		1: "VCHANNEL_STATE_NORMAL",
		2: "VCHANNEL_STATE_DROPPED",
	}
	VChannelState_value = map[string]int32{
		"VCHANNEL_STATE_UNKNOWN": 0,
		"VCHANNEL_STATE_NORMAL":  1,
		"VCHANNEL_STATE_DROPPED": 2,
	}
)

Enum value maps for VChannelState.

View Source
var (
	VChannelSchemaState_name = map[int32]string{
		0: "VCHANNEL_SCHEMA_STATE_UNKNOWN",
		1: "VCHANNEL_SCHEMA_STATE_NORMAL",
		2: "VCHANNEL_SCHEMA_STATE_DROPPED",
	}
	VChannelSchemaState_value = map[string]int32{
		"VCHANNEL_SCHEMA_STATE_UNKNOWN": 0,
		"VCHANNEL_SCHEMA_STATE_NORMAL":  1,
		"VCHANNEL_SCHEMA_STATE_DROPPED": 2,
	}
)

Enum value maps for VChannelSchemaState.

View Source
var (
	SegmentAssignmentState_name = map[int32]string{
		0: "SEGMENT_ASSIGNMENT_STATE_UNKNOWN",
		1: "SEGMENT_ASSIGNMENT_STATE_GROWING",
		2: "SEGMENT_ASSIGNMENT_STATE_FLUSHED",
	}
	SegmentAssignmentState_value = map[string]int32{
		"SEGMENT_ASSIGNMENT_STATE_UNKNOWN": 0,
		"SEGMENT_ASSIGNMENT_STATE_GROWING": 1,
		"SEGMENT_ASSIGNMENT_STATE_FLUSHED": 2,
	}
)

Enum value maps for SegmentAssignmentState.

View Source
var File_streaming_proto protoreflect.FileDescriptor
View Source
var StreamingCoordAssignmentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.streaming.StreamingCoordAssignmentService",
	HandlerType: (*StreamingCoordAssignmentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateReplicateConfiguration",
			Handler:    _StreamingCoordAssignmentService_UpdateReplicateConfiguration_Handler,
		},
		{
			MethodName: "UpdateWALBalancePolicy",
			Handler:    _StreamingCoordAssignmentService_UpdateWALBalancePolicy_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "AssignmentDiscover",
			Handler:       _StreamingCoordAssignmentService_AssignmentDiscover_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "streaming.proto",
}

StreamingCoordAssignmentService_ServiceDesc is the grpc.ServiceDesc for StreamingCoordAssignmentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var StreamingCoordBroadcastService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.streaming.StreamingCoordBroadcastService",
	HandlerType: (*StreamingCoordBroadcastServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Broadcast",
			Handler:    _StreamingCoordBroadcastService_Broadcast_Handler,
		},
		{
			MethodName: "Ack",
			Handler:    _StreamingCoordBroadcastService_Ack_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "streaming.proto",
}

StreamingCoordBroadcastService_ServiceDesc is the grpc.ServiceDesc for StreamingCoordBroadcastService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var StreamingNodeHandlerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.streaming.StreamingNodeHandlerService",
	HandlerType: (*StreamingNodeHandlerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetReplicateCheckpoint",
			Handler:    _StreamingNodeHandlerService_GetReplicateCheckpoint_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Produce",
			Handler:       _StreamingNodeHandlerService_Produce_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "Consume",
			Handler:       _StreamingNodeHandlerService_Consume_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "streaming.proto",
}

StreamingNodeHandlerService_ServiceDesc is the grpc.ServiceDesc for StreamingNodeHandlerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var StreamingNodeManagerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.streaming.StreamingNodeManagerService",
	HandlerType: (*StreamingNodeManagerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Assign",
			Handler:    _StreamingNodeManagerService_Assign_Handler,
		},
		{
			MethodName: "Remove",
			Handler:    _StreamingNodeManagerService_Remove_Handler,
		},
		{
			MethodName: "CollectStatus",
			Handler:    _StreamingNodeManagerService_CollectStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "streaming.proto",
}

StreamingNodeManagerService_ServiceDesc is the grpc.ServiceDesc for StreamingNodeManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var StreamingNodeStateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.streaming.StreamingNodeStateService",
	HandlerType: (*StreamingNodeStateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetComponentStates",
			Handler:    _StreamingNodeStateService_GetComponentStates_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "streaming.proto",
}

StreamingNodeStateService_ServiceDesc is the grpc.ServiceDesc for StreamingNodeStateService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterStreamingCoordAssignmentServiceServer

func RegisterStreamingCoordAssignmentServiceServer(s grpc.ServiceRegistrar, srv StreamingCoordAssignmentServiceServer)

func RegisterStreamingCoordBroadcastServiceServer

func RegisterStreamingCoordBroadcastServiceServer(s grpc.ServiceRegistrar, srv StreamingCoordBroadcastServiceServer)

func RegisterStreamingNodeHandlerServiceServer

func RegisterStreamingNodeHandlerServiceServer(s grpc.ServiceRegistrar, srv StreamingNodeHandlerServiceServer)

func RegisterStreamingNodeManagerServiceServer

func RegisterStreamingNodeManagerServiceServer(s grpc.ServiceRegistrar, srv StreamingNodeManagerServiceServer)

func RegisterStreamingNodeStateServiceServer

func RegisterStreamingNodeStateServiceServer(s grpc.ServiceRegistrar, srv StreamingNodeStateServiceServer)

Types

type AckedCheckpoint added in v2.6.2

type AckedCheckpoint struct {
	MessageId              *commonpb.MessageID `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // the message id that has been acked.
	LastConfirmedMessageId *commonpb.MessageID ``                                                                                         // the last confirmed message id that has been acked.
	/* 131-byte string literal not displayed */
	TimeTick uint64 `protobuf:"varint,3,opt,name=time_tick,json=timeTick,proto3" json:"time_tick,omitempty"` // the time tick of the message that has been acked.
	// contains filtered or unexported fields
}

AckedCheckpoint is the checkpoint that has been acked.

func (*AckedCheckpoint) Descriptor deprecated added in v2.6.2

func (*AckedCheckpoint) Descriptor() ([]byte, []int)

Deprecated: Use AckedCheckpoint.ProtoReflect.Descriptor instead.

func (*AckedCheckpoint) GetLastConfirmedMessageId added in v2.6.2

func (x *AckedCheckpoint) GetLastConfirmedMessageId() *commonpb.MessageID

func (*AckedCheckpoint) GetMessageId added in v2.6.2

func (x *AckedCheckpoint) GetMessageId() *commonpb.MessageID

func (*AckedCheckpoint) GetTimeTick added in v2.6.2

func (x *AckedCheckpoint) GetTimeTick() uint64

func (*AckedCheckpoint) ProtoMessage added in v2.6.2

func (*AckedCheckpoint) ProtoMessage()

func (*AckedCheckpoint) ProtoReflect added in v2.6.2

func (x *AckedCheckpoint) ProtoReflect() protoreflect.Message

func (*AckedCheckpoint) Reset added in v2.6.2

func (x *AckedCheckpoint) Reset()

func (*AckedCheckpoint) String added in v2.6.2

func (x *AckedCheckpoint) String() string

type AckedResult added in v2.6.2

type AckedResult struct {
	Channels         []string           `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`                                         // may be pchannel name or vchannel name.
	AckedCheckpoints []*AckedCheckpoint `protobuf:"bytes,2,rep,name=acked_checkpoints,json=ackedCheckpoints,proto3" json:"acked_checkpoints,omitempty"` // always same length with channels, not nil if acked.
	// contains filtered or unexported fields
}

AckedResult is the result of the ack. It's a helper proto to help managing the consuming of broadcast message at coordinator.

func (*AckedResult) Descriptor deprecated added in v2.6.2

func (*AckedResult) Descriptor() ([]byte, []int)

Deprecated: Use AckedResult.ProtoReflect.Descriptor instead.

func (*AckedResult) GetAckedCheckpoints added in v2.6.2

func (x *AckedResult) GetAckedCheckpoints() []*AckedCheckpoint

func (*AckedResult) GetChannels added in v2.6.2

func (x *AckedResult) GetChannels() []string

func (*AckedResult) ProtoMessage added in v2.6.2

func (*AckedResult) ProtoMessage()

func (*AckedResult) ProtoReflect added in v2.6.2

func (x *AckedResult) ProtoReflect() protoreflect.Message

func (*AckedResult) Reset added in v2.6.2

func (x *AckedResult) Reset()

func (*AckedResult) String added in v2.6.2

func (x *AckedResult) String() string

type AssignmentDiscoverRequest

type AssignmentDiscoverRequest struct {

	// Types that are assignable to Command:
	//
	//	*AssignmentDiscoverRequest_ReportError
	//	*AssignmentDiscoverRequest_Close
	Command isAssignmentDiscoverRequest_Command `protobuf_oneof:"command"`
	// contains filtered or unexported fields
}

AssignmentDiscoverRequest is the request of Discovery

func (*AssignmentDiscoverRequest) Descriptor deprecated

func (*AssignmentDiscoverRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssignmentDiscoverRequest.ProtoReflect.Descriptor instead.

func (*AssignmentDiscoverRequest) GetClose

func (*AssignmentDiscoverRequest) GetCommand

func (m *AssignmentDiscoverRequest) GetCommand() isAssignmentDiscoverRequest_Command

func (*AssignmentDiscoverRequest) GetReportError

func (*AssignmentDiscoverRequest) ProtoMessage

func (*AssignmentDiscoverRequest) ProtoMessage()

func (*AssignmentDiscoverRequest) ProtoReflect

func (*AssignmentDiscoverRequest) Reset

func (x *AssignmentDiscoverRequest) Reset()

func (*AssignmentDiscoverRequest) String

func (x *AssignmentDiscoverRequest) String() string

type AssignmentDiscoverRequest_Close

type AssignmentDiscoverRequest_Close struct {
	Close *CloseAssignmentDiscoverRequest `protobuf:"bytes,2,opt,name=close,proto3,oneof"` // close the stream.
}

type AssignmentDiscoverRequest_ReportError

type AssignmentDiscoverRequest_ReportError struct {
	ReportError *ReportAssignmentErrorRequest `protobuf:"bytes,1,opt,name=report_error,json=reportError,proto3,oneof"` // report streaming error, trigger reassign right now.
}

type AssignmentDiscoverResponse

type AssignmentDiscoverResponse struct {

	// Types that are assignable to Response:
	//
	//	*AssignmentDiscoverResponse_FullAssignment
	//	*AssignmentDiscoverResponse_Close
	Response isAssignmentDiscoverResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

AssignmentDiscoverResponse is the response of Discovery

func (*AssignmentDiscoverResponse) Descriptor deprecated

func (*AssignmentDiscoverResponse) Descriptor() ([]byte, []int)

Deprecated: Use AssignmentDiscoverResponse.ProtoReflect.Descriptor instead.

func (*AssignmentDiscoverResponse) GetClose

func (*AssignmentDiscoverResponse) GetFullAssignment

func (*AssignmentDiscoverResponse) GetResponse

func (m *AssignmentDiscoverResponse) GetResponse() isAssignmentDiscoverResponse_Response

func (*AssignmentDiscoverResponse) ProtoMessage

func (*AssignmentDiscoverResponse) ProtoMessage()

func (*AssignmentDiscoverResponse) ProtoReflect

func (*AssignmentDiscoverResponse) Reset

func (x *AssignmentDiscoverResponse) Reset()

func (*AssignmentDiscoverResponse) String

func (x *AssignmentDiscoverResponse) String() string

type AssignmentDiscoverResponse_Close

type AssignmentDiscoverResponse_Close struct {
	// TODO: may be support partial assignment info in future.
	Close *CloseAssignmentDiscoverResponse `protobuf:"bytes,2,opt,name=close,proto3,oneof"`
}

type AssignmentDiscoverResponse_FullAssignment

type AssignmentDiscoverResponse_FullAssignment struct {
	FullAssignment *FullStreamingNodeAssignmentWithVersion `protobuf:"bytes,1,opt,name=full_assignment,json=fullAssignment,proto3,oneof"` // all assignment info.
}

type BroadcastAckRequest

type BroadcastAckRequest struct {

	// Deprecated: Marked as deprecated in streaming.proto.
	BroadcastId uint64 `protobuf:"varint,1,opt,name=broadcast_id,json=broadcastId,proto3" json:"broadcast_id,omitempty"` // broadcast id.
	// Deprecated: Marked as deprecated in streaming.proto.
	Vchannel string                     `protobuf:"bytes,2,opt,name=vchannel,proto3" json:"vchannel,omitempty"` // the vchannel that acked the message.
	Message  *commonpb.ImmutableMessage `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`   // the message that to be acked.
	// contains filtered or unexported fields
}

func (*BroadcastAckRequest) Descriptor deprecated

func (*BroadcastAckRequest) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastAckRequest.ProtoReflect.Descriptor instead.

func (*BroadcastAckRequest) GetBroadcastId deprecated

func (x *BroadcastAckRequest) GetBroadcastId() uint64

Deprecated: Marked as deprecated in streaming.proto.

func (*BroadcastAckRequest) GetMessage added in v2.6.2

func (*BroadcastAckRequest) GetVchannel deprecated

func (x *BroadcastAckRequest) GetVchannel() string

Deprecated: Marked as deprecated in streaming.proto.

func (*BroadcastAckRequest) ProtoMessage

func (*BroadcastAckRequest) ProtoMessage()

func (*BroadcastAckRequest) ProtoReflect

func (x *BroadcastAckRequest) ProtoReflect() protoreflect.Message

func (*BroadcastAckRequest) Reset

func (x *BroadcastAckRequest) Reset()

func (*BroadcastAckRequest) String

func (x *BroadcastAckRequest) String() string

type BroadcastAckResponse

type BroadcastAckResponse struct {
	// contains filtered or unexported fields
}

func (*BroadcastAckResponse) Descriptor deprecated

func (*BroadcastAckResponse) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastAckResponse.ProtoReflect.Descriptor instead.

func (*BroadcastAckResponse) ProtoMessage

func (*BroadcastAckResponse) ProtoMessage()

func (*BroadcastAckResponse) ProtoReflect

func (x *BroadcastAckResponse) ProtoReflect() protoreflect.Message

func (*BroadcastAckResponse) Reset

func (x *BroadcastAckResponse) Reset()

func (*BroadcastAckResponse) String

func (x *BroadcastAckResponse) String() string

type BroadcastRequest

type BroadcastRequest struct {
	Message *messagespb.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // message to be broadcast.
	// contains filtered or unexported fields
}

BroadcastRequest is the request of the Broadcast RPC.

func (*BroadcastRequest) Descriptor deprecated

func (*BroadcastRequest) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead.

func (*BroadcastRequest) GetMessage

func (x *BroadcastRequest) GetMessage() *messagespb.Message

func (*BroadcastRequest) ProtoMessage

func (*BroadcastRequest) ProtoMessage()

func (*BroadcastRequest) ProtoReflect

func (x *BroadcastRequest) ProtoReflect() protoreflect.Message

func (*BroadcastRequest) Reset

func (x *BroadcastRequest) Reset()

func (*BroadcastRequest) String

func (x *BroadcastRequest) String() string

type BroadcastResponse

type BroadcastResponse struct {
	Results     map[string]*ProduceMessageResponseResult `` /* 155-byte string literal not displayed */
	BroadcastId uint64                                   `protobuf:"varint,2,opt,name=broadcast_id,json=broadcastId,proto3" json:"broadcast_id,omitempty"`
	// contains filtered or unexported fields
}

BroadcastResponse is the response of the Broadcast RPC.

func (*BroadcastResponse) Descriptor deprecated

func (*BroadcastResponse) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastResponse.ProtoReflect.Descriptor instead.

func (*BroadcastResponse) GetBroadcastId

func (x *BroadcastResponse) GetBroadcastId() uint64

func (*BroadcastResponse) GetResults

func (*BroadcastResponse) ProtoMessage

func (*BroadcastResponse) ProtoMessage()

func (*BroadcastResponse) ProtoReflect

func (x *BroadcastResponse) ProtoReflect() protoreflect.Message

func (*BroadcastResponse) Reset

func (x *BroadcastResponse) Reset()

func (*BroadcastResponse) String

func (x *BroadcastResponse) String() string

type BroadcastTask

type BroadcastTask struct {
	Message *messagespb.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`                                             // message to be broadcast.
	State   BroadcastTaskState  `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.streaming.BroadcastTaskState" json:"state,omitempty"` // state of the task.
	// Deprecated: Marked as deprecated in streaming.proto.
	AckedVchannelBitmap []byte             `protobuf:"bytes,3,opt,name=acked_vchannel_bitmap,json=ackedVchannelBitmap,proto3" json:"acked_vchannel_bitmap,omitempty"` // deprecated, use acked_checkpoints instead.
	AckedCheckpoints    []*AckedCheckpoint `protobuf:"bytes,4,rep,name=acked_checkpoints,json=ackedCheckpoints,proto3" json:"acked_checkpoints,omitempty"`            // given vchannels that have been acked, the size of bitmap is same with message.BroadcastHeader().VChannels.
	// contains filtered or unexported fields
}

BroadcastTask is the task to broadcast the messake.

func (*BroadcastTask) Descriptor deprecated

func (*BroadcastTask) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastTask.ProtoReflect.Descriptor instead.

func (*BroadcastTask) GetAckedCheckpoints added in v2.6.2

func (x *BroadcastTask) GetAckedCheckpoints() []*AckedCheckpoint

func (*BroadcastTask) GetAckedVchannelBitmap deprecated

func (x *BroadcastTask) GetAckedVchannelBitmap() []byte

Deprecated: Marked as deprecated in streaming.proto.

func (*BroadcastTask) GetMessage

func (x *BroadcastTask) GetMessage() *messagespb.Message

func (*BroadcastTask) GetState

func (x *BroadcastTask) GetState() BroadcastTaskState

func (*BroadcastTask) ProtoMessage

func (*BroadcastTask) ProtoMessage()

func (*BroadcastTask) ProtoReflect

func (x *BroadcastTask) ProtoReflect() protoreflect.Message

func (*BroadcastTask) Reset

func (x *BroadcastTask) Reset()

func (*BroadcastTask) String

func (x *BroadcastTask) String() string

type BroadcastTaskState

type BroadcastTaskState int32

BroadcastTaskState is the state of the broadcast task.

const (
	BroadcastTaskState_BROADCAST_TASK_STATE_UNKNOWN BroadcastTaskState = 0 // should never used.
	BroadcastTaskState_BROADCAST_TASK_STATE_PENDING BroadcastTaskState = 1 // task is pending.
	BroadcastTaskState_BROADCAST_TASK_STATE_DONE    BroadcastTaskState = 2 // task has been broadcasted and acknowledged, the resource lock is released, and the persisted task can be cleared.
	// Deprecated: Marked as deprecated in streaming.proto.
	BroadcastTaskState_BROADCAST_TASK_STATE_WAIT_ACK   BroadcastTaskState = 3 // task has been broadcasted, waiting for ack, the resource lock is still acquired by some vchannels.
	BroadcastTaskState_BROADCAST_TASK_STATE_REPLICATED BroadcastTaskState = 4 // task is replicated from the source cluster, the resource lock isn't acquired, so the execution order should be protected by the order of broadcastID.
	BroadcastTaskState_BROADCAST_TASK_STATE_TOMBSTONE  BroadcastTaskState = 5 // task is tombstone, it's used to mark the task is already acked, but for idempotency and deduplication, it will be kept in recovery stroage for a while.
)

func (BroadcastTaskState) Descriptor

func (BroadcastTaskState) Enum

func (BroadcastTaskState) EnumDescriptor deprecated

func (BroadcastTaskState) EnumDescriptor() ([]byte, []int)

Deprecated: Use BroadcastTaskState.Descriptor instead.

func (BroadcastTaskState) Number

func (BroadcastTaskState) String

func (x BroadcastTaskState) String() string

func (BroadcastTaskState) Type

type CChannelAssignment added in v2.6.2

type CChannelAssignment struct {
	Meta *CChannelMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

CChannelAssignment is the assignment info of a control channel.

func (*CChannelAssignment) Descriptor deprecated added in v2.6.2

func (*CChannelAssignment) Descriptor() ([]byte, []int)

Deprecated: Use CChannelAssignment.ProtoReflect.Descriptor instead.

func (*CChannelAssignment) GetMeta added in v2.6.2

func (x *CChannelAssignment) GetMeta() *CChannelMeta

func (*CChannelAssignment) ProtoMessage added in v2.6.2

func (*CChannelAssignment) ProtoMessage()

func (*CChannelAssignment) ProtoReflect added in v2.6.2

func (x *CChannelAssignment) ProtoReflect() protoreflect.Message

func (*CChannelAssignment) Reset added in v2.6.2

func (x *CChannelAssignment) Reset()

func (*CChannelAssignment) String added in v2.6.2

func (x *CChannelAssignment) String() string

type CChannelMeta added in v2.6.2

type CChannelMeta struct {
	Pchannel string `protobuf:"bytes,1,opt,name=pchannel,proto3" json:"pchannel,omitempty"` // the pchannel that control channel locate on.
	// contains filtered or unexported fields
}

CChannelMeta is the meta information of a control channel.

func (*CChannelMeta) Descriptor deprecated added in v2.6.2

func (*CChannelMeta) Descriptor() ([]byte, []int)

Deprecated: Use CChannelMeta.ProtoReflect.Descriptor instead.

func (*CChannelMeta) GetPchannel added in v2.6.2

func (x *CChannelMeta) GetPchannel() string

func (*CChannelMeta) ProtoMessage added in v2.6.2

func (*CChannelMeta) ProtoMessage()

func (*CChannelMeta) ProtoReflect added in v2.6.2

func (x *CChannelMeta) ProtoReflect() protoreflect.Message

func (*CChannelMeta) Reset added in v2.6.2

func (x *CChannelMeta) Reset()

func (*CChannelMeta) String added in v2.6.2

func (x *CChannelMeta) String() string

type CloseAssignmentDiscoverRequest

type CloseAssignmentDiscoverRequest struct {
	// contains filtered or unexported fields
}

CloseAssignmentDiscoverRequest is the request to close the stream.

func (*CloseAssignmentDiscoverRequest) Descriptor deprecated

func (*CloseAssignmentDiscoverRequest) Descriptor() ([]byte, []int)

Deprecated: Use CloseAssignmentDiscoverRequest.ProtoReflect.Descriptor instead.

func (*CloseAssignmentDiscoverRequest) ProtoMessage

func (*CloseAssignmentDiscoverRequest) ProtoMessage()

func (*CloseAssignmentDiscoverRequest) ProtoReflect

func (*CloseAssignmentDiscoverRequest) Reset

func (x *CloseAssignmentDiscoverRequest) Reset()

func (*CloseAssignmentDiscoverRequest) String

type CloseAssignmentDiscoverResponse

type CloseAssignmentDiscoverResponse struct {
	// contains filtered or unexported fields
}

func (*CloseAssignmentDiscoverResponse) Descriptor deprecated

func (*CloseAssignmentDiscoverResponse) Descriptor() ([]byte, []int)

Deprecated: Use CloseAssignmentDiscoverResponse.ProtoReflect.Descriptor instead.

func (*CloseAssignmentDiscoverResponse) ProtoMessage

func (*CloseAssignmentDiscoverResponse) ProtoMessage()

func (*CloseAssignmentDiscoverResponse) ProtoReflect

func (*CloseAssignmentDiscoverResponse) Reset

func (*CloseAssignmentDiscoverResponse) String

type CloseConsumerRequest

type CloseConsumerRequest struct {
	// contains filtered or unexported fields
}

CloseConsumerRequest is the request of the CloseConsumer RPC. After CloseConsumerRequest is requested, no more ConsumeRequest can be sent.

func (*CloseConsumerRequest) Descriptor deprecated

func (*CloseConsumerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CloseConsumerRequest.ProtoReflect.Descriptor instead.

func (*CloseConsumerRequest) ProtoMessage

func (*CloseConsumerRequest) ProtoMessage()

func (*CloseConsumerRequest) ProtoReflect

func (x *CloseConsumerRequest) ProtoReflect() protoreflect.Message

func (*CloseConsumerRequest) Reset

func (x *CloseConsumerRequest) Reset()

func (*CloseConsumerRequest) String

func (x *CloseConsumerRequest) String() string

type CloseConsumerResponse

type CloseConsumerResponse struct {
	// contains filtered or unexported fields
}

func (*CloseConsumerResponse) Descriptor deprecated

func (*CloseConsumerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CloseConsumerResponse.ProtoReflect.Descriptor instead.

func (*CloseConsumerResponse) ProtoMessage

func (*CloseConsumerResponse) ProtoMessage()

func (*CloseConsumerResponse) ProtoReflect

func (x *CloseConsumerResponse) ProtoReflect() protoreflect.Message

func (*CloseConsumerResponse) Reset

func (x *CloseConsumerResponse) Reset()

func (*CloseConsumerResponse) String

func (x *CloseConsumerResponse) String() string

type CloseProducerRequest

type CloseProducerRequest struct {
	// contains filtered or unexported fields
}

CloseProducerRequest is the request of the CloseProducer RPC. After CloseProducerRequest is requested, no more ProduceRequest can be sent.

func (*CloseProducerRequest) Descriptor deprecated

func (*CloseProducerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CloseProducerRequest.ProtoReflect.Descriptor instead.

func (*CloseProducerRequest) ProtoMessage

func (*CloseProducerRequest) ProtoMessage()

func (*CloseProducerRequest) ProtoReflect

func (x *CloseProducerRequest) ProtoReflect() protoreflect.Message

func (*CloseProducerRequest) Reset

func (x *CloseProducerRequest) Reset()

func (*CloseProducerRequest) String

func (x *CloseProducerRequest) String() string

type CloseProducerResponse

type CloseProducerResponse struct {
	// contains filtered or unexported fields
}

CloseProducerResponse is the result of the CloseProducer RPC.

func (*CloseProducerResponse) Descriptor deprecated

func (*CloseProducerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CloseProducerResponse.ProtoReflect.Descriptor instead.

func (*CloseProducerResponse) ProtoMessage

func (*CloseProducerResponse) ProtoMessage()

func (*CloseProducerResponse) ProtoReflect

func (x *CloseProducerResponse) ProtoReflect() protoreflect.Message

func (*CloseProducerResponse) Reset

func (x *CloseProducerResponse) Reset()

func (*CloseProducerResponse) String

func (x *CloseProducerResponse) String() string

type CloseVChannelConsumerRequest

type CloseVChannelConsumerRequest struct {
	ConsumerId int64 `protobuf:"varint,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
	// contains filtered or unexported fields
}

CloseVChannelConsumerRequest is the request of the CloseVChannelConsumer RPC.

func (*CloseVChannelConsumerRequest) Descriptor deprecated

func (*CloseVChannelConsumerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CloseVChannelConsumerRequest.ProtoReflect.Descriptor instead.

func (*CloseVChannelConsumerRequest) GetConsumerId

func (x *CloseVChannelConsumerRequest) GetConsumerId() int64

func (*CloseVChannelConsumerRequest) ProtoMessage

func (*CloseVChannelConsumerRequest) ProtoMessage()

func (*CloseVChannelConsumerRequest) ProtoReflect

func (*CloseVChannelConsumerRequest) Reset

func (x *CloseVChannelConsumerRequest) Reset()

func (*CloseVChannelConsumerRequest) String

type CloseVChannelConsumerResponse

type CloseVChannelConsumerResponse struct {
	ConsumerId int64 `protobuf:"varint,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
	// contains filtered or unexported fields
}

CloseVChannelConsumerResponse is the response of the CloseVChannelConsumer RPC.

func (*CloseVChannelConsumerResponse) Descriptor deprecated

func (*CloseVChannelConsumerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CloseVChannelConsumerResponse.ProtoReflect.Descriptor instead.

func (*CloseVChannelConsumerResponse) GetConsumerId

func (x *CloseVChannelConsumerResponse) GetConsumerId() int64

func (*CloseVChannelConsumerResponse) ProtoMessage

func (*CloseVChannelConsumerResponse) ProtoMessage()

func (*CloseVChannelConsumerResponse) ProtoReflect

func (*CloseVChannelConsumerResponse) Reset

func (x *CloseVChannelConsumerResponse) Reset()

func (*CloseVChannelConsumerResponse) String

type CollectionInfoOfVChannel added in v2.6.0

type CollectionInfoOfVChannel struct {
	CollectionId int64                         `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` // collection id.
	Partitions   []*PartitionInfoOfVChannel    `protobuf:"bytes,2,rep,name=partitions,proto3" json:"partitions,omitempty"`                          // partitions.
	Schemas      []*CollectionSchemaOfVChannel `protobuf:"bytes,3,rep,name=schemas,proto3" json:"schemas,omitempty"`                                // The schemas of the vchannel.
	// contains filtered or unexported fields
}

CollectionInfoOfVChannel is the collection info in vchannel.

func (*CollectionInfoOfVChannel) Descriptor deprecated added in v2.6.0

func (*CollectionInfoOfVChannel) Descriptor() ([]byte, []int)

Deprecated: Use CollectionInfoOfVChannel.ProtoReflect.Descriptor instead.

func (*CollectionInfoOfVChannel) GetCollectionId added in v2.6.0

func (x *CollectionInfoOfVChannel) GetCollectionId() int64

func (*CollectionInfoOfVChannel) GetPartitions added in v2.6.0

func (x *CollectionInfoOfVChannel) GetPartitions() []*PartitionInfoOfVChannel

func (*CollectionInfoOfVChannel) GetSchemas added in v2.6.0

func (*CollectionInfoOfVChannel) ProtoMessage added in v2.6.0

func (*CollectionInfoOfVChannel) ProtoMessage()

func (*CollectionInfoOfVChannel) ProtoReflect added in v2.6.0

func (x *CollectionInfoOfVChannel) ProtoReflect() protoreflect.Message

func (*CollectionInfoOfVChannel) Reset added in v2.6.0

func (x *CollectionInfoOfVChannel) Reset()

func (*CollectionInfoOfVChannel) String added in v2.6.0

func (x *CollectionInfoOfVChannel) String() string

type CollectionSchemaOfVChannel added in v2.6.0

type CollectionSchemaOfVChannel struct {
	Schema             *schemapb.CollectionSchema `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`                                                      // The schemas of the vchannel.
	CheckpointTimeTick uint64                     `protobuf:"varint,2,opt,name=checkpoint_time_tick,json=checkpointTimeTick,proto3" json:"checkpoint_time_tick,omitempty"` // The timetick of the schema changed, also the version of the schema.
	State              VChannelSchemaState        `protobuf:"varint,3,opt,name=state,proto3,enum=milvus.proto.streaming.VChannelSchemaState" json:"state,omitempty"`       // The state of the schema.
	// contains filtered or unexported fields
}

CollectionSchemaOfVChannel is the collection schema in vchannel.

func (*CollectionSchemaOfVChannel) Descriptor deprecated added in v2.6.0

func (*CollectionSchemaOfVChannel) Descriptor() ([]byte, []int)

Deprecated: Use CollectionSchemaOfVChannel.ProtoReflect.Descriptor instead.

func (*CollectionSchemaOfVChannel) GetCheckpointTimeTick added in v2.6.0

func (x *CollectionSchemaOfVChannel) GetCheckpointTimeTick() uint64

func (*CollectionSchemaOfVChannel) GetSchema added in v2.6.0

func (*CollectionSchemaOfVChannel) GetState added in v2.6.0

func (*CollectionSchemaOfVChannel) ProtoMessage added in v2.6.0

func (*CollectionSchemaOfVChannel) ProtoMessage()

func (*CollectionSchemaOfVChannel) ProtoReflect added in v2.6.0

func (*CollectionSchemaOfVChannel) Reset added in v2.6.0

func (x *CollectionSchemaOfVChannel) Reset()

func (*CollectionSchemaOfVChannel) String added in v2.6.0

func (x *CollectionSchemaOfVChannel) String() string

type ConsumeMessageReponse

type ConsumeMessageReponse struct {
	ConsumerId int64                      `protobuf:"varint,1,opt,name=consumer_id,json=consumerId,proto3" json:"consumer_id,omitempty"`
	Message    *commonpb.ImmutableMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ConsumeMessageReponse) Descriptor deprecated

func (*ConsumeMessageReponse) Descriptor() ([]byte, []int)

Deprecated: Use ConsumeMessageReponse.ProtoReflect.Descriptor instead.

func (*ConsumeMessageReponse) GetConsumerId

func (x *ConsumeMessageReponse) GetConsumerId() int64

func (*ConsumeMessageReponse) GetMessage

func (*ConsumeMessageReponse) ProtoMessage

func (*ConsumeMessageReponse) ProtoMessage()

func (*ConsumeMessageReponse) ProtoReflect

func (x *ConsumeMessageReponse) ProtoReflect() protoreflect.Message

func (*ConsumeMessageReponse) Reset

func (x *ConsumeMessageReponse) Reset()

func (*ConsumeMessageReponse) String

func (x *ConsumeMessageReponse) String() string

type ConsumeRequest

type ConsumeRequest struct {

	// Types that are assignable to Request:
	//
	//	*ConsumeRequest_CreateVchannelConsumer
	//	*ConsumeRequest_CreateVchannelConsumers
	//	*ConsumeRequest_CloseVchannel
	//	*ConsumeRequest_Close
	Request isConsumeRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

ConsumeRequest is the request of the Consume RPC. Add more control block in future.

func (*ConsumeRequest) Descriptor deprecated

func (*ConsumeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConsumeRequest.ProtoReflect.Descriptor instead.

func (*ConsumeRequest) GetClose

func (x *ConsumeRequest) GetClose() *CloseConsumerRequest

func (*ConsumeRequest) GetCloseVchannel

func (x *ConsumeRequest) GetCloseVchannel() *CloseVChannelConsumerRequest

func (*ConsumeRequest) GetCreateVchannelConsumer

func (x *ConsumeRequest) GetCreateVchannelConsumer() *CreateVChannelConsumerRequest

func (*ConsumeRequest) GetCreateVchannelConsumers

func (x *ConsumeRequest) GetCreateVchannelConsumers() *CreateVChannelConsumersRequest

func (*ConsumeRequest) GetRequest

func (m *ConsumeRequest) GetRequest() isConsumeRequest_Request

func (*ConsumeRequest) ProtoMessage

func (*ConsumeRequest) ProtoMessage()

func (*ConsumeRequest) ProtoReflect

func (x *ConsumeRequest) ProtoReflect() protoreflect.Message

func (*ConsumeRequest) Reset

func (x *ConsumeRequest) Reset()

func (*ConsumeRequest) String

func (x *ConsumeRequest) String() string

type ConsumeRequest_Close

type ConsumeRequest_Close struct {
	Close *CloseConsumerRequest `protobuf:"bytes,4,opt,name=close,proto3,oneof"`
}

type ConsumeRequest_CloseVchannel

type ConsumeRequest_CloseVchannel struct {
	CloseVchannel *CloseVChannelConsumerRequest `protobuf:"bytes,3,opt,name=close_vchannel,json=closeVchannel,proto3,oneof"`
}

type ConsumeRequest_CreateVchannelConsumer

type ConsumeRequest_CreateVchannelConsumer struct {
	CreateVchannelConsumer *CreateVChannelConsumerRequest `protobuf:"bytes,1,opt,name=create_vchannel_consumer,json=createVchannelConsumer,proto3,oneof"`
}

type ConsumeRequest_CreateVchannelConsumers

type ConsumeRequest_CreateVchannelConsumers struct {
	CreateVchannelConsumers *CreateVChannelConsumersRequest `protobuf:"bytes,2,opt,name=create_vchannel_consumers,json=createVchannelConsumers,proto3,oneof"` // Create multiple vchannel consumers, used for recovery in future.
}

type ConsumeResponse

type ConsumeResponse struct {

	// Types that are assignable to Response:
	//
	//	*ConsumeResponse_Create
	//	*ConsumeResponse_Consume
	//	*ConsumeResponse_CreateVchannel
	//	*ConsumeResponse_CreateVchannels
	//	*ConsumeResponse_CloseVchannel
	//	*ConsumeResponse_Close
	Response isConsumeResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

ConsumeResponse is the reponse of the Consume RPC.

func (*ConsumeResponse) Descriptor deprecated

func (*ConsumeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConsumeResponse.ProtoReflect.Descriptor instead.

func (*ConsumeResponse) GetClose

func (x *ConsumeResponse) GetClose() *CloseConsumerResponse

func (*ConsumeResponse) GetCloseVchannel

func (x *ConsumeResponse) GetCloseVchannel() *CloseVChannelConsumerResponse

func (*ConsumeResponse) GetConsume

func (x *ConsumeResponse) GetConsume() *ConsumeMessageReponse

func (*ConsumeResponse) GetCreate

func (x *ConsumeResponse) GetCreate() *CreateConsumerResponse

func (*ConsumeResponse) GetCreateVchannel

func (x *ConsumeResponse) GetCreateVchannel() *CreateVChannelConsumerResponse

func (*ConsumeResponse) GetCreateVchannels

func (x *ConsumeResponse) GetCreateVchannels() *CreateVChannelConsumersResponse

func (*ConsumeResponse) GetResponse

func (m *ConsumeResponse) GetResponse() isConsumeResponse_Response

func (*ConsumeResponse) ProtoMessage

func (*ConsumeResponse) ProtoMessage()

func (*ConsumeResponse) ProtoReflect

func (x *ConsumeResponse) ProtoReflect() protoreflect.Message

func (*ConsumeResponse) Reset

func (x *ConsumeResponse) Reset()

func (*ConsumeResponse) String

func (x *ConsumeResponse) String() string

type ConsumeResponse_Close

type ConsumeResponse_Close struct {
	Close *CloseConsumerResponse `protobuf:"bytes,6,opt,name=close,proto3,oneof"`
}

type ConsumeResponse_CloseVchannel

type ConsumeResponse_CloseVchannel struct {
	CloseVchannel *CloseVChannelConsumerResponse `protobuf:"bytes,5,opt,name=close_vchannel,json=closeVchannel,proto3,oneof"`
}

type ConsumeResponse_Consume

type ConsumeResponse_Consume struct {
	Consume *ConsumeMessageReponse `protobuf:"bytes,2,opt,name=consume,proto3,oneof"`
}

type ConsumeResponse_Create

type ConsumeResponse_Create struct {
	Create *CreateConsumerResponse `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}

type ConsumeResponse_CreateVchannel

type ConsumeResponse_CreateVchannel struct {
	CreateVchannel *CreateVChannelConsumerResponse `protobuf:"bytes,3,opt,name=create_vchannel,json=createVchannel,proto3,oneof"`
}

type ConsumeResponse_CreateVchannels

type ConsumeResponse_CreateVchannels struct {
	CreateVchannels *CreateVChannelConsumersResponse `protobuf:"bytes,4,opt,name=create_vchannels,json=createVchannels,proto3,oneof"`
}

type CreateConsumerRequest

type CreateConsumerRequest struct {
	Pchannel *PChannelInfo `protobuf:"bytes,1,opt,name=pchannel,proto3" json:"pchannel,omitempty"`
	// contains filtered or unexported fields
}

CreateConsumerRequest is the request of the CreateConsumer RPC. CreateConsumerRequest is passed in the header of stream.

func (*CreateConsumerRequest) Descriptor deprecated

func (*CreateConsumerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateConsumerRequest.ProtoReflect.Descriptor instead.

func (*CreateConsumerRequest) GetPchannel

func (x *CreateConsumerRequest) GetPchannel() *PChannelInfo

func (*CreateConsumerRequest) ProtoMessage

func (*CreateConsumerRequest) ProtoMessage()

func (*CreateConsumerRequest) ProtoReflect

func (x *CreateConsumerRequest) ProtoReflect() protoreflect.Message

func (*CreateConsumerRequest) Reset

func (x *CreateConsumerRequest) Reset()

func (*CreateConsumerRequest) String

func (x *CreateConsumerRequest) String() string

type CreateConsumerResponse

type CreateConsumerResponse struct {

	// Deprecated: Marked as deprecated in streaming.proto.
	WalName string `protobuf:"bytes,1,opt,name=wal_name,json=walName,proto3" json:"wal_name,omitempty"` // wal name at server side.
	// A unique consumer id on streamingnode for this
	// consumer in streamingnode lifetime.
	ConsumerServerId int64 `protobuf:"varint,2,opt,name=consumer_server_id,json=consumerServerId,proto3" json:"consumer_server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateConsumerResponse) Descriptor deprecated

func (*CreateConsumerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateConsumerResponse.ProtoReflect.Descriptor instead.

func (*CreateConsumerResponse) GetConsumerServerId

func (x *CreateConsumerResponse) GetConsumerServerId() int64

func (*CreateConsumerResponse) GetWalName deprecated

func (x *CreateConsumerResponse) GetWalName() string

Deprecated: Marked as deprecated in streaming.proto.

func (*CreateConsumerResponse) ProtoMessage

func (*CreateConsumerResponse) ProtoMessage()

func (*CreateConsumerResponse) ProtoReflect

func (x *CreateConsumerResponse) ProtoReflect() protoreflect.Message

func (*CreateConsumerResponse) Reset

func (x *CreateConsumerResponse) Reset()

func (*CreateConsumerResponse) String

func (x *CreateConsumerResponse) String() string

type CreateProducerRequest

type CreateProducerRequest struct {
	Pchannel *PChannelInfo `protobuf:"bytes,1,opt,name=pchannel,proto3" json:"pchannel,omitempty"`
	// contains filtered or unexported fields
}

CreateProducerRequest is the request of the CreateProducer RPC. CreateProducerRequest is passed in the header of stream.

func (*CreateProducerRequest) Descriptor deprecated

func (*CreateProducerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateProducerRequest.ProtoReflect.Descriptor instead.

func (*CreateProducerRequest) GetPchannel

func (x *CreateProducerRequest) GetPchannel() *PChannelInfo

func (*CreateProducerRequest) ProtoMessage

func (*CreateProducerRequest) ProtoMessage()

func (*CreateProducerRequest) ProtoReflect

func (x *CreateProducerRequest) ProtoReflect() protoreflect.Message

func (*CreateProducerRequest) Reset

func (x *CreateProducerRequest) Reset()

func (*CreateProducerRequest) String

func (x *CreateProducerRequest) String() string

type CreateProducerResponse

type CreateProducerResponse struct {

	// Deprecated: Marked as deprecated in streaming.proto.
	WalName          string `protobuf:"bytes,1,opt,name=wal_name,json=walName,proto3" json:"wal_name,omitempty"`                               // wal name at server side.
	ProducerServerId int64  `protobuf:"varint,2,opt,name=producer_server_id,json=producerServerId,proto3" json:"producer_server_id,omitempty"` // A unique producer server id on streamingnode
	// contains filtered or unexported fields
}

CreateProducerResponse is the result of the CreateProducer RPC.

func (*CreateProducerResponse) Descriptor deprecated

func (*CreateProducerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateProducerResponse.ProtoReflect.Descriptor instead.

func (*CreateProducerResponse) GetProducerServerId

func (x *CreateProducerResponse) GetProducerServerId() int64

func (*CreateProducerResponse) GetWalName deprecated

func (x *CreateProducerResponse) GetWalName() string

Deprecated: Marked as deprecated in streaming.proto.

func (*CreateProducerResponse) ProtoMessage

func (*CreateProducerResponse) ProtoMessage()

func (*CreateProducerResponse) ProtoReflect

func (x *CreateProducerResponse) ProtoReflect() protoreflect.Message

func (*CreateProducerResponse) Reset

func (x *CreateProducerResponse) Reset()

func (*CreateProducerResponse) String

func (x *CreateProducerResponse) String() string

type CreateVChannelConsumerRequest

type CreateVChannelConsumerRequest struct {
	Vchannel       string           `protobuf:"bytes,1,opt,name=vchannel,proto3" json:"vchannel,omitempty"`
	DeliverPolicy  *DeliverPolicy   `protobuf:"bytes,2,opt,name=deliver_policy,json=deliverPolicy,proto3" json:"deliver_policy,omitempty"`    // deliver policy.
	DeliverFilters []*DeliverFilter `protobuf:"bytes,3,rep,name=deliver_filters,json=deliverFilters,proto3" json:"deliver_filters,omitempty"` // deliver filter.
	// contains filtered or unexported fields
}

CreateVChannelConsumerRequest is the request of the CreateVChannelConsumer RPC. It's used to create a new vchannel consumer at server side.

func (*CreateVChannelConsumerRequest) Descriptor deprecated

func (*CreateVChannelConsumerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVChannelConsumerRequest.ProtoReflect.Descriptor instead.

func (*CreateVChannelConsumerRequest) GetDeliverFilters

func (x *CreateVChannelConsumerRequest) GetDeliverFilters() []*DeliverFilter

func (*CreateVChannelConsumerRequest) GetDeliverPolicy

func (x *CreateVChannelConsumerRequest) GetDeliverPolicy() *DeliverPolicy

func (*CreateVChannelConsumerRequest) GetVchannel

func (x *CreateVChannelConsumerRequest) GetVchannel() string

func (*CreateVChannelConsumerRequest) ProtoMessage

func (*CreateVChannelConsumerRequest) ProtoMessage()

func (*CreateVChannelConsumerRequest) ProtoReflect

func (*CreateVChannelConsumerRequest) Reset

func (x *CreateVChannelConsumerRequest) Reset()

func (*CreateVChannelConsumerRequest) String

type CreateVChannelConsumerResponse

type CreateVChannelConsumerResponse struct {

	// Types that are assignable to Response:
	//
	//	*CreateVChannelConsumerResponse_ConsumerId
	//	*CreateVChannelConsumerResponse_Error
	Response isCreateVChannelConsumerResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

CreateVChannelConsumerResponse is the response of the CreateVChannelConsumer RPC.

func (*CreateVChannelConsumerResponse) Descriptor deprecated

func (*CreateVChannelConsumerResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateVChannelConsumerResponse.ProtoReflect.Descriptor instead.

func (*CreateVChannelConsumerResponse) GetConsumerId

func (x *CreateVChannelConsumerResponse) GetConsumerId() int64

func (*CreateVChannelConsumerResponse) GetError

func (*CreateVChannelConsumerResponse) GetResponse

func (m *CreateVChannelConsumerResponse) GetResponse() isCreateVChannelConsumerResponse_Response

func (*CreateVChannelConsumerResponse) ProtoMessage

func (*CreateVChannelConsumerResponse) ProtoMessage()

func (*CreateVChannelConsumerResponse) ProtoReflect

func (*CreateVChannelConsumerResponse) Reset

func (x *CreateVChannelConsumerResponse) Reset()

func (*CreateVChannelConsumerResponse) String

type CreateVChannelConsumerResponse_ConsumerId

type CreateVChannelConsumerResponse_ConsumerId struct {
	ConsumerId int64 `protobuf:"varint,1,opt,name=consumer_id,json=consumerId,proto3,oneof"`
}

type CreateVChannelConsumerResponse_Error

type CreateVChannelConsumerResponse_Error struct {
	Error *StreamingError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type CreateVChannelConsumersRequest

type CreateVChannelConsumersRequest struct {
	CreateVchannels []*CreateVChannelConsumerRequest `protobuf:"bytes,1,rep,name=create_vchannels,json=createVchannels,proto3" json:"create_vchannels,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVChannelConsumersRequest) Descriptor deprecated

func (*CreateVChannelConsumersRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVChannelConsumersRequest.ProtoReflect.Descriptor instead.

func (*CreateVChannelConsumersRequest) GetCreateVchannels

func (*CreateVChannelConsumersRequest) ProtoMessage

func (*CreateVChannelConsumersRequest) ProtoMessage()

func (*CreateVChannelConsumersRequest) ProtoReflect

func (*CreateVChannelConsumersRequest) Reset

func (x *CreateVChannelConsumersRequest) Reset()

func (*CreateVChannelConsumersRequest) String

type CreateVChannelConsumersResponse

type CreateVChannelConsumersResponse struct {
	CreateVchannels []*CreateVChannelConsumerResponse `protobuf:"bytes,1,rep,name=create_vchannels,json=createVchannels,proto3" json:"create_vchannels,omitempty"`
	// contains filtered or unexported fields
}

ConsumeMessageRequest is the request of the Consume RPC.

func (*CreateVChannelConsumersResponse) Descriptor deprecated

func (*CreateVChannelConsumersResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateVChannelConsumersResponse.ProtoReflect.Descriptor instead.

func (*CreateVChannelConsumersResponse) GetCreateVchannels

func (*CreateVChannelConsumersResponse) ProtoMessage

func (*CreateVChannelConsumersResponse) ProtoMessage()

func (*CreateVChannelConsumersResponse) ProtoReflect

func (*CreateVChannelConsumersResponse) Reset

func (*CreateVChannelConsumersResponse) String

type DeliverFilter

type DeliverFilter struct {

	// Types that are assignable to Filter:
	//
	//	*DeliverFilter_TimeTickGt
	//	*DeliverFilter_TimeTickGte
	//	*DeliverFilter_MessageType
	Filter isDeliverFilter_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

DeliverFilter is the filter to deliver message.

func (*DeliverFilter) Descriptor deprecated

func (*DeliverFilter) Descriptor() ([]byte, []int)

Deprecated: Use DeliverFilter.ProtoReflect.Descriptor instead.

func (*DeliverFilter) GetFilter

func (m *DeliverFilter) GetFilter() isDeliverFilter_Filter

func (*DeliverFilter) GetMessageType

func (x *DeliverFilter) GetMessageType() *DeliverFilterMessageType

func (*DeliverFilter) GetTimeTickGt

func (x *DeliverFilter) GetTimeTickGt() *DeliverFilterTimeTickGT

func (*DeliverFilter) GetTimeTickGte

func (x *DeliverFilter) GetTimeTickGte() *DeliverFilterTimeTickGTE

func (*DeliverFilter) ProtoMessage

func (*DeliverFilter) ProtoMessage()

func (*DeliverFilter) ProtoReflect

func (x *DeliverFilter) ProtoReflect() protoreflect.Message

func (*DeliverFilter) Reset

func (x *DeliverFilter) Reset()

func (*DeliverFilter) String

func (x *DeliverFilter) String() string

type DeliverFilterMessageType

type DeliverFilterMessageType struct {

	// deliver message with message type.
	MessageTypes []messagespb.MessageType `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeliverFilterMessageType) Descriptor deprecated

func (*DeliverFilterMessageType) Descriptor() ([]byte, []int)

Deprecated: Use DeliverFilterMessageType.ProtoReflect.Descriptor instead.

func (*DeliverFilterMessageType) GetMessageTypes

func (x *DeliverFilterMessageType) GetMessageTypes() []messagespb.MessageType

func (*DeliverFilterMessageType) ProtoMessage

func (*DeliverFilterMessageType) ProtoMessage()

func (*DeliverFilterMessageType) ProtoReflect

func (x *DeliverFilterMessageType) ProtoReflect() protoreflect.Message

func (*DeliverFilterMessageType) Reset

func (x *DeliverFilterMessageType) Reset()

func (*DeliverFilterMessageType) String

func (x *DeliverFilterMessageType) String() string

type DeliverFilterTimeTickGT

type DeliverFilterTimeTickGT struct {
	TimeTick uint64 `protobuf:"varint,1,opt,name=time_tick,json=timeTick,proto3" json:"time_tick,omitempty"` // deliver message with time tick greater than this value.
	// contains filtered or unexported fields
}

DeliverFilterTimeTickGT is the filter to deliver message with time tick greater than this value.

func (*DeliverFilterTimeTickGT) Descriptor deprecated

func (*DeliverFilterTimeTickGT) Descriptor() ([]byte, []int)

Deprecated: Use DeliverFilterTimeTickGT.ProtoReflect.Descriptor instead.

func (*DeliverFilterTimeTickGT) GetTimeTick

func (x *DeliverFilterTimeTickGT) GetTimeTick() uint64

func (*DeliverFilterTimeTickGT) ProtoMessage

func (*DeliverFilterTimeTickGT) ProtoMessage()

func (*DeliverFilterTimeTickGT) ProtoReflect

func (x *DeliverFilterTimeTickGT) ProtoReflect() protoreflect.Message

func (*DeliverFilterTimeTickGT) Reset

func (x *DeliverFilterTimeTickGT) Reset()

func (*DeliverFilterTimeTickGT) String

func (x *DeliverFilterTimeTickGT) String() string

type DeliverFilterTimeTickGTE

type DeliverFilterTimeTickGTE struct {
	TimeTick uint64 `protobuf:"varint,1,opt,name=time_tick,json=timeTick,proto3" json:"time_tick,omitempty"` // deliver message with time tick greater than or
	// contains filtered or unexported fields
}

DeliverFilterTimeTickGTE is the filter to deliver message with time tick greater than or equal to this value.

func (*DeliverFilterTimeTickGTE) Descriptor deprecated

func (*DeliverFilterTimeTickGTE) Descriptor() ([]byte, []int)

Deprecated: Use DeliverFilterTimeTickGTE.ProtoReflect.Descriptor instead.

func (*DeliverFilterTimeTickGTE) GetTimeTick

func (x *DeliverFilterTimeTickGTE) GetTimeTick() uint64

func (*DeliverFilterTimeTickGTE) ProtoMessage

func (*DeliverFilterTimeTickGTE) ProtoMessage()

func (*DeliverFilterTimeTickGTE) ProtoReflect

func (x *DeliverFilterTimeTickGTE) ProtoReflect() protoreflect.Message

func (*DeliverFilterTimeTickGTE) Reset

func (x *DeliverFilterTimeTickGTE) Reset()

func (*DeliverFilterTimeTickGTE) String

func (x *DeliverFilterTimeTickGTE) String() string

type DeliverFilter_MessageType

type DeliverFilter_MessageType struct {
	MessageType *DeliverFilterMessageType `protobuf:"bytes,3,opt,name=message_type,json=messageType,proto3,oneof"`
}

type DeliverFilter_TimeTickGt

type DeliverFilter_TimeTickGt struct {
	TimeTickGt *DeliverFilterTimeTickGT `protobuf:"bytes,1,opt,name=time_tick_gt,json=timeTickGt,proto3,oneof"`
}

type DeliverFilter_TimeTickGte

type DeliverFilter_TimeTickGte struct {
	TimeTickGte *DeliverFilterTimeTickGTE `protobuf:"bytes,2,opt,name=time_tick_gte,json=timeTickGte,proto3,oneof"`
}

type DeliverPolicy

type DeliverPolicy struct {

	// Types that are assignable to Policy:
	//
	//	*DeliverPolicy_All
	//	*DeliverPolicy_Latest
	//	*DeliverPolicy_StartFrom
	//	*DeliverPolicy_StartAfter
	Policy isDeliverPolicy_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

DeliverPolicy is the policy to deliver message.

func (*DeliverPolicy) Descriptor deprecated

func (*DeliverPolicy) Descriptor() ([]byte, []int)

Deprecated: Use DeliverPolicy.ProtoReflect.Descriptor instead.

func (*DeliverPolicy) GetAll

func (x *DeliverPolicy) GetAll() *emptypb.Empty

func (*DeliverPolicy) GetLatest

func (x *DeliverPolicy) GetLatest() *emptypb.Empty

func (*DeliverPolicy) GetPolicy

func (m *DeliverPolicy) GetPolicy() isDeliverPolicy_Policy

func (*DeliverPolicy) GetStartAfter

func (x *DeliverPolicy) GetStartAfter() *commonpb.MessageID

func (*DeliverPolicy) GetStartFrom

func (x *DeliverPolicy) GetStartFrom() *commonpb.MessageID

func (*DeliverPolicy) ProtoMessage

func (*DeliverPolicy) ProtoMessage()

func (*DeliverPolicy) ProtoReflect

func (x *DeliverPolicy) ProtoReflect() protoreflect.Message

func (*DeliverPolicy) Reset

func (x *DeliverPolicy) Reset()

func (*DeliverPolicy) String

func (x *DeliverPolicy) String() string

type DeliverPolicy_All

type DeliverPolicy_All struct {
	All *emptypb.Empty `protobuf:"bytes,1,opt,name=all,proto3,oneof"` // deliver all messages.
}

type DeliverPolicy_Latest

type DeliverPolicy_Latest struct {
	Latest *emptypb.Empty `protobuf:"bytes,2,opt,name=latest,proto3,oneof"` // deliver the latest message.
}

type DeliverPolicy_StartAfter

type DeliverPolicy_StartAfter struct {
	StartAfter *commonpb.MessageID `protobuf:"bytes,4,opt,name=start_after,json=startAfter,proto3,oneof"` // deliver message after this message id. (startAfter, ...]
}

type DeliverPolicy_StartFrom

type DeliverPolicy_StartFrom struct {
	StartFrom *commonpb.MessageID `protobuf:"bytes,3,opt,name=start_from,json=startFrom,proto3,oneof"` // deliver message from this message id. [startFrom, ...]
}

type FullStreamingNodeAssignmentWithVersion

type FullStreamingNodeAssignmentWithVersion struct {
	Version                *VersionPair                     `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Assignments            []*StreamingNodeAssignment       `protobuf:"bytes,2,rep,name=assignments,proto3" json:"assignments,omitempty"`
	Cchannel               *CChannelAssignment              `protobuf:"bytes,3,opt,name=cchannel,proto3" json:"cchannel,omitempty"` // Where the control channel located.
	ReplicateConfiguration *commonpb.ReplicateConfiguration ``                                                                      /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

FullStreamingNodeAssignmentWithVersion is the full assignment info of a log node with version.

func (*FullStreamingNodeAssignmentWithVersion) Descriptor deprecated

func (*FullStreamingNodeAssignmentWithVersion) Descriptor() ([]byte, []int)

Deprecated: Use FullStreamingNodeAssignmentWithVersion.ProtoReflect.Descriptor instead.

func (*FullStreamingNodeAssignmentWithVersion) GetAssignments

func (*FullStreamingNodeAssignmentWithVersion) GetCchannel added in v2.6.2

func (*FullStreamingNodeAssignmentWithVersion) GetReplicateConfiguration added in v2.6.2

func (*FullStreamingNodeAssignmentWithVersion) GetVersion

func (*FullStreamingNodeAssignmentWithVersion) ProtoMessage

func (*FullStreamingNodeAssignmentWithVersion) ProtoReflect

func (*FullStreamingNodeAssignmentWithVersion) Reset

func (*FullStreamingNodeAssignmentWithVersion) String

type GetReplicateCheckpointRequest added in v2.6.2

type GetReplicateCheckpointRequest struct {
	Pchannel *PChannelInfo `protobuf:"bytes,1,opt,name=pchannel,proto3" json:"pchannel,omitempty"`
	// contains filtered or unexported fields
}

GetReplicateCheckpointRequest is the request of GetReplicateCheckpoint service.

func (*GetReplicateCheckpointRequest) Descriptor deprecated added in v2.6.2

func (*GetReplicateCheckpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetReplicateCheckpointRequest.ProtoReflect.Descriptor instead.

func (*GetReplicateCheckpointRequest) GetPchannel added in v2.6.2

func (x *GetReplicateCheckpointRequest) GetPchannel() *PChannelInfo

func (*GetReplicateCheckpointRequest) ProtoMessage added in v2.6.2

func (*GetReplicateCheckpointRequest) ProtoMessage()

func (*GetReplicateCheckpointRequest) ProtoReflect added in v2.6.2

func (*GetReplicateCheckpointRequest) Reset added in v2.6.2

func (x *GetReplicateCheckpointRequest) Reset()

func (*GetReplicateCheckpointRequest) String added in v2.6.2

type GetReplicateCheckpointResponse added in v2.6.2

type GetReplicateCheckpointResponse struct {
	Checkpoint *commonpb.ReplicateCheckpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	// contains filtered or unexported fields
}

GetReplicateCheckpointResponse is the response of GetReplicateCheckpoint service.

func (*GetReplicateCheckpointResponse) Descriptor deprecated added in v2.6.2

func (*GetReplicateCheckpointResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetReplicateCheckpointResponse.ProtoReflect.Descriptor instead.

func (*GetReplicateCheckpointResponse) GetCheckpoint added in v2.6.2

func (*GetReplicateCheckpointResponse) ProtoMessage added in v2.6.2

func (*GetReplicateCheckpointResponse) ProtoMessage()

func (*GetReplicateCheckpointResponse) ProtoReflect added in v2.6.2

func (*GetReplicateCheckpointResponse) Reset added in v2.6.2

func (x *GetReplicateCheckpointResponse) Reset()

func (*GetReplicateCheckpointResponse) String added in v2.6.2

type PChannelAccessMode added in v2.6.0

type PChannelAccessMode int32

PChannelAccessMode is the access mode of a pchannel.

const (
	PChannelAccessMode_PCHANNEL_ACCESS_READWRITE PChannelAccessMode = 0 // read and write by default.
	PChannelAccessMode_PCHANNEL_ACCESS_READONLY  PChannelAccessMode = 1 // read only.
)

func (PChannelAccessMode) Descriptor added in v2.6.0

func (PChannelAccessMode) Enum added in v2.6.0

func (PChannelAccessMode) EnumDescriptor deprecated added in v2.6.0

func (PChannelAccessMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use PChannelAccessMode.Descriptor instead.

func (PChannelAccessMode) Number added in v2.6.0

func (PChannelAccessMode) String added in v2.6.0

func (x PChannelAccessMode) String() string

func (PChannelAccessMode) Type added in v2.6.0

type PChannelAssignmentLog

type PChannelAssignmentLog struct {
	Term       int64              `protobuf:"varint,1,opt,name=term,proto3" json:"term,omitempty"` // term when server assigned.
	Node       *StreamingNodeInfo `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`  // streaming node that the channel is assigned to.
	AccessMode PChannelAccessMode ``                                                               // access mode of the channel.
	/* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

PChannelAssignmentLog is the log of meta information of a pchannel, should only keep the data that is necessary to persistent.

func (*PChannelAssignmentLog) Descriptor deprecated

func (*PChannelAssignmentLog) Descriptor() ([]byte, []int)

Deprecated: Use PChannelAssignmentLog.ProtoReflect.Descriptor instead.

func (*PChannelAssignmentLog) GetAccessMode added in v2.6.0

func (x *PChannelAssignmentLog) GetAccessMode() PChannelAccessMode

func (*PChannelAssignmentLog) GetNode

func (*PChannelAssignmentLog) GetTerm

func (x *PChannelAssignmentLog) GetTerm() int64

func (*PChannelAssignmentLog) ProtoMessage

func (*PChannelAssignmentLog) ProtoMessage()

func (*PChannelAssignmentLog) ProtoReflect

func (x *PChannelAssignmentLog) ProtoReflect() protoreflect.Message

func (*PChannelAssignmentLog) Reset

func (x *PChannelAssignmentLog) Reset()

func (*PChannelAssignmentLog) String

func (x *PChannelAssignmentLog) String() string

type PChannelInfo

type PChannelInfo struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`  // channel name
	Term int64  `protobuf:"varint,2,opt,name=term,proto3" json:"term,omitempty"` // A monotonic increasing term, every time the channel is
	// recovered or moved to another streamingnode, the term
	// will increase by meta server.
	AccessMode PChannelAccessMode `` // access mode of the channel.
	/* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

PChannelInfo is the information of a pchannel info, should only keep the basic info of a pchannel. It's used in many rpc and meta, so keep it simple.

func (*PChannelInfo) Descriptor deprecated

func (*PChannelInfo) Descriptor() ([]byte, []int)

Deprecated: Use PChannelInfo.ProtoReflect.Descriptor instead.

func (*PChannelInfo) GetAccessMode added in v2.6.0

func (x *PChannelInfo) GetAccessMode() PChannelAccessMode

func (*PChannelInfo) GetName

func (x *PChannelInfo) GetName() string

func (*PChannelInfo) GetTerm

func (x *PChannelInfo) GetTerm() int64

func (*PChannelInfo) ProtoMessage

func (*PChannelInfo) ProtoMessage()

func (*PChannelInfo) ProtoReflect

func (x *PChannelInfo) ProtoReflect() protoreflect.Message

func (*PChannelInfo) Reset

func (x *PChannelInfo) Reset()

func (*PChannelInfo) String

func (x *PChannelInfo) String() string

type PChannelMeta

type PChannelMeta struct {
	Channel                    *PChannelInfo            `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`                                            // keep the meta info that current assigned to.
	Node                       *StreamingNodeInfo       `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`                                                  // nil if channel is not uninitialized.
	State                      PChannelMetaState        `protobuf:"varint,3,opt,name=state,proto3,enum=milvus.proto.streaming.PChannelMetaState" json:"state,omitempty"` // state of the channel.
	Histories                  []*PChannelAssignmentLog `protobuf:"bytes,4,rep,name=histories,proto3" json:"histories,omitempty"`                                        // keep the meta info assignment log that used to be assigned to.
	LastAssignTimestampSeconds uint64                   ``                                                                                                               // The last assigned timestamp in seconds.
	/* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

PChannelMeta is the meta information of a pchannel, should only keep the data that is necessary to persistent. It's only used in meta, so do not use it in rpc.

func (*PChannelMeta) Descriptor deprecated

func (*PChannelMeta) Descriptor() ([]byte, []int)

Deprecated: Use PChannelMeta.ProtoReflect.Descriptor instead.

func (*PChannelMeta) GetChannel

func (x *PChannelMeta) GetChannel() *PChannelInfo

func (*PChannelMeta) GetHistories

func (x *PChannelMeta) GetHistories() []*PChannelAssignmentLog

func (*PChannelMeta) GetLastAssignTimestampSeconds added in v2.6.0

func (x *PChannelMeta) GetLastAssignTimestampSeconds() uint64

func (*PChannelMeta) GetNode

func (x *PChannelMeta) GetNode() *StreamingNodeInfo

func (*PChannelMeta) GetState

func (x *PChannelMeta) GetState() PChannelMetaState

func (*PChannelMeta) ProtoMessage

func (*PChannelMeta) ProtoMessage()

func (*PChannelMeta) ProtoReflect

func (x *PChannelMeta) ProtoReflect() protoreflect.Message

func (*PChannelMeta) Reset

func (x *PChannelMeta) Reset()

func (*PChannelMeta) String

func (x *PChannelMeta) String() string

type PChannelMetaState

type PChannelMetaState int32

PChannelMetaState

const (
	PChannelMetaState_PCHANNEL_META_STATE_UNKNOWN       PChannelMetaState = 0 // should never used.
	PChannelMetaState_PCHANNEL_META_STATE_UNINITIALIZED PChannelMetaState = 1 // channel is uninitialized, never assgined to any streaming node.
	PChannelMetaState_PCHANNEL_META_STATE_ASSIGNING     PChannelMetaState = 2 // new term is allocated, but not determined to be assgined.
	PChannelMetaState_PCHANNEL_META_STATE_ASSIGNED      PChannelMetaState = 3 // channel is assigned to a streaming node.
	PChannelMetaState_PCHANNEL_META_STATE_UNAVAILABLE   PChannelMetaState = 4 // channel is unavailable at this term.
)

func (PChannelMetaState) Descriptor

func (PChannelMetaState) Enum

func (PChannelMetaState) EnumDescriptor deprecated

func (PChannelMetaState) EnumDescriptor() ([]byte, []int)

Deprecated: Use PChannelMetaState.Descriptor instead.

func (PChannelMetaState) Number

func (PChannelMetaState) String

func (x PChannelMetaState) String() string

func (PChannelMetaState) Type

type PartitionInfoOfVChannel added in v2.6.0

type PartitionInfoOfVChannel struct {
	PartitionId int64 `protobuf:"varint,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` // partition id.
	// contains filtered or unexported fields
}

PartitionInfoOfVChannel is the partition info in vchannel.

func (*PartitionInfoOfVChannel) Descriptor deprecated added in v2.6.0

func (*PartitionInfoOfVChannel) Descriptor() ([]byte, []int)

Deprecated: Use PartitionInfoOfVChannel.ProtoReflect.Descriptor instead.

func (*PartitionInfoOfVChannel) GetPartitionId added in v2.6.0

func (x *PartitionInfoOfVChannel) GetPartitionId() int64

func (*PartitionInfoOfVChannel) ProtoMessage added in v2.6.0

func (*PartitionInfoOfVChannel) ProtoMessage()

func (*PartitionInfoOfVChannel) ProtoReflect added in v2.6.0

func (x *PartitionInfoOfVChannel) ProtoReflect() protoreflect.Message

func (*PartitionInfoOfVChannel) Reset added in v2.6.0

func (x *PartitionInfoOfVChannel) Reset()

func (*PartitionInfoOfVChannel) String added in v2.6.0

func (x *PartitionInfoOfVChannel) String() string

type ProduceMessageRequest

type ProduceMessageRequest struct {
	RequestId int64               `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // request id for reply.
	Message   *messagespb.Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`                       // message to be sent.
	// contains filtered or unexported fields
}

ProduceMessageRequest is the request of the Produce RPC.

func (*ProduceMessageRequest) Descriptor deprecated

func (*ProduceMessageRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProduceMessageRequest.ProtoReflect.Descriptor instead.

func (*ProduceMessageRequest) GetMessage

func (x *ProduceMessageRequest) GetMessage() *messagespb.Message

func (*ProduceMessageRequest) GetRequestId

func (x *ProduceMessageRequest) GetRequestId() int64

func (*ProduceMessageRequest) ProtoMessage

func (*ProduceMessageRequest) ProtoMessage()

func (*ProduceMessageRequest) ProtoReflect

func (x *ProduceMessageRequest) ProtoReflect() protoreflect.Message

func (*ProduceMessageRequest) Reset

func (x *ProduceMessageRequest) Reset()

func (*ProduceMessageRequest) String

func (x *ProduceMessageRequest) String() string

type ProduceMessageResponse

type ProduceMessageResponse struct {
	RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Types that are assignable to Response:
	//
	//	*ProduceMessageResponse_Result
	//	*ProduceMessageResponse_Error
	Response isProduceMessageResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

ProduceMessageResponse is the response of the ProduceMessage RPC.

func (*ProduceMessageResponse) Descriptor deprecated

func (*ProduceMessageResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProduceMessageResponse.ProtoReflect.Descriptor instead.

func (*ProduceMessageResponse) GetError

func (x *ProduceMessageResponse) GetError() *StreamingError

func (*ProduceMessageResponse) GetRequestId

func (x *ProduceMessageResponse) GetRequestId() int64

func (*ProduceMessageResponse) GetResponse

func (m *ProduceMessageResponse) GetResponse() isProduceMessageResponse_Response

func (*ProduceMessageResponse) GetResult

func (*ProduceMessageResponse) ProtoMessage

func (*ProduceMessageResponse) ProtoMessage()

func (*ProduceMessageResponse) ProtoReflect

func (x *ProduceMessageResponse) ProtoReflect() protoreflect.Message

func (*ProduceMessageResponse) Reset

func (x *ProduceMessageResponse) Reset()

func (*ProduceMessageResponse) String

func (x *ProduceMessageResponse) String() string

type ProduceMessageResponseResult

type ProduceMessageResponseResult struct {
	Id              *commonpb.MessageID    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                                    // the offset of the message in the channel.
	Timetick        uint64                 `protobuf:"varint,2,opt,name=timetick,proto3" json:"timetick,omitempty"`                                       // the timetick of that message sent.
	TxnContext      *messagespb.TxnContext `protobuf:"bytes,3,opt,name=txnContext,proto3" json:"txnContext,omitempty"`                                    // the txn context of the message.
	Extra           *anypb.Any             `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"`                                              // the extra message.
	LastConfirmedId *commonpb.MessageID    `protobuf:"bytes,5,opt,name=last_confirmed_id,json=lastConfirmedId,proto3" json:"last_confirmed_id,omitempty"` // the last confirmed message id.
	// contains filtered or unexported fields
}

ProduceMessageResponseResult is the result of the produce message streaming RPC.

func (*ProduceMessageResponseResult) Descriptor deprecated

func (*ProduceMessageResponseResult) Descriptor() ([]byte, []int)

Deprecated: Use ProduceMessageResponseResult.ProtoReflect.Descriptor instead.

func (*ProduceMessageResponseResult) GetExtra

func (x *ProduceMessageResponseResult) GetExtra() *anypb.Any

func (*ProduceMessageResponseResult) GetId

func (*ProduceMessageResponseResult) GetLastConfirmedId added in v2.6.2

func (x *ProduceMessageResponseResult) GetLastConfirmedId() *commonpb.MessageID

func (*ProduceMessageResponseResult) GetTimetick

func (x *ProduceMessageResponseResult) GetTimetick() uint64

func (*ProduceMessageResponseResult) GetTxnContext

func (*ProduceMessageResponseResult) ProtoMessage

func (*ProduceMessageResponseResult) ProtoMessage()

func (*ProduceMessageResponseResult) ProtoReflect

func (*ProduceMessageResponseResult) Reset

func (x *ProduceMessageResponseResult) Reset()

func (*ProduceMessageResponseResult) String

type ProduceMessageResponse_Error

type ProduceMessageResponse_Error struct {
	Error *StreamingError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ProduceMessageResponse_Result

type ProduceMessageResponse_Result struct {
	Result *ProduceMessageResponseResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type ProduceRequest

type ProduceRequest struct {

	// Types that are assignable to Request:
	//
	//	*ProduceRequest_Produce
	//	*ProduceRequest_Close
	Request isProduceRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

ProduceRequest is the request of the Produce RPC. Channel name will be passthrough in the header of stream bu not in the request body.

func (*ProduceRequest) Descriptor deprecated

func (*ProduceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProduceRequest.ProtoReflect.Descriptor instead.

func (*ProduceRequest) GetClose

func (x *ProduceRequest) GetClose() *CloseProducerRequest

func (*ProduceRequest) GetProduce

func (x *ProduceRequest) GetProduce() *ProduceMessageRequest

func (*ProduceRequest) GetRequest

func (m *ProduceRequest) GetRequest() isProduceRequest_Request

func (*ProduceRequest) ProtoMessage

func (*ProduceRequest) ProtoMessage()

func (*ProduceRequest) ProtoReflect

func (x *ProduceRequest) ProtoReflect() protoreflect.Message

func (*ProduceRequest) Reset

func (x *ProduceRequest) Reset()

func (*ProduceRequest) String

func (x *ProduceRequest) String() string

type ProduceRequest_Close

type ProduceRequest_Close struct {
	Close *CloseProducerRequest `protobuf:"bytes,2,opt,name=close,proto3,oneof"`
}

type ProduceRequest_Produce

type ProduceRequest_Produce struct {
	Produce *ProduceMessageRequest `protobuf:"bytes,1,opt,name=produce,proto3,oneof"`
}

type ProduceResponse

type ProduceResponse struct {

	// Types that are assignable to Response:
	//
	//	*ProduceResponse_Create
	//	*ProduceResponse_Produce
	//	*ProduceResponse_Close
	Response isProduceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

ProduceResponse is the response of the Produce RPC.

func (*ProduceResponse) Descriptor deprecated

func (*ProduceResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProduceResponse.ProtoReflect.Descriptor instead.

func (*ProduceResponse) GetClose

func (x *ProduceResponse) GetClose() *CloseProducerResponse

func (*ProduceResponse) GetCreate

func (x *ProduceResponse) GetCreate() *CreateProducerResponse

func (*ProduceResponse) GetProduce

func (x *ProduceResponse) GetProduce() *ProduceMessageResponse

func (*ProduceResponse) GetResponse

func (m *ProduceResponse) GetResponse() isProduceResponse_Response

func (*ProduceResponse) ProtoMessage

func (*ProduceResponse) ProtoMessage()

func (*ProduceResponse) ProtoReflect

func (x *ProduceResponse) ProtoReflect() protoreflect.Message

func (*ProduceResponse) Reset

func (x *ProduceResponse) Reset()

func (*ProduceResponse) String

func (x *ProduceResponse) String() string

type ProduceResponse_Close

type ProduceResponse_Close struct {
	Close *CloseProducerResponse `protobuf:"bytes,3,opt,name=close,proto3,oneof"`
}

type ProduceResponse_Create

type ProduceResponse_Create struct {
	Create *CreateProducerResponse `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}

type ProduceResponse_Produce

type ProduceResponse_Produce struct {
	Produce *ProduceMessageResponse `protobuf:"bytes,2,opt,name=produce,proto3,oneof"`
}

type ReplicateConfigurationMeta added in v2.6.2

type ReplicateConfigurationMeta struct {
	ReplicateConfiguration *commonpb.ReplicateConfiguration ``                                                                                               /* 127-byte string literal not displayed */
	AckedResult            *AckedResult                     `protobuf:"bytes,2,opt,name=acked_result,json=ackedResult,proto3" json:"acked_result,omitempty"` // a acked helper to help managing the consuming of PutReplicateConfigMessageV2 message at coordinator.
	// contains filtered or unexported fields
}

ReplicateConfigurationMeta is the replicate configuration of the wal.

func (*ReplicateConfigurationMeta) Descriptor deprecated added in v2.6.2

func (*ReplicateConfigurationMeta) Descriptor() ([]byte, []int)

Deprecated: Use ReplicateConfigurationMeta.ProtoReflect.Descriptor instead.

func (*ReplicateConfigurationMeta) GetAckedResult added in v2.6.2

func (x *ReplicateConfigurationMeta) GetAckedResult() *AckedResult

func (*ReplicateConfigurationMeta) GetReplicateConfiguration added in v2.6.2

func (x *ReplicateConfigurationMeta) GetReplicateConfiguration() *commonpb.ReplicateConfiguration

func (*ReplicateConfigurationMeta) ProtoMessage added in v2.6.2

func (*ReplicateConfigurationMeta) ProtoMessage()

func (*ReplicateConfigurationMeta) ProtoReflect added in v2.6.2

func (*ReplicateConfigurationMeta) Reset added in v2.6.2

func (x *ReplicateConfigurationMeta) Reset()

func (*ReplicateConfigurationMeta) String added in v2.6.2

func (x *ReplicateConfigurationMeta) String() string

type ReplicatePChannelMeta added in v2.6.2

type ReplicatePChannelMeta struct {
	SourceChannelName     string                        `protobuf:"bytes,1,opt,name=source_channel_name,json=sourceChannelName,proto3" json:"source_channel_name,omitempty"`
	TargetChannelName     string                        `protobuf:"bytes,2,opt,name=target_channel_name,json=targetChannelName,proto3" json:"target_channel_name,omitempty"`
	TargetCluster         *commonpb.MilvusCluster       `protobuf:"bytes,3,opt,name=target_cluster,json=targetCluster,proto3" json:"target_cluster,omitempty"`
	InitializedCheckpoint *commonpb.ReplicateCheckpoint `protobuf:"bytes,4,opt,name=initialized_checkpoint,json=initializedCheckpoint,proto3" json:"initialized_checkpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicatePChannelMeta) Descriptor deprecated added in v2.6.2

func (*ReplicatePChannelMeta) Descriptor() ([]byte, []int)

Deprecated: Use ReplicatePChannelMeta.ProtoReflect.Descriptor instead.

func (*ReplicatePChannelMeta) GetInitializedCheckpoint added in v2.6.2

func (x *ReplicatePChannelMeta) GetInitializedCheckpoint() *commonpb.ReplicateCheckpoint

func (*ReplicatePChannelMeta) GetSourceChannelName added in v2.6.2

func (x *ReplicatePChannelMeta) GetSourceChannelName() string

func (*ReplicatePChannelMeta) GetTargetChannelName added in v2.6.2

func (x *ReplicatePChannelMeta) GetTargetChannelName() string

func (*ReplicatePChannelMeta) GetTargetCluster added in v2.6.2

func (x *ReplicatePChannelMeta) GetTargetCluster() *commonpb.MilvusCluster

func (*ReplicatePChannelMeta) ProtoMessage added in v2.6.2

func (*ReplicatePChannelMeta) ProtoMessage()

func (*ReplicatePChannelMeta) ProtoReflect added in v2.6.2

func (x *ReplicatePChannelMeta) ProtoReflect() protoreflect.Message

func (*ReplicatePChannelMeta) Reset added in v2.6.2

func (x *ReplicatePChannelMeta) Reset()

func (*ReplicatePChannelMeta) String added in v2.6.2

func (x *ReplicatePChannelMeta) String() string

type ReportAssignmentErrorRequest

type ReportAssignmentErrorRequest struct {
	Pchannel *PChannelInfo   `protobuf:"bytes,1,opt,name=pchannel,proto3" json:"pchannel,omitempty"` // channel
	Err      *StreamingError `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`           // error happend on log node
	// contains filtered or unexported fields
}

ReportAssignmentErrorRequest is the request to report assignment error happens.

func (*ReportAssignmentErrorRequest) Descriptor deprecated

func (*ReportAssignmentErrorRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportAssignmentErrorRequest.ProtoReflect.Descriptor instead.

func (*ReportAssignmentErrorRequest) GetErr

func (*ReportAssignmentErrorRequest) GetPchannel

func (x *ReportAssignmentErrorRequest) GetPchannel() *PChannelInfo

func (*ReportAssignmentErrorRequest) ProtoMessage

func (*ReportAssignmentErrorRequest) ProtoMessage()

func (*ReportAssignmentErrorRequest) ProtoReflect

func (*ReportAssignmentErrorRequest) Reset

func (x *ReportAssignmentErrorRequest) Reset()

func (*ReportAssignmentErrorRequest) String

type SegmentAssignmentMeta

type SegmentAssignmentMeta struct {
	CollectionId       int64                  `protobuf:"varint,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	PartitionId        int64                  `protobuf:"varint,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	SegmentId          int64                  `protobuf:"varint,3,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"`
	Vchannel           string                 `protobuf:"bytes,4,opt,name=vchannel,proto3" json:"vchannel,omitempty"`
	State              SegmentAssignmentState `protobuf:"varint,5,opt,name=state,proto3,enum=milvus.proto.streaming.SegmentAssignmentState" json:"state,omitempty"`
	Stat               *SegmentAssignmentStat `protobuf:"bytes,6,opt,name=stat,proto3" json:"stat,omitempty"`
	StorageVersion     int64                  `protobuf:"varint,7,opt,name=storage_version,json=storageVersion,proto3" json:"storage_version,omitempty"`               // only available if level is L1 or Legacy.
	CheckpointTimeTick uint64                 `protobuf:"varint,8,opt,name=checkpoint_time_tick,json=checkpointTimeTick,proto3" json:"checkpoint_time_tick,omitempty"` // The timetick of checkpoint, the meta already see the message at this timetick.
	// contains filtered or unexported fields
}

/ / SegmentAssignment / SegmentAssignmentMeta is the stat of segment assignment. These meta is only used to recover status at streaming node segment assignment, don't use it outside. Used to storage the segment assignment stat at meta-store. The WAL use it to determine when to make the segment sealed.

func (*SegmentAssignmentMeta) Descriptor deprecated

func (*SegmentAssignmentMeta) Descriptor() ([]byte, []int)

Deprecated: Use SegmentAssignmentMeta.ProtoReflect.Descriptor instead.

func (*SegmentAssignmentMeta) GetCheckpointTimeTick added in v2.6.0

func (x *SegmentAssignmentMeta) GetCheckpointTimeTick() uint64

func (*SegmentAssignmentMeta) GetCollectionId

func (x *SegmentAssignmentMeta) GetCollectionId() int64

func (*SegmentAssignmentMeta) GetPartitionId

func (x *SegmentAssignmentMeta) GetPartitionId() int64

func (*SegmentAssignmentMeta) GetSegmentId

func (x *SegmentAssignmentMeta) GetSegmentId() int64

func (*SegmentAssignmentMeta) GetStat

func (*SegmentAssignmentMeta) GetState

func (*SegmentAssignmentMeta) GetStorageVersion added in v2.6.0

func (x *SegmentAssignmentMeta) GetStorageVersion() int64

func (*SegmentAssignmentMeta) GetVchannel

func (x *SegmentAssignmentMeta) GetVchannel() string

func (*SegmentAssignmentMeta) ProtoMessage

func (*SegmentAssignmentMeta) ProtoMessage()

func (*SegmentAssignmentMeta) ProtoReflect

func (x *SegmentAssignmentMeta) ProtoReflect() protoreflect.Message

func (*SegmentAssignmentMeta) Reset

func (x *SegmentAssignmentMeta) Reset()

func (*SegmentAssignmentMeta) String

func (x *SegmentAssignmentMeta) String() string

type SegmentAssignmentStat

type SegmentAssignmentStat struct {
	MaxBinarySize         uint64 `protobuf:"varint,1,opt,name=max_binary_size,json=maxBinarySize,proto3" json:"max_binary_size,omitempty"`
	ModifiedRows          uint64 `protobuf:"varint,2,opt,name=modified_rows,json=modifiedRows,proto3" json:"modified_rows,omitempty"`
	ModifiedBinarySize    uint64 `protobuf:"varint,3,opt,name=modified_binary_size,json=modifiedBinarySize,proto3" json:"modified_binary_size,omitempty"`
	CreateTimestamp       int64  `protobuf:"varint,4,opt,name=create_timestamp,json=createTimestamp,proto3" json:"create_timestamp,omitempty"`
	LastModifiedTimestamp int64  `` /* 127-byte string literal not displayed */
	BinlogCounter         uint64 `protobuf:"varint,6,opt,name=binlog_counter,json=binlogCounter,proto3" json:"binlog_counter,omitempty"`
	CreateSegmentTimeTick uint64 `` // The timetick of create segment message in wal.
	/* 129-byte string literal not displayed */
	Level   datapb.SegmentLevel `protobuf:"varint,8,opt,name=level,proto3,enum=milvus.proto.data.SegmentLevel" json:"level,omitempty"` // The level of the segment, only L0 or L1.
	MaxRows uint64              `protobuf:"varint,9,opt,name=max_rows,json=maxRows,proto3" json:"max_rows,omitempty"`                  // The max rows of the segment.
	// contains filtered or unexported fields
}

SegmentAssignmentStat is the stat of segment assignment.

func (*SegmentAssignmentStat) Descriptor deprecated

func (*SegmentAssignmentStat) Descriptor() ([]byte, []int)

Deprecated: Use SegmentAssignmentStat.ProtoReflect.Descriptor instead.

func (*SegmentAssignmentStat) GetBinlogCounter

func (x *SegmentAssignmentStat) GetBinlogCounter() uint64

func (*SegmentAssignmentStat) GetCreateSegmentTimeTick

func (x *SegmentAssignmentStat) GetCreateSegmentTimeTick() uint64

func (*SegmentAssignmentStat) GetCreateTimestamp added in v2.6.0

func (x *SegmentAssignmentStat) GetCreateTimestamp() int64

func (*SegmentAssignmentStat) GetLastModifiedTimestamp added in v2.6.0

func (x *SegmentAssignmentStat) GetLastModifiedTimestamp() int64

func (*SegmentAssignmentStat) GetLevel added in v2.6.1

func (*SegmentAssignmentStat) GetMaxBinarySize

func (x *SegmentAssignmentStat) GetMaxBinarySize() uint64

func (*SegmentAssignmentStat) GetMaxRows added in v2.6.1

func (x *SegmentAssignmentStat) GetMaxRows() uint64

func (*SegmentAssignmentStat) GetModifiedBinarySize added in v2.6.1

func (x *SegmentAssignmentStat) GetModifiedBinarySize() uint64

func (*SegmentAssignmentStat) GetModifiedRows added in v2.6.1

func (x *SegmentAssignmentStat) GetModifiedRows() uint64

func (*SegmentAssignmentStat) ProtoMessage

func (*SegmentAssignmentStat) ProtoMessage()

func (*SegmentAssignmentStat) ProtoReflect

func (x *SegmentAssignmentStat) ProtoReflect() protoreflect.Message

func (*SegmentAssignmentStat) Reset

func (x *SegmentAssignmentStat) Reset()

func (*SegmentAssignmentStat) String

func (x *SegmentAssignmentStat) String() string

type SegmentAssignmentState

type SegmentAssignmentState int32
const (
	SegmentAssignmentState_SEGMENT_ASSIGNMENT_STATE_UNKNOWN SegmentAssignmentState = 0 // should never used.
	SegmentAssignmentState_SEGMENT_ASSIGNMENT_STATE_GROWING SegmentAssignmentState = 1
	SegmentAssignmentState_SEGMENT_ASSIGNMENT_STATE_FLUSHED SegmentAssignmentState = 2
)

func (SegmentAssignmentState) Descriptor

func (SegmentAssignmentState) Enum

func (SegmentAssignmentState) EnumDescriptor deprecated

func (SegmentAssignmentState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SegmentAssignmentState.Descriptor instead.

func (SegmentAssignmentState) Number

func (SegmentAssignmentState) String

func (x SegmentAssignmentState) String() string

func (SegmentAssignmentState) Type

type StreamingCode

type StreamingCode int32

StreamingCode is the error code for log internal component.

const (
	StreamingCode_STREAMING_CODE_OK                        StreamingCode = 0
	StreamingCode_STREAMING_CODE_CHANNEL_NOT_EXIST         StreamingCode = 1   // channel not exist
	StreamingCode_STREAMING_CODE_CHANNEL_FENCED            StreamingCode = 2   // channel is fenced
	StreamingCode_STREAMING_CODE_ON_SHUTDOWN               StreamingCode = 3   // component is on shutdown
	StreamingCode_STREAMING_CODE_INVALID_REQUEST_SEQ       StreamingCode = 4   // invalid request sequence
	StreamingCode_STREAMING_CODE_UNMATCHED_CHANNEL_TERM    StreamingCode = 5   // unmatched channel term
	StreamingCode_STREAMING_CODE_IGNORED_OPERATION         StreamingCode = 6   // ignored operation
	StreamingCode_STREAMING_CODE_INNER                     StreamingCode = 7   // underlying service failure.
	StreamingCode_STREAMING_CODE_INVAILD_ARGUMENT          StreamingCode = 8   // invalid argument
	StreamingCode_STREAMING_CODE_TRANSACTION_EXPIRED       StreamingCode = 9   // transaction expired
	StreamingCode_STREAMING_CODE_INVALID_TRANSACTION_STATE StreamingCode = 10  // invalid transaction state
	StreamingCode_STREAMING_CODE_UNRECOVERABLE             StreamingCode = 11  // unrecoverable error
	StreamingCode_STREAMING_CODE_RESOURCE_ACQUIRED         StreamingCode = 12  // resource is acquired by other operation
	StreamingCode_STREAMING_CODE_REPLICATE_VIOLATION       StreamingCode = 13  // replicate violation
	StreamingCode_STREAMING_CODE_UNKNOWN                   StreamingCode = 999 // unknown error
)

func (StreamingCode) Descriptor

func (StreamingCode) Enum

func (x StreamingCode) Enum() *StreamingCode

func (StreamingCode) EnumDescriptor deprecated

func (StreamingCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use StreamingCode.Descriptor instead.

func (StreamingCode) Number

func (StreamingCode) String

func (x StreamingCode) String() string

func (StreamingCode) Type

type StreamingCoordAssignmentServiceClient

type StreamingCoordAssignmentServiceClient interface {
	// UpdateReplicateConfiguration applies a full replacement of the current
	// replication configuration across Milvus clusters.
	//
	// Semantics:
	//   - The provided ReplicateConfiguration completely replaces any existing
	//     configuration persisted in the metadata store.
	//   - Passing an empty ReplicateConfiguration is treated as a "clear"
	//     operation, effectively removing all replication configuration.
	//   - The RPC is expected to be idempotent: submitting the same configuration
	//     multiple times must not cause side effects.
	UpdateReplicateConfiguration(ctx context.Context, in *UpdateReplicateConfigurationRequest, opts ...grpc.CallOption) (*UpdateReplicateConfigurationResponse, error)
	// Deprecated: Do not use.
	// UpdateWALBalancePolicy is used to update the WAL balance policy.
	// The policy is used to control the balance of the WAL.
	UpdateWALBalancePolicy(ctx context.Context, in *UpdateWALBalancePolicyRequest, opts ...grpc.CallOption) (*UpdateWALBalancePolicyResponse, error)
	// AssignmentDiscover is used to discover all log nodes managed by the
	// streamingcoord. Channel assignment information will be pushed to client
	// by stream.
	AssignmentDiscover(ctx context.Context, opts ...grpc.CallOption) (StreamingCoordAssignmentService_AssignmentDiscoverClient, error)
}

StreamingCoordAssignmentServiceClient is the client API for StreamingCoordAssignmentService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StreamingCoordAssignmentServiceServer

type StreamingCoordAssignmentServiceServer interface {
	// UpdateReplicateConfiguration applies a full replacement of the current
	// replication configuration across Milvus clusters.
	//
	// Semantics:
	//   - The provided ReplicateConfiguration completely replaces any existing
	//     configuration persisted in the metadata store.
	//   - Passing an empty ReplicateConfiguration is treated as a "clear"
	//     operation, effectively removing all replication configuration.
	//   - The RPC is expected to be idempotent: submitting the same configuration
	//     multiple times must not cause side effects.
	UpdateReplicateConfiguration(context.Context, *UpdateReplicateConfigurationRequest) (*UpdateReplicateConfigurationResponse, error)
	// Deprecated: Do not use.
	// UpdateWALBalancePolicy is used to update the WAL balance policy.
	// The policy is used to control the balance of the WAL.
	UpdateWALBalancePolicy(context.Context, *UpdateWALBalancePolicyRequest) (*UpdateWALBalancePolicyResponse, error)
	// AssignmentDiscover is used to discover all log nodes managed by the
	// streamingcoord. Channel assignment information will be pushed to client
	// by stream.
	AssignmentDiscover(StreamingCoordAssignmentService_AssignmentDiscoverServer) error
}

StreamingCoordAssignmentServiceServer is the server API for StreamingCoordAssignmentService service. All implementations should embed UnimplementedStreamingCoordAssignmentServiceServer for forward compatibility

type StreamingCoordAssignmentService_AssignmentDiscoverClient

type StreamingCoordAssignmentService_AssignmentDiscoverClient interface {
	Send(*AssignmentDiscoverRequest) error
	Recv() (*AssignmentDiscoverResponse, error)
	grpc.ClientStream
}

type StreamingCoordAssignmentService_AssignmentDiscoverServer

type StreamingCoordAssignmentService_AssignmentDiscoverServer interface {
	Send(*AssignmentDiscoverResponse) error
	Recv() (*AssignmentDiscoverRequest, error)
	grpc.ServerStream
}

type StreamingCoordBroadcastServiceClient

type StreamingCoordBroadcastServiceClient interface {
	// Broadcast receives broadcast messages from other component and make sure that the message is broadcast to all wal.
	// It performs an atomic broadcast to all wal, achieve eventual consistency.
	Broadcast(ctx context.Context, in *BroadcastRequest, opts ...grpc.CallOption) (*BroadcastResponse, error)
	// Ack acknowledge broadcast message is consumed.
	Ack(ctx context.Context, in *BroadcastAckRequest, opts ...grpc.CallOption) (*BroadcastAckResponse, error)
}

StreamingCoordBroadcastServiceClient is the client API for StreamingCoordBroadcastService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StreamingCoordBroadcastServiceServer

type StreamingCoordBroadcastServiceServer interface {
	// Broadcast receives broadcast messages from other component and make sure that the message is broadcast to all wal.
	// It performs an atomic broadcast to all wal, achieve eventual consistency.
	Broadcast(context.Context, *BroadcastRequest) (*BroadcastResponse, error)
	// Ack acknowledge broadcast message is consumed.
	Ack(context.Context, *BroadcastAckRequest) (*BroadcastAckResponse, error)
}

StreamingCoordBroadcastServiceServer is the server API for StreamingCoordBroadcastService service. All implementations should embed UnimplementedStreamingCoordBroadcastServiceServer for forward compatibility

type StreamingError

type StreamingError struct {
	Code  StreamingCode `protobuf:"varint,1,opt,name=code,proto3,enum=milvus.proto.streaming.StreamingCode" json:"code,omitempty"`
	Cause string        `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"`
	// contains filtered or unexported fields
}

StreamingError is the error type for log internal component.

func (*StreamingError) Descriptor deprecated

func (*StreamingError) Descriptor() ([]byte, []int)

Deprecated: Use StreamingError.ProtoReflect.Descriptor instead.

func (*StreamingError) GetCause

func (x *StreamingError) GetCause() string

func (*StreamingError) GetCode

func (x *StreamingError) GetCode() StreamingCode

func (*StreamingError) ProtoMessage

func (*StreamingError) ProtoMessage()

func (*StreamingError) ProtoReflect

func (x *StreamingError) ProtoReflect() protoreflect.Message

func (*StreamingError) Reset

func (x *StreamingError) Reset()

func (*StreamingError) String

func (x *StreamingError) String() string

type StreamingNodeAssignment

type StreamingNodeAssignment struct {
	Node     *StreamingNodeInfo `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	Channels []*PChannelInfo    `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
	// contains filtered or unexported fields
}

StreamingNodeAssignment is the assignment info of a streaming node.

func (*StreamingNodeAssignment) Descriptor deprecated

func (*StreamingNodeAssignment) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeAssignment.ProtoReflect.Descriptor instead.

func (*StreamingNodeAssignment) GetChannels

func (x *StreamingNodeAssignment) GetChannels() []*PChannelInfo

func (*StreamingNodeAssignment) GetNode

func (*StreamingNodeAssignment) ProtoMessage

func (*StreamingNodeAssignment) ProtoMessage()

func (*StreamingNodeAssignment) ProtoReflect

func (x *StreamingNodeAssignment) ProtoReflect() protoreflect.Message

func (*StreamingNodeAssignment) Reset

func (x *StreamingNodeAssignment) Reset()

func (*StreamingNodeAssignment) String

func (x *StreamingNodeAssignment) String() string

type StreamingNodeHandlerServiceClient

type StreamingNodeHandlerServiceClient interface {
	// GetReplicateCheckpoint returns the WAL checkpoint that will be used to create scanner
	// from the correct position, ensuring no duplicate or missing messages.
	GetReplicateCheckpoint(ctx context.Context, in *GetReplicateCheckpointRequest, opts ...grpc.CallOption) (*GetReplicateCheckpointResponse, error)
	// Produce is a bi-directional streaming RPC to send messages to a channel.
	// All messages sent to a channel will be assigned a unique messageID.
	// The messageID is used to identify the message in the channel.
	// The messageID isn't promised to be monotonous increasing with the
	// sequence of responsing. Error: If channel isn't assign to this log node,
	// the RPC will return error CHANNEL_NOT_EXIST. If channel is moving away to
	// other log node, the RPC will return error CHANNEL_FENCED.
	Produce(ctx context.Context, opts ...grpc.CallOption) (StreamingNodeHandlerService_ProduceClient, error)
	// Consume is a server streaming RPC to receive messages from a channel.
	// All message after given startMessageID and excluding will be sent to the
	// client by stream. If no more message in the channel, the stream will be
	// blocked until new message coming. Error: If channel isn't assign to this
	// log node, the RPC will return error CHANNEL_NOT_EXIST. If channel is
	// moving away to other log node, the RPC will return error CHANNEL_FENCED.
	Consume(ctx context.Context, opts ...grpc.CallOption) (StreamingNodeHandlerService_ConsumeClient, error)
}

StreamingNodeHandlerServiceClient is the client API for StreamingNodeHandlerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StreamingNodeHandlerServiceServer

type StreamingNodeHandlerServiceServer interface {
	// GetReplicateCheckpoint returns the WAL checkpoint that will be used to create scanner
	// from the correct position, ensuring no duplicate or missing messages.
	GetReplicateCheckpoint(context.Context, *GetReplicateCheckpointRequest) (*GetReplicateCheckpointResponse, error)
	// Produce is a bi-directional streaming RPC to send messages to a channel.
	// All messages sent to a channel will be assigned a unique messageID.
	// The messageID is used to identify the message in the channel.
	// The messageID isn't promised to be monotonous increasing with the
	// sequence of responsing. Error: If channel isn't assign to this log node,
	// the RPC will return error CHANNEL_NOT_EXIST. If channel is moving away to
	// other log node, the RPC will return error CHANNEL_FENCED.
	Produce(StreamingNodeHandlerService_ProduceServer) error
	// Consume is a server streaming RPC to receive messages from a channel.
	// All message after given startMessageID and excluding will be sent to the
	// client by stream. If no more message in the channel, the stream will be
	// blocked until new message coming. Error: If channel isn't assign to this
	// log node, the RPC will return error CHANNEL_NOT_EXIST. If channel is
	// moving away to other log node, the RPC will return error CHANNEL_FENCED.
	Consume(StreamingNodeHandlerService_ConsumeServer) error
}

StreamingNodeHandlerServiceServer is the server API for StreamingNodeHandlerService service. All implementations should embed UnimplementedStreamingNodeHandlerServiceServer for forward compatibility

type StreamingNodeHandlerService_ConsumeClient

type StreamingNodeHandlerService_ConsumeClient interface {
	Send(*ConsumeRequest) error
	Recv() (*ConsumeResponse, error)
	grpc.ClientStream
}

type StreamingNodeHandlerService_ConsumeServer

type StreamingNodeHandlerService_ConsumeServer interface {
	Send(*ConsumeResponse) error
	Recv() (*ConsumeRequest, error)
	grpc.ServerStream
}

type StreamingNodeHandlerService_ProduceClient

type StreamingNodeHandlerService_ProduceClient interface {
	Send(*ProduceRequest) error
	Recv() (*ProduceResponse, error)
	grpc.ClientStream
}

type StreamingNodeHandlerService_ProduceServer

type StreamingNodeHandlerService_ProduceServer interface {
	Send(*ProduceResponse) error
	Recv() (*ProduceRequest, error)
	grpc.ServerStream
}

type StreamingNodeInfo

type StreamingNodeInfo struct {
	ServerId int64  `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	Address  string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

StreamingNodeInfo is the information of a streaming node.

func (*StreamingNodeInfo) Descriptor deprecated

func (*StreamingNodeInfo) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeInfo.ProtoReflect.Descriptor instead.

func (*StreamingNodeInfo) GetAddress

func (x *StreamingNodeInfo) GetAddress() string

func (*StreamingNodeInfo) GetServerId

func (x *StreamingNodeInfo) GetServerId() int64

func (*StreamingNodeInfo) ProtoMessage

func (*StreamingNodeInfo) ProtoMessage()

func (*StreamingNodeInfo) ProtoReflect

func (x *StreamingNodeInfo) ProtoReflect() protoreflect.Message

func (*StreamingNodeInfo) Reset

func (x *StreamingNodeInfo) Reset()

func (*StreamingNodeInfo) String

func (x *StreamingNodeInfo) String() string

type StreamingNodeManagerAssignRequest

type StreamingNodeManagerAssignRequest struct {
	Pchannel *PChannelInfo `protobuf:"bytes,1,opt,name=pchannel,proto3" json:"pchannel,omitempty"`
	// contains filtered or unexported fields
}

StreamingManagerAssignRequest is the request message of Assign RPC.

func (*StreamingNodeManagerAssignRequest) Descriptor deprecated

func (*StreamingNodeManagerAssignRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeManagerAssignRequest.ProtoReflect.Descriptor instead.

func (*StreamingNodeManagerAssignRequest) GetPchannel

func (*StreamingNodeManagerAssignRequest) ProtoMessage

func (*StreamingNodeManagerAssignRequest) ProtoMessage()

func (*StreamingNodeManagerAssignRequest) ProtoReflect

func (*StreamingNodeManagerAssignRequest) Reset

func (*StreamingNodeManagerAssignRequest) String

type StreamingNodeManagerAssignResponse

type StreamingNodeManagerAssignResponse struct {
	// contains filtered or unexported fields
}

func (*StreamingNodeManagerAssignResponse) Descriptor deprecated

func (*StreamingNodeManagerAssignResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeManagerAssignResponse.ProtoReflect.Descriptor instead.

func (*StreamingNodeManagerAssignResponse) ProtoMessage

func (*StreamingNodeManagerAssignResponse) ProtoMessage()

func (*StreamingNodeManagerAssignResponse) ProtoReflect

func (*StreamingNodeManagerAssignResponse) Reset

func (*StreamingNodeManagerAssignResponse) String

type StreamingNodeManagerCollectStatusRequest

type StreamingNodeManagerCollectStatusRequest struct {
	// contains filtered or unexported fields
}

func (*StreamingNodeManagerCollectStatusRequest) Descriptor deprecated

func (*StreamingNodeManagerCollectStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeManagerCollectStatusRequest.ProtoReflect.Descriptor instead.

func (*StreamingNodeManagerCollectStatusRequest) ProtoMessage

func (*StreamingNodeManagerCollectStatusRequest) ProtoReflect

func (*StreamingNodeManagerCollectStatusRequest) Reset

func (*StreamingNodeManagerCollectStatusRequest) String

type StreamingNodeManagerCollectStatusResponse

type StreamingNodeManagerCollectStatusResponse struct {
	Metrics *StreamingNodeMetrics `protobuf:"bytes,1,opt,name=metrics,proto3" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamingNodeManagerCollectStatusResponse) Descriptor deprecated

func (*StreamingNodeManagerCollectStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeManagerCollectStatusResponse.ProtoReflect.Descriptor instead.

func (*StreamingNodeManagerCollectStatusResponse) GetMetrics added in v2.6.0

func (*StreamingNodeManagerCollectStatusResponse) ProtoMessage

func (*StreamingNodeManagerCollectStatusResponse) ProtoReflect

func (*StreamingNodeManagerCollectStatusResponse) Reset

func (*StreamingNodeManagerCollectStatusResponse) String

type StreamingNodeManagerRemoveRequest

type StreamingNodeManagerRemoveRequest struct {
	Pchannel *PChannelInfo `protobuf:"bytes,1,opt,name=pchannel,proto3" json:"pchannel,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamingNodeManagerRemoveRequest) Descriptor deprecated

func (*StreamingNodeManagerRemoveRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeManagerRemoveRequest.ProtoReflect.Descriptor instead.

func (*StreamingNodeManagerRemoveRequest) GetPchannel

func (*StreamingNodeManagerRemoveRequest) ProtoMessage

func (*StreamingNodeManagerRemoveRequest) ProtoMessage()

func (*StreamingNodeManagerRemoveRequest) ProtoReflect

func (*StreamingNodeManagerRemoveRequest) Reset

func (*StreamingNodeManagerRemoveRequest) String

type StreamingNodeManagerRemoveResponse

type StreamingNodeManagerRemoveResponse struct {
	// contains filtered or unexported fields
}

func (*StreamingNodeManagerRemoveResponse) Descriptor deprecated

func (*StreamingNodeManagerRemoveResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeManagerRemoveResponse.ProtoReflect.Descriptor instead.

func (*StreamingNodeManagerRemoveResponse) ProtoMessage

func (*StreamingNodeManagerRemoveResponse) ProtoMessage()

func (*StreamingNodeManagerRemoveResponse) ProtoReflect

func (*StreamingNodeManagerRemoveResponse) Reset

func (*StreamingNodeManagerRemoveResponse) String

type StreamingNodeManagerServiceClient

type StreamingNodeManagerServiceClient interface {
	// Assign is a unary RPC to assign a channel on a log node.
	// Block until the channel assignd is ready to read or write on the log
	// node. Error: If the channel already exists, return error with code
	// CHANNEL_EXIST.
	Assign(ctx context.Context, in *StreamingNodeManagerAssignRequest, opts ...grpc.CallOption) (*StreamingNodeManagerAssignResponse, error)
	// Remove is unary RPC to remove a channel on a log node.
	// Data of the channel on flying would be sent or flused as much as
	// possible. Block until the resource of channel is released on the log
	// node. New incoming request of handler of this channel will be rejected
	// with special error. Error: If the channel does not exist, return error
	// with code CHANNEL_NOT_EXIST.
	Remove(ctx context.Context, in *StreamingNodeManagerRemoveRequest, opts ...grpc.CallOption) (*StreamingNodeManagerRemoveResponse, error)
	// rpc CollectStatus() ...
	// CollectStatus is unary RPC to collect all avaliable channel info and load
	// balance info on a log node. Used to recover channel info on log coord,
	// collect balance info and health check.
	CollectStatus(ctx context.Context, in *StreamingNodeManagerCollectStatusRequest, opts ...grpc.CallOption) (*StreamingNodeManagerCollectStatusResponse, error)
}

StreamingNodeManagerServiceClient is the client API for StreamingNodeManagerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StreamingNodeManagerServiceServer

type StreamingNodeManagerServiceServer interface {
	// Assign is a unary RPC to assign a channel on a log node.
	// Block until the channel assignd is ready to read or write on the log
	// node. Error: If the channel already exists, return error with code
	// CHANNEL_EXIST.
	Assign(context.Context, *StreamingNodeManagerAssignRequest) (*StreamingNodeManagerAssignResponse, error)
	// Remove is unary RPC to remove a channel on a log node.
	// Data of the channel on flying would be sent or flused as much as
	// possible. Block until the resource of channel is released on the log
	// node. New incoming request of handler of this channel will be rejected
	// with special error. Error: If the channel does not exist, return error
	// with code CHANNEL_NOT_EXIST.
	Remove(context.Context, *StreamingNodeManagerRemoveRequest) (*StreamingNodeManagerRemoveResponse, error)
	// rpc CollectStatus() ...
	// CollectStatus is unary RPC to collect all avaliable channel info and load
	// balance info on a log node. Used to recover channel info on log coord,
	// collect balance info and health check.
	CollectStatus(context.Context, *StreamingNodeManagerCollectStatusRequest) (*StreamingNodeManagerCollectStatusResponse, error)
}

StreamingNodeManagerServiceServer is the server API for StreamingNodeManagerService service. All implementations should embed UnimplementedStreamingNodeManagerServiceServer for forward compatibility

type StreamingNodeMetrics added in v2.6.0

type StreamingNodeMetrics struct {
	Wals []*StreamingNodeWALMetrics `protobuf:"bytes,1,rep,name=wals,proto3" json:"wals,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamingNodeMetrics) Descriptor deprecated added in v2.6.0

func (*StreamingNodeMetrics) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeMetrics.ProtoReflect.Descriptor instead.

func (*StreamingNodeMetrics) GetWals added in v2.6.0

func (*StreamingNodeMetrics) ProtoMessage added in v2.6.0

func (*StreamingNodeMetrics) ProtoMessage()

func (*StreamingNodeMetrics) ProtoReflect added in v2.6.0

func (x *StreamingNodeMetrics) ProtoReflect() protoreflect.Message

func (*StreamingNodeMetrics) Reset added in v2.6.0

func (x *StreamingNodeMetrics) Reset()

func (*StreamingNodeMetrics) String added in v2.6.0

func (x *StreamingNodeMetrics) String() string

type StreamingNodeROWALMetrics added in v2.6.0

type StreamingNodeROWALMetrics struct {
	// contains filtered or unexported fields
}

func (*StreamingNodeROWALMetrics) Descriptor deprecated added in v2.6.0

func (*StreamingNodeROWALMetrics) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeROWALMetrics.ProtoReflect.Descriptor instead.

func (*StreamingNodeROWALMetrics) ProtoMessage added in v2.6.0

func (*StreamingNodeROWALMetrics) ProtoMessage()

func (*StreamingNodeROWALMetrics) ProtoReflect added in v2.6.0

func (*StreamingNodeROWALMetrics) Reset added in v2.6.0

func (x *StreamingNodeROWALMetrics) Reset()

func (*StreamingNodeROWALMetrics) String added in v2.6.0

func (x *StreamingNodeROWALMetrics) String() string

type StreamingNodeRWWALMetrics added in v2.6.0

type StreamingNodeRWWALMetrics struct {
	MvccTimeTick     uint64 `protobuf:"varint,1,opt,name=mvcc_time_tick,json=mvccTimeTick,proto3" json:"mvcc_time_tick,omitempty"`             // The mvcc time tick of the pchannel.
	RecoveryTimeTick uint64 `protobuf:"varint,2,opt,name=recovery_time_tick,json=recoveryTimeTick,proto3" json:"recovery_time_tick,omitempty"` // The recovery time tick of the pchannel.
	// contains filtered or unexported fields
}

func (*StreamingNodeRWWALMetrics) Descriptor deprecated added in v2.6.0

func (*StreamingNodeRWWALMetrics) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeRWWALMetrics.ProtoReflect.Descriptor instead.

func (*StreamingNodeRWWALMetrics) GetMvccTimeTick added in v2.6.0

func (x *StreamingNodeRWWALMetrics) GetMvccTimeTick() uint64

func (*StreamingNodeRWWALMetrics) GetRecoveryTimeTick added in v2.6.0

func (x *StreamingNodeRWWALMetrics) GetRecoveryTimeTick() uint64

func (*StreamingNodeRWWALMetrics) ProtoMessage added in v2.6.0

func (*StreamingNodeRWWALMetrics) ProtoMessage()

func (*StreamingNodeRWWALMetrics) ProtoReflect added in v2.6.0

func (*StreamingNodeRWWALMetrics) Reset added in v2.6.0

func (x *StreamingNodeRWWALMetrics) Reset()

func (*StreamingNodeRWWALMetrics) String added in v2.6.0

func (x *StreamingNodeRWWALMetrics) String() string

type StreamingNodeStateServiceClient

type StreamingNodeStateServiceClient interface {
	GetComponentStates(ctx context.Context, in *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error)
}

StreamingNodeStateServiceClient is the client API for StreamingNodeStateService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StreamingNodeStateServiceServer

type StreamingNodeStateServiceServer interface {
	GetComponentStates(context.Context, *milvuspb.GetComponentStatesRequest) (*milvuspb.ComponentStates, error)
}

StreamingNodeStateServiceServer is the server API for StreamingNodeStateService service. All implementations should embed UnimplementedStreamingNodeStateServiceServer for forward compatibility

type StreamingNodeWALMetrics added in v2.6.0

type StreamingNodeWALMetrics struct {
	Info *PChannelInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// Types that are assignable to Metrics:
	//
	//	*StreamingNodeWALMetrics_Rw
	//	*StreamingNodeWALMetrics_Ro
	Metrics isStreamingNodeWALMetrics_Metrics `protobuf_oneof:"metrics"`
	// contains filtered or unexported fields
}

func (*StreamingNodeWALMetrics) Descriptor deprecated added in v2.6.0

func (*StreamingNodeWALMetrics) Descriptor() ([]byte, []int)

Deprecated: Use StreamingNodeWALMetrics.ProtoReflect.Descriptor instead.

func (*StreamingNodeWALMetrics) GetInfo added in v2.6.0

func (x *StreamingNodeWALMetrics) GetInfo() *PChannelInfo

func (*StreamingNodeWALMetrics) GetMetrics added in v2.6.0

func (m *StreamingNodeWALMetrics) GetMetrics() isStreamingNodeWALMetrics_Metrics

func (*StreamingNodeWALMetrics) GetRo added in v2.6.0

func (*StreamingNodeWALMetrics) GetRw added in v2.6.0

func (*StreamingNodeWALMetrics) ProtoMessage added in v2.6.0

func (*StreamingNodeWALMetrics) ProtoMessage()

func (*StreamingNodeWALMetrics) ProtoReflect added in v2.6.0

func (x *StreamingNodeWALMetrics) ProtoReflect() protoreflect.Message

func (*StreamingNodeWALMetrics) Reset added in v2.6.0

func (x *StreamingNodeWALMetrics) Reset()

func (*StreamingNodeWALMetrics) String added in v2.6.0

func (x *StreamingNodeWALMetrics) String() string

type StreamingNodeWALMetrics_Ro added in v2.6.0

type StreamingNodeWALMetrics_Ro struct {
	Ro *StreamingNodeROWALMetrics `protobuf:"bytes,3,opt,name=ro,proto3,oneof"`
}

type StreamingNodeWALMetrics_Rw added in v2.6.0

type StreamingNodeWALMetrics_Rw struct {
	Rw *StreamingNodeRWWALMetrics `protobuf:"bytes,2,opt,name=rw,proto3,oneof"`
}

type StreamingVersion added in v2.6.0

type StreamingVersion struct {
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // version of the streaming,
	// contains filtered or unexported fields
}

StreamingVersion is the version of the streaming service.

func (*StreamingVersion) Descriptor deprecated added in v2.6.0

func (*StreamingVersion) Descriptor() ([]byte, []int)

Deprecated: Use StreamingVersion.ProtoReflect.Descriptor instead.

func (*StreamingVersion) GetVersion added in v2.6.0

func (x *StreamingVersion) GetVersion() int64

func (*StreamingVersion) ProtoMessage added in v2.6.0

func (*StreamingVersion) ProtoMessage()

func (*StreamingVersion) ProtoReflect added in v2.6.0

func (x *StreamingVersion) ProtoReflect() protoreflect.Message

func (*StreamingVersion) Reset added in v2.6.0

func (x *StreamingVersion) Reset()

func (*StreamingVersion) String added in v2.6.0

func (x *StreamingVersion) String() string

type UnimplementedStreamingCoordAssignmentServiceServer

type UnimplementedStreamingCoordAssignmentServiceServer struct {
}

UnimplementedStreamingCoordAssignmentServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedStreamingCoordAssignmentServiceServer) AssignmentDiscover

func (UnimplementedStreamingCoordAssignmentServiceServer) UpdateReplicateConfiguration added in v2.6.2

func (UnimplementedStreamingCoordAssignmentServiceServer) UpdateWALBalancePolicy added in v2.6.1

type UnimplementedStreamingCoordBroadcastServiceServer

type UnimplementedStreamingCoordBroadcastServiceServer struct {
}

UnimplementedStreamingCoordBroadcastServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedStreamingCoordBroadcastServiceServer) Ack

func (UnimplementedStreamingCoordBroadcastServiceServer) Broadcast

type UnimplementedStreamingNodeHandlerServiceServer

type UnimplementedStreamingNodeHandlerServiceServer struct {
}

UnimplementedStreamingNodeHandlerServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedStreamingNodeHandlerServiceServer) Consume

func (UnimplementedStreamingNodeHandlerServiceServer) GetReplicateCheckpoint added in v2.6.2

func (UnimplementedStreamingNodeHandlerServiceServer) Produce

type UnimplementedStreamingNodeManagerServiceServer

type UnimplementedStreamingNodeManagerServiceServer struct {
}

UnimplementedStreamingNodeManagerServiceServer should be embedded to have forward compatible implementations.

type UnimplementedStreamingNodeStateServiceServer

type UnimplementedStreamingNodeStateServiceServer struct {
}

UnimplementedStreamingNodeStateServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedStreamingNodeStateServiceServer) GetComponentStates

type UnsafeStreamingCoordAssignmentServiceServer

type UnsafeStreamingCoordAssignmentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStreamingCoordAssignmentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamingCoordAssignmentServiceServer will result in compilation errors.

type UnsafeStreamingCoordBroadcastServiceServer

type UnsafeStreamingCoordBroadcastServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStreamingCoordBroadcastServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamingCoordBroadcastServiceServer will result in compilation errors.

type UnsafeStreamingNodeHandlerServiceServer

type UnsafeStreamingNodeHandlerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStreamingNodeHandlerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamingNodeHandlerServiceServer will result in compilation errors.

type UnsafeStreamingNodeManagerServiceServer

type UnsafeStreamingNodeManagerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStreamingNodeManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamingNodeManagerServiceServer will result in compilation errors.

type UnsafeStreamingNodeStateServiceServer

type UnsafeStreamingNodeStateServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStreamingNodeStateServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamingNodeStateServiceServer will result in compilation errors.

type UpdateReplicateConfigurationRequest added in v2.6.2

type UpdateReplicateConfigurationRequest struct {
	Configuration *commonpb.ReplicateConfiguration `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateReplicateConfigurationRequest) Descriptor deprecated added in v2.6.2

func (*UpdateReplicateConfigurationRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateReplicateConfigurationRequest.ProtoReflect.Descriptor instead.

func (*UpdateReplicateConfigurationRequest) GetConfiguration added in v2.6.2

func (*UpdateReplicateConfigurationRequest) ProtoMessage added in v2.6.2

func (*UpdateReplicateConfigurationRequest) ProtoMessage()

func (*UpdateReplicateConfigurationRequest) ProtoReflect added in v2.6.2

func (*UpdateReplicateConfigurationRequest) Reset added in v2.6.2

func (*UpdateReplicateConfigurationRequest) String added in v2.6.2

type UpdateReplicateConfigurationResponse added in v2.6.2

type UpdateReplicateConfigurationResponse struct {
	// contains filtered or unexported fields
}

UpdateReplicateConfigurationResponse is the response of UpdateReplicateConfiguration service

func (*UpdateReplicateConfigurationResponse) Descriptor deprecated added in v2.6.2

func (*UpdateReplicateConfigurationResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateReplicateConfigurationResponse.ProtoReflect.Descriptor instead.

func (*UpdateReplicateConfigurationResponse) ProtoMessage added in v2.6.2

func (*UpdateReplicateConfigurationResponse) ProtoMessage()

func (*UpdateReplicateConfigurationResponse) ProtoReflect added in v2.6.2

func (*UpdateReplicateConfigurationResponse) Reset added in v2.6.2

func (*UpdateReplicateConfigurationResponse) String added in v2.6.2

type UpdateWALBalancePolicyRequest added in v2.6.1

type UpdateWALBalancePolicyRequest struct {
	Config     *WALBalancePolicyConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Nodes      *WALBalancePolicyNodes  `protobuf:"bytes,2,opt,name=nodes,proto3" json:"nodes,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask  `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

UpdateWALBalancePolicyRequest is the request to update the WAL balance policy.

func (*UpdateWALBalancePolicyRequest) Descriptor deprecated added in v2.6.1

func (*UpdateWALBalancePolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWALBalancePolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdateWALBalancePolicyRequest) GetConfig added in v2.6.1

func (*UpdateWALBalancePolicyRequest) GetNodes added in v2.6.1

func (*UpdateWALBalancePolicyRequest) GetUpdateMask added in v2.6.1

func (*UpdateWALBalancePolicyRequest) ProtoMessage added in v2.6.1

func (*UpdateWALBalancePolicyRequest) ProtoMessage()

func (*UpdateWALBalancePolicyRequest) ProtoReflect added in v2.6.1

func (*UpdateWALBalancePolicyRequest) Reset added in v2.6.1

func (x *UpdateWALBalancePolicyRequest) Reset()

func (*UpdateWALBalancePolicyRequest) String added in v2.6.1

type UpdateWALBalancePolicyResponse added in v2.6.1

type UpdateWALBalancePolicyResponse struct {
	Config        *WALBalancePolicyConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`                                              // return current configuration of WAL balance policy.
	FreezeNodeIds []int64                 `protobuf:"varint,2,rep,packed,name=freeze_node_ids,json=freezeNodeIds,proto3" json:"freeze_node_ids,omitempty"` // nodes that are frozen.
	// contains filtered or unexported fields
}

func (*UpdateWALBalancePolicyResponse) Descriptor deprecated added in v2.6.1

func (*UpdateWALBalancePolicyResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWALBalancePolicyResponse.ProtoReflect.Descriptor instead.

func (*UpdateWALBalancePolicyResponse) GetConfig added in v2.6.1

func (*UpdateWALBalancePolicyResponse) GetFreezeNodeIds added in v2.6.1

func (x *UpdateWALBalancePolicyResponse) GetFreezeNodeIds() []int64

func (*UpdateWALBalancePolicyResponse) ProtoMessage added in v2.6.1

func (*UpdateWALBalancePolicyResponse) ProtoMessage()

func (*UpdateWALBalancePolicyResponse) ProtoReflect added in v2.6.1

func (*UpdateWALBalancePolicyResponse) Reset added in v2.6.1

func (x *UpdateWALBalancePolicyResponse) Reset()

func (*UpdateWALBalancePolicyResponse) String added in v2.6.1

type VChannelMeta added in v2.6.0

type VChannelMeta struct {
	Vchannel           string                    `protobuf:"bytes,1,opt,name=vchannel,proto3" json:"vchannel,omitempty"`                                                  // vchannel name.
	State              VChannelState             `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.streaming.VChannelState" json:"state,omitempty"`             // vchannel state.
	CollectionInfo     *CollectionInfoOfVChannel `protobuf:"bytes,3,opt,name=collection_info,json=collectionInfo,proto3" json:"collection_info,omitempty"`                // if the channel is belong to a collection, the collection info will be setup.
	CheckpointTimeTick uint64                    `protobuf:"varint,4,opt,name=checkpoint_time_tick,json=checkpointTimeTick,proto3" json:"checkpoint_time_tick,omitempty"` // The timetick of checkpoint, the meta already see the message at this timetick.
	// contains filtered or unexported fields
}

/ / VChannelMeta / VChannelMeta is the meta information of a vchannel. We need to add vchannel meta in wal meta, so the wal can recover the information of it. The vchannel meta is also used to store the vchannel operation result, such as shard-splitting.

func (*VChannelMeta) Descriptor deprecated added in v2.6.0

func (*VChannelMeta) Descriptor() ([]byte, []int)

Deprecated: Use VChannelMeta.ProtoReflect.Descriptor instead.

func (*VChannelMeta) GetCheckpointTimeTick added in v2.6.0

func (x *VChannelMeta) GetCheckpointTimeTick() uint64

func (*VChannelMeta) GetCollectionInfo added in v2.6.0

func (x *VChannelMeta) GetCollectionInfo() *CollectionInfoOfVChannel

func (*VChannelMeta) GetState added in v2.6.0

func (x *VChannelMeta) GetState() VChannelState

func (*VChannelMeta) GetVchannel added in v2.6.0

func (x *VChannelMeta) GetVchannel() string

func (*VChannelMeta) ProtoMessage added in v2.6.0

func (*VChannelMeta) ProtoMessage()

func (*VChannelMeta) ProtoReflect added in v2.6.0

func (x *VChannelMeta) ProtoReflect() protoreflect.Message

func (*VChannelMeta) Reset added in v2.6.0

func (x *VChannelMeta) Reset()

func (*VChannelMeta) String added in v2.6.0

func (x *VChannelMeta) String() string

type VChannelSchemaState added in v2.6.0

type VChannelSchemaState int32

VChannelSchemaState is the state of vchannel schema.

const (
	VChannelSchemaState_VCHANNEL_SCHEMA_STATE_UNKNOWN VChannelSchemaState = 0 // should never used.
	VChannelSchemaState_VCHANNEL_SCHEMA_STATE_NORMAL  VChannelSchemaState = 1 // vchannel schema is normal.
	VChannelSchemaState_VCHANNEL_SCHEMA_STATE_DROPPED VChannelSchemaState = 2 // vchannel schema is dropped.
)

func (VChannelSchemaState) Descriptor added in v2.6.0

func (VChannelSchemaState) Enum added in v2.6.0

func (VChannelSchemaState) EnumDescriptor deprecated added in v2.6.0

func (VChannelSchemaState) EnumDescriptor() ([]byte, []int)

Deprecated: Use VChannelSchemaState.Descriptor instead.

func (VChannelSchemaState) Number added in v2.6.0

func (VChannelSchemaState) String added in v2.6.0

func (x VChannelSchemaState) String() string

func (VChannelSchemaState) Type added in v2.6.0

type VChannelState added in v2.6.0

type VChannelState int32

VChannelState is the state of vchannel

const (
	VChannelState_VCHANNEL_STATE_UNKNOWN VChannelState = 0 // should never used.
	VChannelState_VCHANNEL_STATE_NORMAL  VChannelState = 1 // vchannel is normal.
	VChannelState_VCHANNEL_STATE_DROPPED VChannelState = 2 // vchannel is dropped.
)

func (VChannelState) Descriptor added in v2.6.0

func (VChannelState) Enum added in v2.6.0

func (x VChannelState) Enum() *VChannelState

func (VChannelState) EnumDescriptor deprecated added in v2.6.0

func (VChannelState) EnumDescriptor() ([]byte, []int)

Deprecated: Use VChannelState.Descriptor instead.

func (VChannelState) Number added in v2.6.0

func (VChannelState) String added in v2.6.0

func (x VChannelState) String() string

func (VChannelState) Type added in v2.6.0

type VersionPair

type VersionPair struct {
	Global int64 `protobuf:"varint,1,opt,name=global,proto3" json:"global,omitempty"`
	Local  int64 `protobuf:"varint,2,opt,name=local,proto3" json:"local,omitempty"`
	// contains filtered or unexported fields
}

VersionPair is the version pair of global and local.

func (*VersionPair) Descriptor deprecated

func (*VersionPair) Descriptor() ([]byte, []int)

Deprecated: Use VersionPair.ProtoReflect.Descriptor instead.

func (*VersionPair) GetGlobal

func (x *VersionPair) GetGlobal() int64

func (*VersionPair) GetLocal

func (x *VersionPair) GetLocal() int64

func (*VersionPair) ProtoMessage

func (*VersionPair) ProtoMessage()

func (*VersionPair) ProtoReflect

func (x *VersionPair) ProtoReflect() protoreflect.Message

func (*VersionPair) Reset

func (x *VersionPair) Reset()

func (*VersionPair) String

func (x *VersionPair) String() string

type WALBalancePolicyConfig added in v2.6.1

type WALBalancePolicyConfig struct {
	AllowRebalance bool `protobuf:"varint,1,opt,name=allow_rebalance,json=allowRebalance,proto3" json:"allow_rebalance,omitempty"`
	// contains filtered or unexported fields
}

func (*WALBalancePolicyConfig) Descriptor deprecated added in v2.6.1

func (*WALBalancePolicyConfig) Descriptor() ([]byte, []int)

Deprecated: Use WALBalancePolicyConfig.ProtoReflect.Descriptor instead.

func (*WALBalancePolicyConfig) GetAllowRebalance added in v2.6.1

func (x *WALBalancePolicyConfig) GetAllowRebalance() bool

func (*WALBalancePolicyConfig) ProtoMessage added in v2.6.1

func (*WALBalancePolicyConfig) ProtoMessage()

func (*WALBalancePolicyConfig) ProtoReflect added in v2.6.1

func (x *WALBalancePolicyConfig) ProtoReflect() protoreflect.Message

func (*WALBalancePolicyConfig) Reset added in v2.6.1

func (x *WALBalancePolicyConfig) Reset()

func (*WALBalancePolicyConfig) String added in v2.6.1

func (x *WALBalancePolicyConfig) String() string

type WALBalancePolicyNodes added in v2.6.1

type WALBalancePolicyNodes struct {
	FreezeNodeIds   []int64 `protobuf:"varint,1,rep,packed,name=freeze_node_ids,json=freezeNodeIds,proto3" json:"freeze_node_ids,omitempty"`       // nodes that will be frozen.
	DefreezeNodeIds []int64 `protobuf:"varint,2,rep,packed,name=defreeze_node_ids,json=defreezeNodeIds,proto3" json:"defreeze_node_ids,omitempty"` // nodes that will be defrozen.
	// contains filtered or unexported fields
}

func (*WALBalancePolicyNodes) Descriptor deprecated added in v2.6.1

func (*WALBalancePolicyNodes) Descriptor() ([]byte, []int)

Deprecated: Use WALBalancePolicyNodes.ProtoReflect.Descriptor instead.

func (*WALBalancePolicyNodes) GetDefreezeNodeIds added in v2.6.1

func (x *WALBalancePolicyNodes) GetDefreezeNodeIds() []int64

func (*WALBalancePolicyNodes) GetFreezeNodeIds added in v2.6.1

func (x *WALBalancePolicyNodes) GetFreezeNodeIds() []int64

func (*WALBalancePolicyNodes) ProtoMessage added in v2.6.1

func (*WALBalancePolicyNodes) ProtoMessage()

func (*WALBalancePolicyNodes) ProtoReflect added in v2.6.1

func (x *WALBalancePolicyNodes) ProtoReflect() protoreflect.Message

func (*WALBalancePolicyNodes) Reset added in v2.6.1

func (x *WALBalancePolicyNodes) Reset()

func (*WALBalancePolicyNodes) String added in v2.6.1

func (x *WALBalancePolicyNodes) String() string

type WALCheckpoint added in v2.6.0

type WALCheckpoint struct {
	MessageId *commonpb.MessageID `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // From here to recover all uncommited info.
	// e.g., primary key index, segment assignment info, vchannel info...
	// because current data path flush is slow, and managed by the coordinator, current current is not apply to it.
	//
	// because the data path flush is slow, so we add a new checkpoint here to promise fast recover the wal state from log.
	TimeTick uint64 `protobuf:"varint,2,opt,name=time_tick,json=timeTick,proto3" json:"time_tick,omitempty"` // The timetick of checkpoint, keep consistecy with message_id.
	// It's a hint for easier debugging.
	RecoveryMagic int64 `protobuf:"varint,3,opt,name=recovery_magic,json=recoveryMagic,proto3" json:"recovery_magic,omitempty"` // The recovery version of the checkpoint, it's used to hint the future recovery info upgrading.
	// The wal name of the checkpoint.
	ReplicateConfig     *commonpb.ReplicateConfiguration `protobuf:"bytes,4,opt,name=replicate_config,json=replicateConfig,proto3" json:"replicate_config,omitempty"`             // if the wal join a replicated clusters, the replicate config is not null,
	ReplicateCheckpoint *commonpb.ReplicateCheckpoint    `protobuf:"bytes,5,opt,name=replicate_checkpoint,json=replicateCheckpoint,proto3" json:"replicate_checkpoint,omitempty"` // if the wal is replicated from remote cluster, the checkpoint is not null,
	// contains filtered or unexported fields
}

The WALCheckpoint that is used to recovery the wal scanner.

func (*WALCheckpoint) Descriptor deprecated added in v2.6.0

func (*WALCheckpoint) Descriptor() ([]byte, []int)

Deprecated: Use WALCheckpoint.ProtoReflect.Descriptor instead.

func (*WALCheckpoint) GetMessageId added in v2.6.0

func (x *WALCheckpoint) GetMessageId() *commonpb.MessageID

func (*WALCheckpoint) GetRecoveryMagic added in v2.6.0

func (x *WALCheckpoint) GetRecoveryMagic() int64

func (*WALCheckpoint) GetReplicateCheckpoint added in v2.6.2

func (x *WALCheckpoint) GetReplicateCheckpoint() *commonpb.ReplicateCheckpoint

func (*WALCheckpoint) GetReplicateConfig added in v2.6.2

func (x *WALCheckpoint) GetReplicateConfig() *commonpb.ReplicateConfiguration

func (*WALCheckpoint) GetTimeTick added in v2.6.0

func (x *WALCheckpoint) GetTimeTick() uint64

func (*WALCheckpoint) ProtoMessage added in v2.6.0

func (*WALCheckpoint) ProtoMessage()

func (*WALCheckpoint) ProtoReflect added in v2.6.0

func (x *WALCheckpoint) ProtoReflect() protoreflect.Message

func (*WALCheckpoint) Reset added in v2.6.0

func (x *WALCheckpoint) Reset()

func (*WALCheckpoint) String added in v2.6.0

func (x *WALCheckpoint) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL