python_outbox_core.config ========================= .. py:module:: python_outbox_core.config .. autoapi-nested-parse:: Configuration for Outbox pattern. Best Practices Applied: 1. Immutable dataclass for config 2. Sensible defaults 3. Validation via Pydantic 4. Environment-friendly (Pydantic BaseSettings compatible) References: - 12-factor config: https://12factor.net/config Classes ------- .. autoapisummary:: python_outbox_core.config.OutboxConfig Module Contents --------------- .. py:class:: OutboxConfig Bases: :py:obj:`pydantic.BaseModel` Configuration for outbox worker behavior. Projects can override these via environment variables or constructor. .. py:attribute:: batch_size :type: int .. py:attribute:: poll_interval_seconds :type: int .. py:attribute:: max_retry_count :type: int .. py:attribute:: retry_backoff_multiplier :type: float .. py:attribute:: enable_metrics :type: bool .. py:attribute:: enable_health_check :type: bool .. py:class:: Config Pydantic config for environment variable support. .. py:attribute:: env_prefix :value: 'OUTBOX_' .. py:attribute:: frozen :value: True