参见 配置消息
curl -i -X POST \
-H "Content-Type:application/json" \
-d \
'{
"userName": "san.zhang",
"classes": [
"math",
"english",
"chinese"
],
"age": 14,
"sex": "male",
"hobby": "basketball",
"source": "courseSelectionSystem",
"type": "student-chooseClasses",
"operator": "san.zhang",
"timestamp": 1512555333139
}' \
'http://ip:port/api/v2/event'
curl -i -X GET \
'http://ip:port/api/v2/event/listener/demo2?type=student-chooseClasses'