Skip to content

with-events-amqp: showcase 1.2.0 resilience options (failFastOnInitialSetupError + onSetupFailed) #38

Description

@intech

Summary

@connectum/* 1.2.0 shipped opt-in fail-fast for permanent topology errors at the initial connect (failFastOnInitialSetupError) and a typed onSetupFailed observability hook. with-events-amqp predates 1.2.0 and demonstrates neither.

Proposal

  • bump @connectum/events / @connectum/events-amqp pins so the floor actually resolves to 1.2.0 (note: the workspace pnpm resolves lowest-in-range, so ^1.0.0 installs 1.0.0)
  • demonstrate failFastOnInitialSetupError: true: misconfigured topology → typed rejection at startup, vs broker-unreachable → normal recovery
  • log onSetupFailed info during a reconnect with topology drift
  • keep the demo minimal; a broader lifecycle-hook showcase waits for the 1.3.0 onLifecycle design (feat(events-amqp): discriminated connection lifecycle (onLifecycle) replacing the overloaded onReconnecting connectum#197) to stabilize

Context

Split out of #36, which is explicitly scoped as 1.1.0 follow-up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:lowNice to havestatus:triageNot yet reviewed by maintainertype:featureNew feature or enhancement request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions