Closed nicholaswmin closed 4 years ago
Yes. You want to .gitignore it.
The file is created to remember dynamically created subscription names in the event you are not giving specific names to queues when subscribing.
If you don't provide a name for the queue, Rabbitmq will create a random name for the queue. If your server crashes, it will come back up and be given a new random queue, and messages in the old queue will just sit there.
This file tells servicebus to map the event name in the subscriber to the queue name received from RMQ so it doesn't ensure a new queue, but instead subscribes to the original queue that already exists.
On Thu, Mar 5, 2020 at 6:04 PM Nik Kyriakides notifications@github.com wrote:
Not sure what .queues file does. Is it safe to .gitignore it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mateodelnorte/servicebus/issues/152?email_source=notifications&email_token=AAEHOXZDCNINXXCUWU2K6PDRGA42FA5CNFSM4LCTIZRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IS5PQHA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEHOX2Z4OBQIWO4UYMGSD3RGA42FANCNFSM4LCTIZRA .
Not sure what
.queues
file does. Is it safe to.gitignore
it?