liveBook · Manning

Enterprise service bus

As explained in Kafka for Architects

An enterprise service bus is centralized integration middleware that transports messages and performs intermediary processing such as routing, validation, security, or auditing.

An enterprise service bus (ESB) is centralized integration middleware: it transports messages while applying validation, authorization, encryption, dynamic routing, and auditing. section 7.1.1

This reverses the smart endpoints and dumb pipes pattern. Instead of leaving processing at service endpoints, the ESB concentrates integration logic in middleware, which can become a development bottleneck and a logical single point of failure. section 7.1.1

The architectural trade-off is:

  • Centralization standardizes cross-cutting concerns such as encryption and auditing, but couples services to a monolithic integration component. section 7.1.1
  • A service mesh separates business logic from integration responsibilities and makes those responsibilities configurable through infrastructure components. section 7.1.1
Figure 7.2 Integration logic is handled by smart middleware (the enterprise service bus).
A diagram of a service bus

Description automatically generated

Use the architecture figure to compare smart middleware with endpoint-owned processing. section 7.1.1

How Kafka for Architects covers it

How deep it goes
Defines intermediary responsibilities and explains bottleneck and failure risks without detailing implementation.
Examples
Uses architecture figures contrasting dumb pipes, smart ESB middleware, and service-mesh sidecars.
What you can do after
Evaluate whether centralized integration logic creates development bottlenecks or a logical single point of failure.
How it connects
Connects ESBs to Kafka, smart endpoints and dumb pipes, service meshes, microservices, and cross-cutting concerns.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kafka for Architects. The section links point to the parts of the book it draws on.