You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/12/01 02:48:37 UTC
[GitHub] [pulsar] flowchartsman edited a comment on issue #8216: Go SDK: GetUserConfMap() is not getting populated
flowchartsman edited a comment on issue #8216:
URL: https://github.com/apache/pulsar/issues/8216#issuecomment-736171055
Testing has been unsuccessful so far, but I may be doing something wrong. Currently testing #8365 with `--user-config '{"foo":"bar"}'` but getting
```
02:44:49.597 [function-timer-thread-106-1] INFO org.apache.pulsar.functions.runtime.process.ProcessRuntime - Started process successfully 2020/12/01 02:44:49.603 log.go:46: [info] The default config file path is: conf/conf.yaml
2020/12/01 02:44:49.605 log.go:76: [error] unmarshal config content error:invalid character '\'' looking for beginning of value panic: config file is nil. goroutine 1 [running]:
github.com/apache/pulsar/pulsar-function-go/pf.newInstanceConf(0x62d40) /<home>/go/pkg/mod/github.com/apache/pulsar/pulsar-function-go@v0.0.0-20201130103018-9c28378aea7d/pf/instanceConf.go:49 +0x646 github.com/apache/pulsar/pulsar-function-go/pf.NewFuncContext(0x0)
/<home>/go/pkg/mod/github.com/apache/pulsar/pulsar-function-go@v0.0.0-20201130103018-9c28378aea7d/pf/context.go:44 +0x26 github.com/apache/pulsar/pulsar-function-go/pf.newGoInstance(0xbbdd40) /<home>/go/pkg/mod/github.com/apache/pulsar/pulsar-function-go@v0.0.0-20201130103018-9c28378aea7d/pf/instance.go:65 +0x37
github.com/apache/pulsar/pulsar-function-go/pf.Start(0xbbdd40, 0xce1918) /<home>/go/pkg/mod/github.com/apache/pulsar/pulsar-function-go@v0.0.0-20201130103018-9c28378aea7d/pf/function.go:170 +0x52
main.main() /<home>/go/src/scratch/pulsartest/cmd/function/main.go:62 +0x39
```
where `main.go:62` corresponds to:
```go
pf.Start(contextFunc)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org