# ZMQ Relay Configuration

# Bind address for all relay sockets
bind_address: "tcp://*"

# Client-facing ports
client_request_port: 5559          # ROUTER - Client historical data requests
market_data_pub_port: 5558         # XPUB - Market data fanout to clients

# Ingestor-facing ports
ingestor_work_port: 5555           # PUB - Distribute work with exchange prefix
ingestor_response_port: 5556       # ROUTER - Receive responses from ingestors

# Flink connection
flink_market_data_endpoint: "tcp://flink-jobmanager:5558"  # XSUB - Subscribe to Flink market data (MARKET_DATA_PUB)

# Timeouts and limits
request_timeout_secs: 30           # Timeout for pending client requests
high_water_mark: 10000             # ZMQ high water mark for all sockets
