Skip to content

Cron job source example: outdated image #2145

@matejvasek

Description

@matejvasek

Expected Behavior

Log of the pod running the event-display service should contain information about received events (begins with "☁️ cloudevents.Event" as described in the example).

Actual Behavior

Log contains errors:
{"level":"error","ts":1580396460.0210204,"logger":"fallback","caller":"http/transport.go:408","msg":"failed to decode message","error":"unknown encoding","stacktrace":"github.com/knative/eventing-sources/vendor/github.com/cloudevents/sdk-go/pkg/cloudevents/transport/http.(*Transport).ServeHTTP /go/src/github.com/knative/eventing-sources/vendor/github.com/cloudevents/sdk-go/pkg/cloudevents/transport/http/transport.go:408 net/http.(*ServeMux).ServeHTTP /usr/local/go/src/net/http/server.go:2375 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2774 net/http.(*conn).serve /usr/local/go/src/net/http/server.go:1878"}

Steps to Reproduce the Problem

Follow Cron Job Source example from documentation.

Additional Info

The service yaml references older registry: gcr.io/knative-releases/github.com/knative/eventing-sources/cmd/event_display.
I believe it should reference newer registry: gcr.io/knative-releases/knative.dev/eventing-contrib/cmd/event_display (maybe with fixed revision).

Install information:

  • Knative Eventing Version: 0.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.priority/high

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions