Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement missing methods in PulsarMessage #152

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

aayustark007-fk
Copy link
Collaborator

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

@aayustark007-fk aayustark007-fk marked this pull request as ready for review June 7, 2024 17:50
Copy link

github-actions bot commented Jun 7, 2024

Test Results

220 tests   220 ✅  45s ⏱️
 51 suites    0 💤
 51 files      0 ❌

Results for commit 925896e.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@kmrdhruv kmrdhruv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aayustark007-fk aayustark007-fk merged commit 55fda41 into master Jun 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants