prod msg enq
This commit is contained in:
@@ -9,6 +9,13 @@ channel = connection.channel()
|
||||
|
||||
# this is A DECLARE, basically so can run multuple times
|
||||
# .x = exchange
|
||||
|
||||
# what does durable mean?
|
||||
# when broke restarts
|
||||
# even if I don't run this IaC like code to create the q
|
||||
# the q will exist
|
||||
# it basically commits the q defns to disk
|
||||
# not the message
|
||||
channel.exchange_declare(
|
||||
exchange="orders.x", exchange_type="direct", durable=True)
|
||||
# .dlx = dead letter exchange for failed messages
|
||||
|
||||
Reference in New Issue
Block a user