Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dtle panic when src config does not match DestType #1045

Open
ghost opened this issue Feb 23, 2023 · 0 comments
Open

dtle panic when src config does not match DestType #1045

ghost opened this issue Feb 23, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 23, 2023

    task "src" {
        KafkaConfig = {
        }
        # No DestConnectionConfig
    }
...
    task "dest" {
        DestType = "kafka"
    }

panic

    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: [signal SIGSEGV: segmentation violation code=0x2 addr=0x40 pc=0x100a99d8c]: driver=dtle
    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: : driver=dtle
    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: goroutine 62 [running]:: driver=dtle
    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: github.com/actiontech/dtle/driver/mysql/mysqlconfig.(*ConnectionConfig).GetDBUri(0xc0f5e282a48f67d0?): driver=dtle
    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: 	/Users/user0/pro0/dtle2/driver/mysql/mysqlconfig/connection.go:27 +0x1c: driver=dtle
    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: github.com/actiontech/dtle/driver/mysql.(*Applier).InitDB(0x14000478300): driver=dtle
    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: 	/Users/user0/pro0/dtle2/driver/mysql/applier.go:707 +0x30: driver=dtle
    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: github.com/actiontech/dtle/driver/mysql.(*Applier).initDBConnections(0x14000478300): driver=dtle
    2023-02-23T15:15:22.615+0800 [DEBUG] client.driver_mgr.dtle: 	/Users/user0/pro0/dtle2/driver/mysql/applier.go:715 +0x2c: driver=dtle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants