Skip to content

Add MQTT Support for AWS IoT Core #1932

@Oleksandr19942

Description

@Oleksandr19942

Describe the feature

Please add support for MQTT (including WebSocket wss:// connections) to AWS IoT Core in aws-sdk-swift. This would allow native integration with AWS IoT Core without needing third-party libraries or additional SDKs.
Currently, it is not possible to communicate with AWS IoT via MQTT using only aws-sdk-swift, as there's no public API or documentation showing such capability.
Is there currently any undocumented way to connect to AWS IoT using MQTT (especially with wss:// support) in this SDK?

Use Case

I'm building a real-time voice chat feature in an iOS app using aws-sdk-swift, and I need to publish and subscribe to topics over MQTT using AWS IoT Core with a wss:// connection. Currently, aws-sdk-swift supports only the REST-based IoT Data Plane APIs (like Publish), but not actual MQTT or persistent WebSocket communication. I want to avoid adding third-party MQTT libraries like CocoaMQTT due to dependency conflicts and to keep the integration fully native within AWS tooling.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions