Skip to content

Capture fields from PUBLISH for req-resp stream operations #721

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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

sfod
Copy link
Contributor

@sfod sfod commented Mar 27, 2025

Issue #, if available:

Certain service clients need additional data from MQTT PUBLISH packet.
Currently, the following fields should be added:

  • content type
  • user properties
  • message expiry interval seconds

In future, more data may be added.

Description of changes:

  • Pass all these fields to callback as a struct.
  • Add PublishPacket::WithContentType method
  • Fix move semantics in related parts.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sfod sfod marked this pull request as ready for review March 27, 2025 18:01
Copy link
Contributor

@sbSteveK sbSteveK left a comment

Choose a reason for hiding this comment

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

update aws-c-mqtt to point to right release before merge

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.

3 participants