Skip to content
New issue

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

Eventing cronjob doesn't reflects the current output #1005

Closed
khrm opened this issue Mar 15, 2019 · 0 comments
Closed

Eventing cronjob doesn't reflects the current output #1005

khrm opened this issue Mar 15, 2019 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@khrm
Copy link
Contributor

khrm commented Mar 15, 2019

The output given at https://github.com/knative/docs/tree/master/eventing/samples/cronjob-source#verify is not correct. Knative-eventing has adopted cloudevents.io due to which it expects different output.

Given Behavior

{
"ID": "1543616460000180552-203",
"EventTime": "2018-11-30T22:21:00.000186721Z",
"Body": "{"message": "Hello world!"}"
}

Actual Behavior

Host: message-dumper.default.svc.cluster.local
Transfer-Encoding: chunked
Accept-Encoding: gzip
Ce-Cloudeventsversion: 0.1
Ce-Eventid: 9790bf44-914a-4e66-af59-b43c06ccb73b
Ce-Eventtime: 2019-03-14T14:28:00.005163309Z
Ce-Eventtype: dev.knative.cronjob.event
Ce-Source: CronJob
...

{"message":"Hello world!"}

Steps to Reproduce the Problem

  1. Follow the https://github.com/knative/docs/blob/master/eventing/samples/cronjob-source/README.md

Install information:

@khrm khrm added the kind/bug Categorizes issue or PR as related to a bug. label Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant