repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/indexpb/index_coord.pb.go
pkg/proto/indexpb/index_coord.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: index_coord.proto package indexpb import ( commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" milvuspb "github.com/milvus-io/milvus-proto/go-api/v2/milvuspb" schemapb "github.co...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/indexpb/index_coord_grpc.pb.go
pkg/proto/indexpb/index_coord_grpc.pb.go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc v3.21.4 // source: index_coord.proto package indexpb import ( context "context" commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" milvuspb "github.com/milvus-io/milvus-proto/go-ap...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/messagespb/messages.pb.go
pkg/proto/messagespb/messages.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: messages.proto package messagespb import ( commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" milvuspb "github.com/milvus-io/milvus-proto/go-api/v2/milvuspb" rgpb "github.com/mi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/cgopb/cgo_msg.pb.go
pkg/proto/cgopb/cgo_msg.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: cgo_msg.proto package cgopb import ( schemapb "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.o...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/planpb/plan.pb.go
pkg/proto/planpb/plan.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: plan.proto package planpb import ( commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" schemapb "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" protoreflect "google.golang...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/clusteringpb/clustering.pb.go
pkg/proto/clusteringpb/clustering.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: clustering.proto package clusteringpb import ( schemapb "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "googl...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/modelservicepb/model_service.pb.go
pkg/proto/modelservicepb/model_service.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: model_service.proto package modelservicepb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/modelservicepb/model_service_grpc.pb.go
pkg/proto/modelservicepb/model_service_grpc.pb.go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc v3.21.4 // source: model_service.proto package modelservicepb import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/statu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/querypb/query_coord.pb.go
pkg/proto/querypb/query_coord.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: query_coord.proto package querypb import ( commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" milvuspb "github.com/milvus-io/milvus-proto/go-api/v2/milvuspb" msgpb "github.com/m...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/querypb/query_coord_grpc.pb.go
pkg/proto/querypb/query_coord_grpc.pb.go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc v3.21.4 // source: query_coord.proto package querypb import ( context "context" commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" milvuspb "github.com/milvus-io/milvus-proto/go-ap...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/internalpb/internal.pb.go
pkg/proto/internalpb/internal.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: internal.proto package internalpb import ( commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" milvuspb "github.com/milvus-io/milvus-proto/go-api/v2/milvuspb" schemapb "github.co...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/proto/segcorepb/segcore.pb.go
pkg/proto/segcorepb/segcore.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.21.4 // source: segcore.proto package segcorepb import ( commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" schemapb "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" protoreflect "google....
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/util.go
pkg/objectstorage/util.go
package objectstorage import ( "context" "encoding/json" "fmt" "os" "strings" "cloud.google.com/go/storage" "github.com/Azure/azure-sdk-for-go/sdk/azcore" "github.com/Azure/azure-sdk-for-go/sdk/azidentity" "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob" "github.com/Azure/azure-sdk-for-go/sdk/storage/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/options.go
pkg/objectstorage/options.go
package objectstorage import "github.com/milvus-io/milvus/pkg/v2/util/paramtable" // Config for setting params used by chunk manager client. type Config struct { Address string BucketName string AccessKeyID string SecretAccessKeyID string UseSSL bool SslCACert ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/aliyun/aliyun_test.go
pkg/objectstorage/aliyun/aliyun_test.go
package aliyun import ( "os" "testing" "github.com/cockroachdb/errors" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/objectstorage/aliyun/mocks" ) func TestNewMinioClient(t *testing.T) { t.Run("ak sk ok"...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/aliyun/aliyun.go
pkg/objectstorage/aliyun/aliyun.go
package aliyun import ( "github.com/aliyun/credentials-go/credentials" // >= v1.2.6 "github.com/cockroachdb/errors" "github.com/minio/minio-go/v7" minioCred "github.com/minio/minio-go/v7/pkg/credentials" "github.com/milvus-io/milvus/pkg/v2/log" ) const ( OSSAddressFeatureString = "aliyuncs.com" OSSDefaultAddr...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/aliyun/mocks/Credential.go
pkg/objectstorage/aliyun/mocks/Credential.go
// Code generated by mockery v2.16.0. DO NOT EDIT. package mocks import "github.com/stretchr/testify/mock" // Credential is an autogenerated mock type for the Credential type type Credential struct { mock.Mock } type Credential_Expecter struct { mock *mock.Mock } func (_m *Credential) EXPECT() *Credential_Expect...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/gcp/gcp_test.go
pkg/objectstorage/gcp/gcp_test.go
package gcp import ( "net/http" "testing" "github.com/cockroachdb/errors" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" "github.com/stretchr/testify/assert" "golang.org/x/oauth2" ) func TestNewMinioClient(t *testing.T) { t.Run("iam ok", func(t *testing.T) { minioCli, err := ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/gcp/gcp.go
pkg/objectstorage/gcp/gcp.go
package gcp import ( "net/http" "strings" "github.com/cockroachdb/errors" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" "go.uber.org/atomic" "golang.org/x/oauth2" "golang.org/x/oauth2/google" ) // WrapHTTPTransport wraps http.Transport, add an auth header to support GCP native...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/tencent/tencent_test.go
pkg/objectstorage/tencent/tencent_test.go
package tencent import ( "testing" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" "github.com/stretchr/testify/assert" ) func Test_NewMinioClient(t *testing.T) { t.Run("ak sk ok", func(t *testing.T) { minioCli, err := NewMinioClient("xxx.cos.ap-beijing.myqcloud.com", &minio.Opti...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/tencent/tencent.go
pkg/objectstorage/tencent/tencent.go
package tencent import ( "fmt" "github.com/cockroachdb/errors" "github.com/minio/minio-go/v7" minioCred "github.com/minio/minio-go/v7/pkg/credentials" "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" ) // NewMinioClient returns a minio.Client which is compatible for tencent OSS func NewMinioCli...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/huawei/huawei.go
pkg/objectstorage/huawei/huawei.go
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/objectstorage/huawei/huawei_test.go
pkg/objectstorage/huawei/huawei_test.go
package huawei import ( "testing" "time" "github.com/cockroachdb/errors" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" "github.com/stretchr/testify/assert" ) const OBSDefaultAddress = "obs.cn-east-3.myhuaweicloud.com" func TestNewMinioClient(t *testing.T) { t.Run("ak sk ok", f...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/opener.go
pkg/streaming/walimpls/opener.go
package walimpls import ( "context" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ) // OpenOption is the option for allocating wal impls instance. type OpenOption struct { Channel types.PChannelInfo // Channel to open. } // Validate validates the OpenOption. func (oo...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/wal.go
pkg/streaming/walimpls/wal.go
package walimpls import ( "context" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ) var ErrFenced = errors.New("fenced") // ROWALImpls is the underlying implementation for a read-only wal. type ROWALImpls in...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/builder.go
pkg/streaming/walimpls/builder.go
package walimpls import "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" // OpenerBuilderImpls is the interface for building wal opener impls. type OpenerBuilderImpls interface { // Name of the wal builder, should be a lowercase string. Name() message.WALName // Build build a opener impls instance. Bu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/test_framework.go
pkg/streaming/walimpls/test_framework.go
//go:build test // +build test package walimpls import ( "context" "fmt" "math/rand" "sort" "strconv" "strings" "sync" "testing" "time" "github.com/remeh/sizedwaitgroup" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/scanner.go
pkg/streaming/walimpls/scanner.go
package walimpls import ( "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/options" ) type ReadOption struct { // The name of the reader. Name string // ReadAheadBufferSize sets the size of scanner read ahead queue size. // Control how many messages ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/rmq/message_id.go
pkg/streaming/walimpls/impls/rmq/message_id.go
package rmq import ( "strconv" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) var _ message.MessageID = rmqID(0) // NewRmqID creates a new rmqID. // TODO: remove in future. func NewRmqID(id int64) message.Mess...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/rmq/opener.go
pkg/streaming/walimpls/impls/rmq/opener.go
package rmq import ( "context" "github.com/milvus-io/milvus/pkg/v2/mq/mqimpl/rocksmq/client" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/helper" ) var _ walimpls.OpenerImpls = (*openerImp...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/rmq/rmq_test.go
pkg/streaming/walimpls/impls/rmq/rmq_test.go
package rmq import ( "os" "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/mq/mqimpl/rocksmq/server" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "gi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/rmq/message_id_test.go
pkg/streaming/walimpls/impls/rmq/message_id_test.go
package rmq import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) func TestMessageID(t *testing.T) { assert.Equal(t, int64(1), message.MessageID(rmqID(1)).(interface{ RmqID() int64 }).RmqID()) assert.Equal(t, message.WALNameRocksmq, rmqID(1).WALNa...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/rmq/wal.go
pkg/streaming/walimpls/impls/rmq/wal.go
package rmq import ( "context" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/mq/common" "github.com/milvus-io/milvus/pkg/v2/mq/mqimpl/rocksmq/client" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/s...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/rmq/builder.go
pkg/streaming/walimpls/impls/rmq/builder.go
package rmq import ( "github.com/milvus-io/milvus/pkg/v2/mq/mqimpl/rocksmq/client" "github.com/milvus-io/milvus/pkg/v2/mq/mqimpl/rocksmq/server" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpl...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/rmq/scanner.go
pkg/streaming/walimpls/impls/rmq/scanner.go
package rmq import ( "github.com/cockroachdb/errors" "github.com/milvus-io/milvus/pkg/v2/mq/mqimpl/rocksmq/client" "github.com/milvus-io/milvus/pkg/v2/mq/mqimpl/rocksmq/server" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/walimplstest/message_id.go
pkg/streaming/walimpls/impls/walimplstest/message_id.go
//go:build test // +build test package walimplstest import ( "strconv" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) var _ message.MessageID = testMessageID(0) // NewTestMessageID create a new test message id. func NewTestMessageID(id int64)...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/walimplstest/opener.go
pkg/streaming/walimpls/impls/walimplstest/opener.go
//go:build test // +build test package walimplstest import ( "context" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/helper" ) var _ walimpls.OpenerImpls = &opener{} type opener struct{} func (*opener) Open(ctx context.Context, opt *walimpls.Open...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/walimplstest/wal.go
pkg/streaming/walimpls/impls/walimplstest/wal.go
//go:build test // +build test package walimplstest import ( "context" "math/rand" "github.com/cockroachdb/errors" "go.uber.org/atomic" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/walimplstest/builder.go
pkg/streaming/walimpls/impls/walimplstest/builder.go
//go:build test // +build test package walimplstest import ( "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/registry" ) func init() { // register the builder to the registry. registry.Regi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/walimplstest/message_log.go
pkg/streaming/walimpls/impls/walimplstest/message_log.go
//go:build test // +build test package walimplstest import ( "context" "encoding/json" "sync" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/util/syncutil" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) var logs = typeutil.NewConcurrentMap[string, *messag...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/walimplstest/scanner.go
pkg/streaming/walimpls/impls/walimplstest/scanner.go
//go:build test // +build test package walimplstest import ( "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/helper" ) var _ walimpls.ScannerImpls = &scannerImpls{} func newScannerImpls(opts...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/walimplstest/wal_test.go
pkg/streaming/walimpls/impls/walimplstest/wal_test.go
package walimplstest import ( "testing" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" ) func TestWALImplsTest(t *testing.T) { enableFenceError.Store(false) defer enableFenceError.Store(true) walimpls.NewWALImplsTestFramework(t, 100, &openerBuilder{}).Run() }
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/wp/message_id.go
pkg/streaming/walimpls/impls/wp/message_id.go
package wp import ( "encoding/base64" "fmt" "github.com/cockroachdb/errors" wp "github.com/zilliztech/woodpecker/woodpecker/log" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) func NewWpID(id *wp.LogMessageId) message.MessageID { return wp...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/wp/opener.go
pkg/streaming/walimpls/impls/wp/opener.go
package wp import ( "context" "github.com/zilliztech/woodpecker/woodpecker" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/helper" ) var _ walimpls.OpenerImpls = (*openerImpl)(nil) // op...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/wp/message_id_test.go
pkg/streaming/walimpls/impls/wp/message_id_test.go
package wp import ( "fmt" "testing" "github.com/stretchr/testify/assert" woodpecker "github.com/zilliztech/woodpecker/woodpecker/log" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) func TestMessageID(t *testing.T) { wpId := message.MessageID(newMessageIDOfWoodpecker(1, 2)).(interface { Woodpe...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/wp/wal.go
pkg/streaming/walimpls/impls/wp/wal.go
package wp import ( "context" "github.com/cockroachdb/errors" "github.com/zilliztech/woodpecker/common/werr" wp "github.com/zilliztech/woodpecker/woodpecker/log" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/mi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/wp/builder.go
pkg/streaming/walimpls/impls/wp/builder.go
package wp import ( "context" "fmt" "net" "github.com/zilliztech/woodpecker/common/config" wpMetrics "github.com/zilliztech/woodpecker/common/metrics" wpStorageClient "github.com/zilliztech/woodpecker/common/objectstorage" "github.com/zilliztech/woodpecker/woodpecker" clientv3 "go.etcd.io/etcd/client/v3" "go...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/wp/scanner.go
pkg/streaming/walimpls/impls/wp/scanner.go
package wp import ( "context" "github.com/cockroachdb/errors" woodpecker "github.com/zilliztech/woodpecker/woodpecker/log" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/wp/wp_test.go
pkg/streaming/walimpls/impls/wp/wp_test.go
package wp import ( "path/filepath" "testing" "github.com/stretchr/testify/assert" "github.com/zilliztech/woodpecker/woodpecker" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.c...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/backlog_clear_helper.go
pkg/streaming/walimpls/impls/pulsar/backlog_clear_helper.go
package pulsar import ( "sync" "time" "github.com/apache/pulsar-client-go/pulsar" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/util/retry" "github.com/milvus-io/milvus/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/message_id.go
pkg/streaming/walimpls/impls/pulsar/message_id.go
package pulsar import ( "encoding/base64" "fmt" "github.com/apache/pulsar-client-go/pulsar" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) var _ message.MessageID = pulsarID{} // NewPulsarID creates a new pu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/opener.go
pkg/streaming/walimpls/impls/pulsar/opener.go
package pulsar import ( "context" "fmt" "github.com/apache/pulsar-client-go/pulsar" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/helper" "github.com/milvus-io/milvus/pkg/v2/util/paramtab...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/pulsar_test.go
pkg/streaming/walimpls/impls/pulsar/pulsar_test.go
package pulsar import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/registry" "gi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/message_id_test.go
pkg/streaming/walimpls/impls/pulsar/message_id_test.go
package pulsar import ( "testing" "github.com/apache/pulsar-client-go/pulsar" "github.com/stretchr/testify/assert" "google.golang.org/protobuf/proto" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) func TestMessageID(t *testing.T) { pid := message.MessageID(newMessageIDOfPulsar(1, 2, 3)).(interf...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/message_id_data.pb.go
pkg/streaming/walimpls/impls/pulsar/message_id_data.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.33.0 // protoc v3.6.1 // source: message_id_data.proto package pulsar import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/wal.go
pkg/streaming/walimpls/impls/pulsar/wal.go
package pulsar import ( "context" "time" "github.com/apache/pulsar-client-go/pulsar" "github.com/cenkalti/backoff/v4" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/mil...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/builder.go
pkg/streaming/walimpls/impls/pulsar/builder.go
package pulsar import ( "time" "github.com/apache/pulsar-client-go/pulsar" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus/pkg/v2/metrics" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/stream...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/scanner.go
pkg/streaming/walimpls/impls/pulsar/scanner.go
package pulsar import ( "context" "github.com/apache/pulsar-client-go/pulsar" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/helper" ) var _ walimpls.Scan...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/pulsar/pulsarlog/logger.go
pkg/streaming/walimpls/impls/pulsar/pulsarlog/logger.go
package pulsarlog import ( plog "github.com/apache/pulsar-client-go/pulsar/log" "go.uber.org/zap" "go.uber.org/zap/zapcore" "github.com/milvus-io/milvus/pkg/v2/log" ) var _ plog.Logger = (*logger)(nil) // NewLogger creates a new pulsar logger. // TODO: currently, pulsar client will log a huge message when loggi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/kafka/message_id.go
pkg/streaming/walimpls/impls/kafka/message_id.go
package kafka import ( "strconv" "github.com/cockroachdb/errors" "github.com/confluentinc/confluent-kafka-go/kafka" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) func UnmarshalMessageID(data string) (message.MessageID, error) { id, err := ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/kafka/opener.go
pkg/streaming/walimpls/impls/kafka/opener.go
package kafka import ( "context" "fmt" "github.com/confluentinc/confluent-kafka-go/kafka" "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/helper" "github.com/milvus-io/milvus/pkg/v2/util/...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/kafka/kafka_test.go
pkg/streaming/walimpls/impls/kafka/kafka_test.go
package kafka import ( "os" "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/registry"...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/kafka/message_id_test.go
pkg/streaming/walimpls/impls/kafka/message_id_test.go
package kafka import ( "testing" "github.com/confluentinc/confluent-kafka-go/kafka" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) func TestMessageID(t *testing.T) { assert.Equal(t, kafka.Offset(1), message.MessageID(kafkaID(1)).(interface{ KafkaID() kafka.Of...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/kafka/wal.go
pkg/streaming/walimpls/impls/kafka/wal.go
package kafka import ( "context" "github.com/cockroachdb/errors" "github.com/confluentinc/confluent-kafka-go/kafka" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/kafka/builder.go
pkg/streaming/walimpls/impls/kafka/builder.go
package kafka import ( "github.com/confluentinc/confluent-kafka-go/kafka" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/registry" "github.com/milvus-io/milvus/pkg/v2/util/paramtable" ) fu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/impls/kafka/scanner.go
pkg/streaming/walimpls/impls/kafka/scanner.go
package kafka import ( "time" "github.com/confluentinc/confluent-kafka-go/kafka" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/helper" ) var _ walimpls.ScannerImpls = (*scannerImpl)(nil)...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/helper/wal_helper.go
pkg/streaming/walimpls/helper/wal_helper.go
package helper import ( "go.uber.org/zap" "github.com/milvus-io/milvus/pkg/v2/log" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" ) // NewWALHelper creates a new WALHelper. func NewWALHelper(opt *walimpls.OpenOption) *WALHelper { return &WALHelp...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/helper/scanner_helper.go
pkg/streaming/walimpls/helper/scanner_helper.go
package helper import ( "context" "github.com/milvus-io/milvus/pkg/v2/util/syncutil" ) // NewScannerHelper creates a new ScannerHelper. func NewScannerHelper(scannerName string) *ScannerHelper { return &ScannerHelper{ scannerName: scannerName, notifier: syncutil.NewAsyncTaskNotifier[error](), } } // Scan...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/helper/scanner_helper_test.go
pkg/streaming/walimpls/helper/scanner_helper_test.go
package helper import ( "testing" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" ) func TestScanner(t *testing.T) { h := NewScannerHelper("test") assert.NotNil(t, h.Context()) assert.Equal(t, h.Name(), "test") assert.NotNil(t, h.Context()) select { case <-h.Done(): t.Errorf("should ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/helper/wal_helper_test.go
pkg/streaming/walimpls/helper/wal_helper_test.go
package helper import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" ) func TestWALHelper(t *testing.T) { h := NewWALHelper(&walimpls.OpenOption{ Channel: types.PChannelInfo{ Name: "te...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/registry/registry.go
pkg/streaming/walimpls/registry/registry.go
package registry import ( "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) // builders is a map of registered wal builders. var builders typeutil.ConcurrentMap[message.WALName, walimpls.OpenerBui...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/walimpls/registry/wal_test.go
pkg/streaming/walimpls/registry/wal_test.go
package registry import ( "sync" "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/mocks/streaming/mock_walimpls" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) func TestRegister(t *testing.T) { name := message.WALNameUnknown b := mock_walimpls.NewMockOpenerBui...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/options/deliver_test.go
pkg/streaming/util/options/deliver_test.go
package options import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/mocks/streaming/util/mock_message" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/options/deliver.go
pkg/streaming/util/options/deliver.go
package options import ( "fmt" "github.com/milvus-io/milvus/pkg/v2/proto/messagespb" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) const ( DeliverPolicyTypeAll deliverPolicyType = 1 DeliverPolicyTypeLatest deliverPolicyType = 2 ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/pchannel_info.go
pkg/streaming/util/types/pchannel_info.go
package types import ( "fmt" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" ) const ( InitialTerm int64 = -1 AccessModeRW AccessMode = AccessMode(streamingpb.PChannelAccessMode_PCHANNEL_ACCESS_READWRITE) // It's the default option. AccessModeRO AccessMode = AccessMode(streamingpb.PChannelAccessMod...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/wal_metrics_test.go
pkg/streaming/util/types/wal_metrics_test.go
package types import ( "testing" "time" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/util/tsoutil" ) func TestWALMetrics(t *testing.T) { now := time.Now() rw := RWWALMetrics{ ChannelInfo: PChannelInfo{ Name: "ch1", }, MVCCTimeTick: tsoutil.ComposeTSByTime(now, 0), Re...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/acked_result_test.go
pkg/streaming/util/types/acked_result_test.go
package types_test import ( "testing" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/types" "github.com/milvus-io/milvus/pkg/v2/streaming/walimpls/impls/walimplstest" ) type AckedResultTestSuite struct { suite.Suite...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/streaming_node.go
pkg/streaming/util/types/streaming_node.go
package types import ( "context" "fmt" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/util/replicateutil" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) var ( ErrStopping = errors.New("streaming node is stopping") ErrNotAlive ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/streaming_node_test.go
pkg/streaming/util/types/streaming_node_test.go
package types import ( "testing" "github.com/stretchr/testify/assert" ) func TestStreamingNodeStatus(t *testing.T) { s := StreamingNodeStatus{Err: ErrStopping} assert.False(t, s.IsHealthy()) s = StreamingNodeStatus{Err: ErrNotAlive} assert.False(t, s.IsHealthy()) info := StreamingNodeInfo{ ServerID: 1, ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/acked_result.go
pkg/streaming/util/types/acked_result.go
package types import ( "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) // NewAckedPendings creates a new AckedPendings. func NewAckedPendings(channels []string) *AckedResult { return &AckedResult{ AckedResult: &streamingpb.AckedResult{ Chann...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/responses.go
pkg/streaming/util/types/responses.go
package types import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/anypb" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) // BroadcastAppendResult is the result of broadcast append operation. type BroadcastAppendR...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/balance_config.go
pkg/streaming/util/types/balance_config.go
package types import "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" const ( UpdateMaskPathWALBalancePolicyAllowRebalance = "config.allow_rebalance" ) type ( UpdateWALBalancePolicyRequest = streamingpb.UpdateWALBalancePolicyRequest UpdateWALBalancePolicyResponse = streamingpb.UpdateWALBalancePolicyRespons...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/responses_test.go
pkg/streaming/util/types/responses_test.go
package types import ( "testing" "github.com/stretchr/testify/assert" "google.golang.org/protobuf/types/known/anypb" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/mocks/streaming/util/mock_message" "github.com/milvus-io/milvus/pkg/v2/proto/messagespb" "github.com/m...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/pchannel_info_test.go
pkg/streaming/util/types/pchannel_info_test.go
package types import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" ) func TestPChannelInfo(t *testing.T) { info := PChannelInfo{Name: "pchannel", Term: 1, AccessMode: AccessModeRO} assert.False(t, info.ChannelID().IsZero()) assert.True(t, ChannelID{}.I...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/types/wal_metrics.go
pkg/streaming/util/types/wal_metrics.go
package types import ( "time" "github.com/milvus-io/milvus/pkg/v2/proto/streamingpb" "github.com/milvus-io/milvus/pkg/v2/util/tsoutil" ) var ( _ WALMetrics = RWWALMetrics{} _ WALMetrics = ROWALMetrics{} ) type WALMetrics interface { isWALMetrics() } // RWWALMetrics represents the WAL metrics for a read-write...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/resource_key.go
pkg/streaming/util/message/resource_key.go
package message import ( "fmt" "strconv" "strings" "github.com/milvus-io/milvus/pkg/v2/proto/messagespb" "github.com/milvus-io/milvus/pkg/v2/util" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) // NewResourceKeyFromProto creates a ResourceKey from proto. func NewResourceKeyFromProto(proto *messagespb.Res...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/reflect_info.go
pkg/streaming/util/message/reflect_info.go
// Code generated by message-codegen. DO NOT EDIT. package message import ( "fmt" "reflect" msgpb "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" messagespb "github.com/milvus-io/milvus/pkg/v2/proto/messagespb" ) // Export consts const ( FieldMaskCollectionConsistencyLevel = "consistency_level" FieldMaskC...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
true
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/specialized_message.go
pkg/streaming/util/message/specialized_message.go
package message import ( "fmt" "reflect" "github.com/cockroachdb/errors" "google.golang.org/protobuf/proto" ) // mustAsSpecializedMutableMessage converts a MutableMessage to a specialized MutableMessage. // It will panic if the message is not the target specialized message or failed to decode the specialized hea...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/cipher.go
pkg/streaming/util/message/cipher.go
package message import ( "sync" "github.com/milvus-io/milvus-proto/go-api/v2/hook" ) // cipher is a global variable that is used to encrypt and decrypt messages. // It should be initialized at initialization stage. var ( cipher hook.Cipher initOnce sync.Once ) // RegisterCipher registers a cipher to be used f...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/encoder_test.go
pkg/streaming/util/message/encoder_test.go
package message import ( "testing" "github.com/stretchr/testify/assert" ) func TestEncoder(t *testing.T) { result, err := DecodeInt64(EncodeInt64(1)) assert.NoError(t, err) assert.Equal(t, int64(1), result) result2, err := DecodeUint64(EncodeUint64(1)) assert.NoError(t, err) assert.Equal(t, uint64(1), resul...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/message_id.go
pkg/streaming/util/message/message_id.go
package message import ( "fmt" "github.com/cockroachdb/errors" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) var ( // messageIDUnmarshaler is the map for message id unmarshaler. messageIDUnmarshaler typeutil.ConcurrentMap[WALName, MessageIDUnmarsha...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/broadcast.go
pkg/streaming/util/message/broadcast.go
package message import ( "google.golang.org/protobuf/proto" "github.com/milvus-io/milvus/pkg/v2/proto/messagespb" "github.com/milvus-io/milvus/pkg/v2/util/funcutil" "github.com/milvus-io/milvus/pkg/v2/util/typeutil" ) // newBroadcastHeaderFromProto creates a BroadcastHeader from proto. func newBroadcastHeaderFro...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/utils.go
pkg/streaming/util/message/utils.go
package message import ( "reflect" "google.golang.org/protobuf/proto" ) // AsImmutableTxnMessage converts an ImmutableMessage to ImmutableTxnMessage var AsImmutableTxnMessage = func(msg ImmutableMessage) ImmutableTxnMessage { underlying, ok := msg.(*immutableTxnMessageImpl) if !ok { return nil } return under...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/broadcast_test.go
pkg/streaming/util/message/broadcast_test.go
package message import ( "testing" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus/pkg/v2/util/funcutil" ) func TestBroadcastResult(t *testing.T) { r := BroadcastResult[*CreateDatabaseMessageHeader, *CreateDatabaseMessageBody]{ Message: nil, Results: map[string]*AppendResult{ "v1": ...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/test_case.go
pkg/streaming/util/message/test_case.go
//go:build test // +build test package message import ( "testing" "github.com/stretchr/testify/assert" "google.golang.org/protobuf/proto" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" ) func Cr...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/txn_test.go
pkg/streaming/util/message/txn_test.go
package message_test import ( "testing" "time" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus/pkg/v2/proto/messagespb" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" "github.com/milvus-io/milvu...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/message_id_test.go
pkg/streaming/util/message/message_id_test.go
package message_test import ( "testing" "github.com/cockroachdb/errors" "github.com/stretchr/testify/assert" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/mocks/streaming/util/mock_message" "github.com/milvus-io/milvus/pkg/v2/streaming/util/message" ) func TestRegi...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/builder.go
pkg/streaming/util/message/builder.go
package message import ( "fmt" "math" "reflect" "github.com/cockroachdb/errors" "github.com/samber/lo" "google.golang.org/protobuf/proto" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus/pkg/v2/proto/messagespb" "github.com/milvus-io/milvus/pkg/v2/util/tsoutil" "github.co...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/properties.go
pkg/streaming/util/message/properties.go
package message const ( // preserved properties messageVersion = "_v" // message version for compatibility, see `Version` for more information. messageWALTerm = "_wt" // wal term of a message, always increase by MessageID order, should never rollback. messageTyp...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false
milvus-io/milvus
https://github.com/milvus-io/milvus/blob/9d9fe2273adea818132bd2c5b9710bdecc8c8a85/pkg/streaming/util/message/marshal_log_object.go
pkg/streaming/util/message/marshal_log_object.go
package message import ( "fmt" "reflect" "strconv" "strings" "go.uber.org/zap/zapcore" "google.golang.org/protobuf/proto" "github.com/milvus-io/milvus-proto/go-api/v2/rgpb" ) const maxPrintedIDs = 1024 // MarshalLogObject encodes the message into zap log object. func (m *messageImpl) MarshalLogObject(enc za...
go
Apache-2.0
9d9fe2273adea818132bd2c5b9710bdecc8c8a85
2026-01-07T08:35:46.736408Z
false