change the README.md test case.
diff --git a/README.md b/README.md index 8f46a3a..f665afa 100644 --- a/README.md +++ b/README.md
@@ -88,13 +88,18 @@ -H "ce-datacontenttype:application/json" \ -H "ce-time:2018-04-05T17:31:00Z" \ -H "ce-eventbusname:demo-bus" \ --d 'A test recrod.' +-d 'A test event.' ``` * Check if the local file received a write event In addition, by default, the system will create a demo rule for you to subscribe and push to the file. You can check whether there are events received in the directory:~/demo - +```agsl +root % tail -f ~/demo +A test event. +A test event. +A test event. +``` Why does the file output the data attribute of CloudEvent instead of other attributes?This is because the configuration in the demo rule is to output "$.data" in CloudEvent to the file line. You can refer to this [document](docs/CreateFileTarget.md) to configure and modify event targets.