Merge pull request #4 from vogdb/issue-1

Adapt to pulsar-rest-api 0.0.4
Merge branch 'master' into issue-6