在您的代码中访问选项值

默认组中的选项值作为配置管理器的属性/特性引用;组也是配置管理器的属性,并且具有与该组关联的每个选项的属性

server.start(app, conf.bind_port, conf.bind_host, conf)

self.connection = kombu.connection.BrokerConnection(
    hostname=conf.rabbit.host,
    port=conf.rabbit.port,
    ...)