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 MQTT fragmented messages #651

Merged
merged 34 commits into from
Jan 9, 2024
Merged

Conversation

bmaidics
Copy link
Contributor

@bmaidics bmaidics commented Dec 22, 2023

Fixed #282

@bmaidics bmaidics added the enhancement New feature or request label Dec 22, 2023
@bmaidics bmaidics self-assigned this Dec 22, 2023
@jfallows jfallows changed the title Large messages Support MQTT fragmented messages Dec 22, 2023
@jfallows jfallows self-requested a review December 22, 2023 23:55
@bmaidics bmaidics marked this pull request as ready for review December 29, 2023 18:18
Copy link
Contributor

@jfallows jfallows left a comment

Choose a reason for hiding this comment

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

Btw, although we have removed maximum packet size as a limitation, it may still be relevant to reject messages that are too large, for example when Kafka rejects the message as exceeding maximum message size.

So we probably need to detect this case, and make sure the MQTT client understands that the publish is failing because the message is too large, by receiving a suitable error code at the MQTT client.

What happens when the message in Kafka is larger than the maximum packet size would permit to send the MQTT client?

jfallows
jfallows previously approved these changes Jan 9, 2024
@jfallows jfallows merged commit 1d8e58a into aklivity:develop Jan 9, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle data fragmentation for MQTT binding
3 participants