This is an automated email from the ASF dual-hosted git repository.

shenlin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git


The following commit(s) were added to refs/heads/main by this push:
     new 6a852f2  change the README.md test case.
6a852f2 is described below

commit 6a852f22fb55a2c8c3e80070100547eb9b1a9b51
Author: 2011shenlin <[email protected]>
AuthorDate: Sun Feb 18 00:04:02 2024 +0800

    change the README.md test case.
---
 README.md | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 8f46a3a..f665afa 100644
--- a/README.md
+++ b/README.md
@@ -88,13 +88,18 @@ curl  -X POST http://127.0.0.1:7001/putEvents  \
 -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
-![img.png](docs/cn/images/demo.png)
+```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.

Reply via email to