Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 356 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 356 Bytes

aliyun

Usage

  1. Produce $authorization = new Authorization($accessKey, $accessSecret); $producer = new Producer($url, $authorization); $producer->produce($topic, $producerId, $body);

  2. Consume

  3. Confirmation

Testing

  1. Modify the test data you need to modify your accessKey and accessSecret provided by aliyun

  2. Using phpunit to test ./phpunit