yihao.dai 51f69f32d0
feat: Add CDC support (#44124)
This PR implements a new CDC service for Milvus 2.6, providing log-based
cross-cluster replication.

issue: https://github.com/milvus-io/milvus/issues/44123

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: chyezh <chyezh@outlook.com>
Co-authored-by: chyezh <chyezh@outlook.com>
2025-09-16 16:32:01 +08:00

29 lines
689 B
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.RegisterBuilder(&openerBuilder{})
message.RegisterMessageIDUnmsarshaler(message.WALNameTest, UnmarshalTestMessageID)
}
var _ walimpls.OpenerBuilderImpls = &openerBuilder{}
type openerBuilder struct{}
func (o *openerBuilder) Name() message.WALName {
return message.WALNameTest
}
func (o *openerBuilder) Build() (walimpls.OpenerImpls, error) {
return &opener{}, nil
}