File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
eventing/samples/cronjob-source Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,19 @@ kubectl logs -l serving.knative.dev/service=message-dumper -c user-container --s
7474
7575You should see log lines showing the request headers and body from the source :
7676
77- ` ` ` json
78- {
79- "ID": "1543616460000180552-203",
80- "EventTime": "2018-11-30T22:21:00.000186721Z",
81- "Body": "{\" message\" : \" Hello world!\" }"
82- }
77+ ` ` `
78+ 2019/03/14 14:28:06 Message Dumper received a message: POST / HTTP/1.1
79+ Host: message-dumper.default.svc.cluster.local
80+ Transfer-Encoding: chunked
81+ Accept-Encoding: gzip
82+ Ce-Cloudeventsversion: 0.1
83+ Ce-Eventid: 9790bf44-914a-4e66-af59-b43c06ccb73b
84+ Ce-Eventtime: 2019-03-14T14:28:00.005163309Z
85+ Ce-Eventtype: dev.knative.cronjob.event
86+ Ce-Source: CronJob
87+ ...
88+
89+ {"message":"Hello world!"}
8390` ` `
8491
8592You can also use [`kail`](https://github.com/boz/kail) instead of `kubectl logs`
You can’t perform that action at this time.
0 commit comments