AWS MSK replicator service has support to preserve the same topic name while the topic is replicated from source to target cluster with TopicNameConfiguration argument under topic_replication map. Without this argument, the replicator adds source cluster alias with the topic name. So, could you add this argument to keep the same topic name on both source and target cluster.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
AWS MSK replicator service has support to preserve the same topic name while the topic is replicated from source to target cluster with TopicNameConfiguration argument under topic_replication map. Without this argument, the replicator adds source cluster alias with the topic name. So, could you add this argument to keep the same topic name on both source and target cluster.
Affected Resource(s) and/or Data Source(s)
aws_msk_replicator https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/msk_replicator#argument-reference
Potential Terraform Configuration
References
AWS CLI reference for the arguments: https://docs.aws.amazon.com/cli/latest/reference/kafka/create-replicator.html#:~:text=replication%20starting%20position.-,TopicNameConfiguration,-%2D%3E%20(structure)
Would you like to implement a fix?
None