You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 14, 2025. It is now read-only.
I'm having trouble running a Spin app with the Redis trigger. The app is stuck in a crash loop. No Spin logs are being produced. Using the steps in #197 the last containerd-shim-spin log line I see is >>> running spin trigger.
My app source code is as follows:
//go:build ignorepackage main
import (
"fmt""github.com/fermyon/spin/sdk/go/v2/redis"
)
funcinit() {
// redis.Handle() must be called in the init() function.redis.Handle(func(payload []byte) error {
fmt.Println("Payload::::")
fmt.Println(string(payload))
returnnil
})
}
// main functiion must be included for the compiler but is not executed.funcmain() {}
I installed Redis into my cluster via helm install redis bitnami/redis.
I'm running on a local k3d cluster.
My hunch is that I'm configuring the Redis trigger address incorrectly, but I'm not unsure how to debug further because I'm not getting any useful logs. Is there a way to turn on more verbose tracing/logging?