Skip to content

Add retry logic and health-aware readiness for NATS/Dapr event clients #29

Closed

Description

@Astrasu

Summary

Event clients (NATS, Dapr) currently have no retry logic on connection failure and do not reflect subscription readiness in their health checks. A transient network blip at startup causes the service to silently drop events without ever recovering.

Acceptance Criteria

  • NATS and Dapr clients retry connection attempts with configurable back-off on startup failure.
  • Health checks return unhealthy until the client is fully connected and all subscriptions are active.
  • Readiness is only flipped to true after _connect_and_subscribe() completes successfully.
  • Retry behaviour and health semantics are covered by unit tests.

Activity

  1. added
    enhancement
    on Jun 24, 2026
  2. Astrasu commented on Jun 24, 2026

    @Astrasu
    ContributorAuthor

    Closing as duplicate of #28, which is already referenced in PR #27.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions