amplify-swift icon indicating copy to clipboard operation
amplify-swift copied to clipboard

Support for Kinesis Event Streaming

Open gibachan opened this issue 5 months ago • 2 comments
trafficstars

We are currently using the Amplify SDK to send event data to Amazon Pinpoint. However, AWS has announced the deprecation of the Pinpoint service, with a recommendation to migrate to AWS Kinesis for event streaming.

We are looking to transition our event streaming to Kinesis but are unable to find direct API support for Kinesis within the Amplify SDK.

Previously, event streaming to Kinesis was possible using AWSKinesisRecorder in the legacy AWS Mobile SDK for iOS. However, the legacy SDK is known to conflict with Amplify (as noted in https://github.com/aws-amplify/aws-sdk-ios/issues/5505), preventing its concurrent use.

The Amplify documentation (e.g., https://docs.amplify.aws/swift/build-a-backend/add-aws-services/analytics/set-up-analytics/) states: "Amplify enables you to collect analytics data for your app. In order to use Analytics, you will enable Amazon Kinesis or Amazon Pinpoint using the AWS Cloud Development Kit (AWS CDK)." This suggests that Amplify is intended to support Kinesis.

Could you please clarify if it is currently possible to send events to AWS Kinesis using the Amplify SDK? If so, please provide guidance or examples on how to implement this functionality.

Your assistance in migrating our event streaming solution would be greatly appreciated.

gibachan avatar Jun 03 '25 01:06 gibachan

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!

github-actions[bot] avatar Jun 03 '25 15:06 github-actions[bot]

@gibachan Thank you for raising the issue: The issue is being discussed internally and we will post an update soon.

harsh62 avatar Jun 03 '25 15:06 harsh62

@gibachan Have you tried using the AWS SDK for Swift which has support for Kinesis and can also be used alongside with Amplify. Please try that out and reopen the issue incase of more questions.

Some AWS SDK for Swift examples can be found here https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/swift and is a next generation SDK written in Swift.

harsh62 avatar Jul 23 '25 19:07 harsh62

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please 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.

github-actions[bot] avatar Jul 23 '25 19:07 github-actions[bot]