The current concrete implementation of MqttClientConnection makes it so that there isn't a way to use a different MQTT client. A customer requested an example Greengrass Lambda function that uses this SDK to handle jobs on Greengrass - https://github.com/aws-samples/aws-greengrass-lambda-functions/issues/792 - and if there was an interface I could use to replace the implementation with a Greengrass compatible one I could create the example.
The current concrete implementation of MqttClientConnection makes it so that there isn't a way to use a different MQTT client. A customer requested an example Greengrass Lambda function that uses this SDK to handle jobs on Greengrass - https://github.com/aws-samples/aws-greengrass-lambda-functions/issues/792 - and if there was an interface I could use to replace the implementation with a Greengrass compatible one I could create the example.
I'll work on a PR for this.