Closed sach16795 closed 2 years ago
@richardmcclellan I have noticed that you've resolved/offer workarounds for some time-out-related issues. Tagging you here in case you would be able to help. Urgently need a way to fix this.
Hi @sach16795, it looks like your use case may not be the most compatible with Amplify's datastore. Since you're primarily looking to stream data from many devices to the cloud, have you considered using something like Kinesis or Pinpoint to publish a channel of data unidirectionally? The DataStore sync engine is likely performing a lot of additional work here which isn't useful for your particular problem set.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Before opening, please confirm:
Language and Async Model
Kotlin, RxJava
Amplify Categories
DataStore
Gradle script dependencies
Amplify versions
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
If a lot of data is stored up in the local storage while being not connected to network and if the datastore/app is stopped. On opening the app again this error is shown and the datastore fails to start and the app cannot save any further data.
I have already applied selective sync to an expression that will always evaluate false, so no data is synced down to the device. In my case, I only need to upload data from the device.
Despite no data is synced down, still the datastore fails to start. Need help urgently. Any help is appreciated.
Reproduction steps (if applicable)
Code Snippet
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response