Skip to content

Support MQTT fragmented messages - #651

Merged
jfallows merged 34 commits into
aklivity:developfrom
bmaidics:large_messages
Jan 9, 2024
Merged

jfallows merged 34 commits into
aklivity:developfrom
bmaidics:large_messages

Conversation

@bmaidics

@bmaidics bmaidics commented Dec 22, 2023 •

Copy link
Copy Markdown
Contributor

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

@jfallows jfallows left a comment

Copy link
Copy Markdown
Contributor

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
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