doc: add consumer&provider usage