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

feat(mqtt): Add max_packet_size option to MQTT Source #18520

Conversation

florissmit10
Copy link
Contributor

@florissmit10 florissmit10 commented Sep 12, 2024

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

The MQTT client that is used uses a default max_packet_size, which is not enough for our messages. This PR adds a WITH option that passes the max_packet_size to the MQTT client.

Checklist

  • I have written necessary rustdoc comments
  • I have added necessary unit tests and integration tests
  • All checks passed in ./risedev check (or alias, ./risedev c)

Release note

If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

The MQTT Source connector now accepts an max_packet_size option

@florissmit10 florissmit10 force-pushed the feature/add-mqtt-max-packet-size-option branch from 54addf0 to 2b9d8f6 Compare September 12, 2024 16:18
@florissmit10 florissmit10 changed the title Add max_packet_size option to MQTT Source feat(source) Add max_packet_size option to MQTT Source Sep 12, 2024
@florissmit10
Copy link
Contributor Author

Hello!
Is there another place I should add tests for this?

@florissmit10 florissmit10 changed the title feat(source) Add max_packet_size option to MQTT Source feat(source): Add max_packet_size option to MQTT Source Sep 13, 2024
@florissmit10 florissmit10 changed the title feat(source): Add max_packet_size option to MQTT Source feat(mqtt): Add max_packet_size option to MQTT Source Sep 13, 2024
Copy link
Contributor

@tabVersion tabVersion left a comment

Choose a reason for hiding this comment

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

thanks for your contribution.

integration_tests/mqtt/create_source.sql Outdated Show resolved Hide resolved
src/connector/src/connector_common/mqtt_common.rs Outdated Show resolved Hide resolved
@tabVersion tabVersion added this pull request to the merge queue Sep 17, 2024
Merged via the queue into risingwavelabs:main with commit 1c04a5c Sep 17, 2024
32 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.

3 participants