hubcio opened a new pull request, #3189:
URL: https://github.com/apache/iggy/pull/3189

   Introduces a new on-disk config type ServerNgConfig parallel to the
   legacy ServerConfig, mirroring its full section surface (consumer_group,
   data_maintenance, message_saver, personal_access_token, heartbeat,
   system, quic, tcp, http, websocket, telemetry, cluster) and adding a
   new [message_bus] section that captures the runtime tunables previously
   hardcoded in core::message_bus::config::MessageBusConfig.
   
   Section types are reused verbatim from server_config::* (operator-facing
   schema is identical between server and server-ng); only the new
   MessageBusConfig and the top-level composer are net-new code.
   
   The type defines a loader following ServerConfig::load()'s shape
   (FileConfigProvider + TypedEnvProvider, IGGY_ env prefix,
   include_str!(server-ng/config.toml) embedded default) and a Validatable
   impl that asserts the runtime invariants (max_batch <= IOV_MAX_LIMIT,
   peer_queue_capacity > 0, listen-addr parse-ability) without depending
   on core/message_bus.
   
   Scaffolding only. No binary calls ServerNgConfig::load(); the wiring
   PR for core/server-ng's bootstrap and the message_bus crate's runtime
   type is intentionally a separate change.
   
   core/server-ng/config.toml gains a [message_bus] block with defaults
   matching MessageBusConfig::default() in the runtime crate.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to