We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
panic: json: cannot unmarshal string into Go struct field Config.Kafka of type creator.KafkaConfig
goroutine 1 [running]: github.com/housepower/clickhouse_sinker/creator.InitConfig(0x9c7203, 0x37, 0xbf8b4003d99b3534) E:/coding/szhq-project/go-coding/clickhouse_sinker/creator/config.go:47 +0x368 main.main.func1(0x9b2c66, 0xc) E:/coding/szhq-project/go-coding/clickhouse_sinker/bin/main.go:41 +0x64 github.com/wswz/go_commons/app.Run(0x9b5c5f, 0x11, 0xc00009df20, 0xc000061170, 0xc00009df00) E:/global_path/pkg/mod/github.com/wswz/go_commons@v0.0.0-20180723103154-ef9bd45e685a/app/app.go:26 +0xb4 main.main() E:/coding/szhq-project/go-coding/clickhouse_sinker/bin/main.go:40 +0x134
{ "clickhouse": { "ch1": { "db": "default", "host": "cdh01", "maxLifeTime": 300, "password": "fangte2019", "retryTimes" : 5, "port": 9020, "username": "default" } }, "kafka": { "kfk1": { "brokers": "cdh01:9092,cdh02:9092,cdh03:9092", "sasl": { "password": "", "username": "" } }, "version": "2.1.0" }, "common": { "bufferSize": 90000, "minBufferSize": 2000, "flushInterval": 5, "logLevel": "info" } }
The text was updated successfully, but these errors were encountered:
You binary version seems to be out of date, please use the latest version
Sorry, something went wrong.
No branches or pull requests
panic: json: cannot unmarshal string into Go struct field Config.Kafka of type creator.KafkaConfig
goroutine 1 [running]:
github.com/housepower/clickhouse_sinker/creator.InitConfig(0x9c7203, 0x37, 0xbf8b4003d99b3534)
E:/coding/szhq-project/go-coding/clickhouse_sinker/creator/config.go:47 +0x368
main.main.func1(0x9b2c66, 0xc)
E:/coding/szhq-project/go-coding/clickhouse_sinker/bin/main.go:41 +0x64
github.com/wswz/go_commons/app.Run(0x9b5c5f, 0x11, 0xc00009df20, 0xc000061170, 0xc00009df00)
E:/global_path/pkg/mod/github.com/wswz/go_commons@v0.0.0-20180723103154-ef9bd45e685a/app/app.go:26 +0xb4
main.main()
E:/coding/szhq-project/go-coding/clickhouse_sinker/bin/main.go:40 +0x134
{
"clickhouse": {
"ch1": {
"db": "default",
"host": "cdh01",
"maxLifeTime": 300,
"password": "fangte2019",
"retryTimes" : 5,
"port": 9020,
"username": "default"
}
},
"kafka": {
"kfk1": {
"brokers": "cdh01:9092,cdh02:9092,cdh03:9092",
"sasl": {
"password": "",
"username": ""
}
},
"version": "2.1.0"
},
"common": {
"bufferSize": 90000,
"minBufferSize": 2000,
"flushInterval": 5,
"logLevel": "info"
}
}
The text was updated successfully, but these errors were encountered: