ores.analytics.service

Table of Contents

Diagram

ores.analytics.service component diagram

Figure 1: ores.analytics.service

Summary

ores.analytics.service is the NATS service entrypoint for the analytics domain. It reads configuration, opens database and NATS connections, registers all message handlers from ores.analytics.core, and runs the event loop. All business logic lives in ores.analytics.core.

Inputs

  • Configuration file: NATS server URL, PostgreSQL connection string.
  • NATS request messages for analytics configuration operations.

Outputs

  • A running NATS service for analytics operations.
  • NATS response messages returned to callers.
  • Structured logs via ores.logging.

Entry points

  • src/main.cpp — process entry point.
  • src/app/ — application bootstrap.
  • src/config/ — configuration parsing.

Dependencies

  • ores.analytics.core — all NATS handlers, repositories, and services.
  • ores.analytics.api — shared protocol types.
  • ores.logging — structured logging.
  • nats.c — NATS client.

See also

Emacs 29.1 (Org mode 9.6.6)