Skip to content

Use _ to delimit information in sqs queue names instead of - #2009

Closed
@vishalbollu

Description

@vishalbollu

Currently batch queue names are cx-<8 digit hash>-b-<api_name>-<job_id>.fifo and async queue names are cx-<8 digit hash>-<api_name>-<deployment_id>.fifo.

When performing prefix searches on an api, it is possible that a different api which has the same prefix as the api being searched will show up which can potentially result in errors.

API names do not allow underscores while SQS queue names do. Update the queue name generation to delimit queue names by _ instead of -.

After this change is addressed, update async api to delete queues by prefix rather by exact queue name.

Metadata

Metadata

Assignees

Labels

provisioningSomething related to cluster provisioning

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions