blazar/trading-engine

v1.0.2 2024-09-27 08:30 UTC

This package is auto-updated.

Last update: 2024-11-27 08:59:44 UTC


README

config/package/trading_engine.yaml

Full configuration

blazar_trading_engine:
    project: test
    ca_cert: '%kernel.project_dir%/data/AmazonRootCA1.pem'

framework:
    messenger:
        serializer:
            default_serializer: messenger.transport.symfony_serializer
            symfony_serializer:
            format: json
            context: { }
        failure_transport: failed
        
        transports:
          websockets: '%env(MESSENGER_TRANSPORT_WEBSOCKETS_DSN)%'
          tradingEngineEvents:
            dsn: '%env(MESSENGER_TRANSPORT_TRADING_ENGINE_EVENTS_DSN)%'
            serializer: Blazar\TradingEngine\Serializer\TradingEngineEventSerializer
    
        default_bus: messenger.bus.default
    
        buses:
          messenger.bus.default: [ ]
    
        routing:
          Blazar\TradingEngine\Message\TradingEngineMessage: websockets
          Blazar\TradingEngine\Message\TradingEngineEventMessage: tradingEngineEvents