modify the state delegate
review the code
merge
refactor broker-service
Merge pull request #595 from youyong205/master

refactor