Queues have been made to look like topics nowadays, so that behavior doesn't surprise me that much, but I can see how it can be confusing. It also a bit dangerous as you can lose messages. I'm not exactly sure what to do though. I don't think there is a bug in Zaqar. I can see 2 things in Heat:
1) Fail if the queue pre-exists in Heat. I don't think it's a backward compatible change, so we'd need to add a flag to get this behavior. But that's a good way to ensure that the queue belongs to the stack somewhat.
2) Don't delete the queue. It leads to some objects lying around, which is a bit sad.
Queues have been made to look like topics nowadays, so that behavior doesn't surprise me that much, but I can see how it can be confusing. It also a bit dangerous as you can lose messages. I'm not exactly sure what to do though. I don't think there is a bug in Zaqar. I can see 2 things in Heat:
1) Fail if the queue pre-exists in Heat. I don't think it's a backward compatible change, so we'd need to add a flag to get this behavior. But that's a good way to ensure that the queue belongs to the stack somewhat.
2) Don't delete the queue. It leads to some objects lying around, which is a bit sad.
What do you think?