flipkart-incubator / varadhi

Apache License 2.0
26 stars 4 forks source link

Implement missing methods in PulsarMessage #152

Closed aayustark007-fk closed 5 months ago

aayustark007-fk commented 5 months ago

This PR implements the missing methods in PulsarMessage which had dependency on the request headers which were passed in the Produce path.

Since, the produce path added the request headers as Pulsar API Message properties, all we need to do is to fetch the properties and extract all the key value pairs to rebuild the request headers.

Now we can implement the missing methods like getHeader(), getMessageId, getGroupId, etc

github-actions[bot] commented 5 months ago

Test Results

220 tests   220 :white_check_mark:  45s :stopwatch:  51 suites    0 :zzz:  51 files      0 :x:

Results for commit 925896ee.

:recycle: This comment has been updated with latest results.