apiVersion: v3
kind: service
metadata:
  name: lambda-abacus-outbox-process
  description: |
    Implements the transactional outbox pattern for reliable event publishing
    to EventBridge. Dual-triggered architecture: scheduled polling (MySQL with
    FOR UPDATE SKIP LOCKED) and event-driven CDC (Kafka/MSK). Handles retries
    with exponential backoff and supports concurrent execution with optimistic
    locking.
  owner: abacus
  tags:
    - application_family:accounting
    - public:false
    - terraformed:true
    - language:python
    - runtime:python3.13
    - integration:eventbridge
    - integration:kafka
    - integration:mysql
spec:
  type: function
  links:
    - url: https://pipeline.theorchard.io/job/lambda-abacus-pipeline/
      title: Jenkins Pipeline
      icon: jenkins
    - url: https://github.com/theorchard/lambda-abacus/tree/main/lambda/outbox_process
      title: Source Code
      icon: github
