Skip to content

TASK: Publish TransferCreated through a transactional outbox #174

Closed

Description

@ramioooz

Parent: STORY: Add Kafka transfer-created event (#59)

Objective

Publish the governed TransferCreated.v1 event from Transaction Service after the transfer workflow and initial reservation action are durably accepted.

Scope

  • Add the transaction-service event producer port and Kafka adapter.
  • Persist the event in a transactional outbox with a stable event ID.
  • Publish to events.transfer.created.v1 with the required event metadata and headers.
  • Cover retry, replay, and persistence behavior with automated tests.
  • Document the PR dependency on the organization transfer-event contract.

Acceptance criteria

  • The transfer workflow and outbox row commit atomically.
  • A relay publishes the stored event without creating a second event on retry.
  • The payload uses schemaVersion 1.0.0 and includes the governed identifiers.
  • Failed publication remains recoverable and observable.
  • ./mvnw verify passes.

Related contract: #173
Related story: #59

Activity

  1. self-assigned this
    on Aug 31, 2026
  2. added theissue type on Aug 31, 2026
  3. ramioooz commented on Aug 31, 2026

    @ramioooz
    MemberAuthor

    Implementation PR: digital-bank-java/transaction-service#10

    Status: In review. All Maven, Helm, and container CI checks pass.

    Merge dependency: transaction-service PRs #5 through #9 must be merged in order before #10 can be merged into the integrated branch. No waiting period is required; retarget or rebase the stacked PR as each predecessor lands.

  4. ramioooz commented on Sep 1, 2026

    @ramioooz
    MemberAuthor

    Completed by merged Transaction Service PR #10. TransferCreated transactional outbox publication, stable identity, leasing, retry, and verification are included.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions