DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Related

  • Event Driven Architecture (EDA) - Optimizer or Complicator
  • Event-Driven Architecture for Software Development: Leverage the Strength of Reactive Systems
  • Building an Event-Driven Architecture Using Kafka
  • What Are Events? Process, Data, and Application Integrators

Trending

  • Integrating Model Context Protocol (MCP) With Microsoft Copilot Studio AI Agents
  • The Full-Stack Developer's Blind Spot: Why Data Cleansing Shouldn't Be an Afterthought
  • Metrics at a Glance for Production Clusters
  • Endpoint Security Controls: Designing a Secure Endpoint Architecture, Part 2
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. Correlating Event-Driven Architecture and API-led Connectivity

Correlating Event-Driven Architecture and API-led Connectivity

Although application components exchanging events can be organized similarly, this is not an intrinsic part of Event-Driven Architecture.

By 
Sadik Ali user avatar
Sadik Ali
DZone Core CORE ·
Mar. 08, 21 · Analysis
Likes (5)
Comment
Save
Tweet
Share
8.4K Views

Join the DZone community and get the full member experience.

Join For Free

API-led connectivity illustrates the three tiers of Experience APIs, Process APIs, and System APIs. 

Although application components exchanging events can be organized similarly, this is not an intrinsic part of Event-Driven Architecture.

API-led connectivity restrains communication models according to these three tiers (essentially top to bottom), whereas application components corresponding events do not theoretically have to adhere to the equivalent communication pattern restrictions.

API implementations typically have well-defined static dependencies on other APIs or backend systems or both). While related contacts may emerge in Event-Driven Architecture at runtime, there are no static dependencies between the application elements exchanging events. Instead, these application components only depend on the exchanged event types, the destinations, and the message broker hosting those destinations. Furthermore, event consumers may change dynamically at any time, thereby dynamically reconfiguring the relationship graph of the application components in an Event-Driven Architecture, without the event producers becoming aware of that change

Experience API > Process API > System API Flowchart

Event-Driven Architecture expects a message broker as an added component of the Technology Architecture, with all application components who want to exchange events having to accept on the same message broker (this is not a strict requirement in some broker architectures).

API-led connectivity and in particular application networks are defined by the API-centric assets published for self-service consumption. The equivalent for Event-Driven Architecture would revolve around target and event types. Fortifying NFRs by applying API policies in Anypoint API Manager on top of existing API implementations has no equivalent in Event-Driven Architecture on Anypoint Platform.

Trading Events Among API Implementations

The compatibility requirement for the 'Customer Self-Service App' product leads to the conclusion that the command-query paths must be 'short-circuited' such that also very recent request submissions, which are not yet exposed by the target system, can be retrieved via the 'PAPI' and 'SAPI.'

One way of architecting this 'short-circuit' is within a proposal not unlike event sourcing on top of CQRS.

  • The 'SAPI,' after transmitting a request submitted to the target system must also publish a 'Request related' event.
  • The 'SAPI,' in addition to retrieving data from the target system, must also consume 'Submitted' events, store them, and include them in the search results it returns to its API clients, specifically the 'PAPI.'
  • This amounts to a non-API communication channel between the 'SAPI' and the target system that follows the general architectural principles of Event-Driven Architecture.

Target System Flowchart


Event-driven architecture Architecture Event application Message broker

Opinions expressed by DZone contributors are their own.

Related

  • Event Driven Architecture (EDA) - Optimizer or Complicator
  • Event-Driven Architecture for Software Development: Leverage the Strength of Reactive Systems
  • Building an Event-Driven Architecture Using Kafka
  • What Are Events? Process, Data, and Application Integrators

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!