INNER CODE UNIT · Python
Settings
bali-framework/bali · bali/core.py:18
class Settings(BaseSettings):
ENABLED_RPC_LOGGING: str = False
AMQP_CONFIGS: Dict[str, Dict[str, str]] = {
'default': {
'AMQP_SERVER_ADDRESS': 'amqp://user:passwd@host:port',
# It will be used if you defined EXCHANGE_NAME, else
# BALI_EXCHANGE will be used
# 'EXCHANGE_NAME': 'event_default_exchange',
# It will be used if you set queue name,else queue name
# will be generated by BALI_QUEUE and event_type
# 'QUEUE_NAME': 'event_default_queue',
# It will used if you set routing_key,else it
# will be generated by BALI_ROUTING_KEY and
# event_type
# 'ROUTING_KEY': 'event_default_routing_key'
}
}
# You can map event_type to amqp, or it will be map to default amqp