# 交换机类型 = headers,路由规则由消息头里的键值对决定,完全忽略 routing_key。 # 启动消费者(全匹配): python consumer_headers.py # 启动生产者发消息: python producer_headers.py "Deploy v1.0.0"