Roles in Event-Driven Architecture

Roles in Event-Driven Architecture An architecture diagram generated by Archify. Amazon SQS · queue · Event Sources Amazon SQS queue Apache Kafka · topic · Event Sources Apache Kafka topic HTTP Requests · event producers · Event Sources HTTP Requests event producers ScaledObject · KEDA CRD · KEDA Domain ScaledObject KEDA CRD HPA · managed by KEDA · KEDA Domain HPA managed by KEDA Worker Deployment · queue consumers · KEDA Domain Worker Deployment queue consumers Broker · Knative Eventing · Knative Domain Broker Knative Eventing Trigger · attribute filter · Knative Domain Trigger attribute filter Knative Service · Knative Serving · Knative Domain Knative Service Knative Serving Queue depth metric CloudEvents CloudEvents Event Sources KEDA Domain Knative Domain Legend Backend Message bus External

KEDA

  • • Extends HPA with external metric sources (queue depth, DB rows, custom)
  • • Scales any Deployment, StatefulSet, or Job; no built-in routing or eventing

Knative

  • • Full serverless platform: Serving (KPA, revisions, traffic splitting) plus Eventing
  • • Broker/Trigger routes CloudEvents to Knative Services

Together

  • • Knative Serving for HTTP-facing services
  • • KEDA for background workers; Knative Eventing routes events between them