-
Notifications
You must be signed in to change notification settings - Fork 549
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
Kotlin - AWS IoT Core(Subscribe issue) #3653
Comments
Thanks for your report @veer9002. For IoT we strongly recommend you use the AWS IoT Device SDK for Java v2 - that library is actively maintained and you will be able to get better support there. There is documentation about using that library on Android to help you get started. It's possible that your issue is already resolved in that newer library. In terms of this specific issue, do you see the failure callback triggered for the topics that don't receive updates? |
Thanks @mattcreaser for the response. |
Is it possible you are bumping up against a quota? https://docs.aws.amazon.com/general/latest/gr/iot-core.html I'm seeing a subscriptions per connection limit at 50 |
@tylerjroach Thanks for the response. |
This is something I wouldn't be able to answer and it may be best to reach out to IoT service team if it appears you may be running into a quota issue. If the SDK appears to be working fine at < 50 subscriptions, it appears likely that the issue is some sort of quota being hit. Are you not seeing any |
Subscribed topics are not getting data from MQTT
After successful connection, I am trying to connect 300 topics using for-loop. But I am receiving data from 80 topics then sometimes 60 topics. It is happening randomly so I am not able to debug it from Android Studio.
To Reproduce
A code sample or steps:
Subscribe code below:
Topics code:
Which AWS service(s) are affected?
AWS IoT Core
Expected behavior
Expected result should be that once I subscribed to all 300+ topics, I will receive the data from all 300+ topics.
Environment Information (please complete the following information):
The text was updated successfully, but these errors were encountered: