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

Support sending standardized uuid and priority values #92

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

yevhenii0
Copy link
Contributor

@yevhenii0 yevhenii0 commented Oct 7, 2024

Context

Extend TkmsMessage to have two new methods:

new TkmsMessage()
  .setTopic(...)
  .setValue(...) 
  .addUuidHeader(...)     // <- NEW (x-wise-uuid)
  .addPriorityHeader(...) // <- NEW (x-wise-priority)

Both values enable efficient message pre-processing on consumer side.

Checklist

@yevhenii0 yevhenii0 requested a review from a team as a code owner October 7, 2024 09:22
@yevhenii0
Copy link
Contributor Author

yevhenii0 commented Oct 8, 2024

@tw-peeterkarolin I have patched pr to

  • Not require uuid header presence.
  • Directly manipulate headers instead of having fields on the message.

@yevhenii0 yevhenii0 merged commit d10991b into master Oct 9, 2024
15 checks passed
@yevhenii0 yevhenii0 deleted the mandatory-uuid branch October 9, 2024 04:18
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.

2 participants