Skip to content

[Bug]: faile to start server while connecting source milvus with kafka #206

Open
@zyyworktable

Description

@zyyworktable

Current Behavior

I have downloaded the compiled cdc-bin-v2.0.0-rc4 and successfully configured cdc.yaml, achieving the task of synchronizing from the source Milvus (deployed on Kubernetes) to the target Milvus. The source Milvus uses Pulsar; however, when I tried to configure the server to use a source Milvus cluster (deployed on Kubernetes) that uses Kafka, the server started with the following error:

[2025/04/15 16:28:59.892 +08:00] [INFO] [paramtable/component_param.go:4318] ["DeployModeEnv is not set, use default"] [default=0.5]
[2025/04/15 16:28:59.893 +08:00] [INFO] [paramtable/hook_config.go:21] ["hook config"] [hook={}]
[2025/04/15 16:28:59.893 +08:00] [INFO] [tag/tag.go:34] ["base info"] [BuildTime=unknown] [GitCommit=unknown] [GoVersion=unknown]
[2025/04/15 16:28:59.895 +08:00] [DEBUG] [[email protected]/call.go:35] ["retrying of unary invoker"] [target=etcd-endpoints://0xc0007e88c0/132.xx.xx.xx:30029] [attempt=0]
[2025/04/15 16:28:59.898 +08:00] [DEBUG] [[email protected]/call.go:35] ["retrying of unary invoker"] [target=etcd-endpoints://0xc0007e88c0/132.xx.xx.xx:30029] [attempt=0]
[2025/04/15 16:28:59.901 +08:00] [DEBUG] [[email protected]/call.go:35] ["retrying of unary invoker"] [target=etcd-endpoints://0xc000982700/132.xx.xx.xx:38215] [attempt=0]
[2025/04/15 16:28:59.904 +08:00] [INFO] [kafka/kafka_client.go:70] ["init kafka Config "] [commonConfig="[reconnect.backoff.ms:20 reconnect.backoff.max.ms:5000 bootstrap.servers:132.xx.xx.xx:31591 api.version.request:true]"] [extraConsumerConfig="[]"] [extraProducerConfig="[]"]
[2025/04/15 16:28:59.904 +08:00] [INFO] [msgstream/mq_msgstream.go:118] ["Msg Stream state"] [can_produce=true]
milvus-cdc: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed.
Aborted (core dumped).

The used cdc.yaml is as follows:

address: 0.0.0.0:8444
maxTaskNum: 100
metaStoreConfig:
storeType: etcd
etcdEndpoints:
- 132.xxx.xx.xx:30029
rootPath: cdc-by-dev
sourceConfig:
etcd:
address:
- http://132.xxx.xx.xx:38215
rootPath: by-dev
metaSubPath: meta
enableAuth: false
readChanLen: 10
defaultPartitionName: _default
replicateChan: by-dev-replicate-msg
kafka:
address: 132.xxx.xx.xx:31591
maxNameLength: 256
logLevel: debug
detectDeadLock: false

What could be the cause of this issue? How can I fix it?

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions