AWS DMS CDC task with Mongodb as source fails
0
Data migration tasks fails even after making all the changes in mongo db. Have created a role and user in the database I am using (non-root user account). But the changestream seems to be not working correctly.
Encountered an error while initializing change stream: 'not authorized on admin to execute command .....
The endpoint connection is successful. Please let me know what I am missing.
asked a month ago19 views
1 Answers
1
this could be due to missing permission to initialize change stream. More specifically this is for source mongodb 4.x onwards please refer to section which tells how to create a role with that permission and also how to assign the same to dms user. https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MongoDB.html#:~:text=Permissions%20needed%20when%20using%20MongoDB%20as%20a%20source%20for%20AWS%20DMS
answered a month ago
Relevant questions
Do source filters speed up DMS from AWS RDS to S3?
asked 6 months agoAWS DMS Replication Task
asked a month agoUsing DMS CDC for Oracle to Postgres
asked 4 days agoTask stopped with No supported plugins found on source error
asked 3 years agoAWS DMS Source MongoDB and Target RDS Postgres Full load not happening but ongoing replication happens
Accepted Answerasked 5 days agoApplying column filters in DMS Task for source MongoDB and target Postgres
asked 17 days agoAWS DMS CDC task with Mongodb as source fails
asked a month agoDMS task fails when Postgres DateStyle parameter is not ISO
asked 25 days agoDMS Migration MongoDB source and RDS Postgres as destination
Accepted Answerasked 18 days agoHow do I define a SQLite expression in DynamoDB 'object-mapping' DMS migration task?
asked 2 months ago