I created pull consumer but getting following error:
{"level":"fatal","ts":1677184769.1167047,"caller":"app/main.go:63","msg":"error occurred while parsing metadata","error":"nats: must use pull subscribe to bind to pull based consumer","stacktrace":" │
│ main.main\n\t/app/main.go:63\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}
Kubernetes platform (e.g. Google Kubernetes Engine)
Describe the bug
When there is more messages in stream, and the worker tries to scale it fails.
To Reproduce
Create pull consumer as requested in documentation.
Expected result
Messages are processed in scallable manner.
Actual result
function never initializes as the nats subscription type is wrong
error":"nats: must use pull subscribe to bind to pull based consumer","
Screenshots/Dump file
$ fission support dump
Additional context
If I do what error message does, then first consumer works as expected and every consumer after that returns errors
{"level":"fatal","ts":1677188461.8707836,"caller":"app/main.go:63","msg":"error occurred while parsing metadata","error":"consumer is already bound to a subscription","stacktrace":"main.main\n\t/app │
│ /main.go:63\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}
I created pull consumer but getting following error: {"level":"fatal","ts":1677184769.1167047,"caller":"app/main.go:63","msg":"error occurred while parsing metadata","error":"nats: must use pull subscribe to bind to pull based consumer","stacktrace":" │ │ main.main\n\t/app/main.go:63\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}
Fission/Kubernetes version
Kubernetes platform (e.g. Google Kubernetes Engine)
Describe the bug
When there is more messages in stream, and the worker tries to scale it fails. To Reproduce Create pull consumer as requested in documentation.
Expected result
Messages are processed in scallable manner. Actual result function never initializes as the nats subscription type is wrong error":"nats: must use pull subscribe to bind to pull based consumer"," Screenshots/Dump file
Additional context
If I do what error message does, then first consumer works as expected and every consumer after that returns errors
{"level":"fatal","ts":1677188461.8707836,"caller":"app/main.go:63","msg":"error occurred while parsing metadata","error":"consumer is already bound to a subscription","stacktrace":"main.main\n\t/app │ │ /main.go:63\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}