Request-response API
A request-response API is an interaction pattern in which a requester sends a request to a provider and receives a corresponding response.
Spring in Action, Sixth Edition
A request-response model is a communication pattern in which one party sends a request and waits for a corresponding response.
- How it is used
- Provides a single-reply communication pattern for clients and servers, including HTTP-style exchanges implemented with RSocket.
- How deep it goes
- Defines the exchange and works through a Spring server and client, including routing, payloads, response retrieval, and subscription.
- Examples
- Uses a greeting controller and an RSocketRequester that sends “Hello RSocket!” and logs the returned greeting.
- What you can do after
- Apply it via Spring RSocket controllers and RSocketRequester to send a routed request and handle one reactive reply.
Read how Spring in Action, Sixth Edition explains request-response API →
Kafka for Architects
A request-response pattern is a communication pattern in which one service sends a request and another service returns a corresponding response.
- How it is used
- Frames direct service interaction as an alternative to event-driven and publish-subscribe communication.
- How deep it goes
- Explains correlation and failure hazards, but stops short of detailing recovery strategies beyond identifying implementation approaches.
- Examples
- Uses correlation headers, response topics, partitions, service instances, and failure-reassignment scenarios.
- What you can do after
- Apply it via Spring Kafka while accounting for correlation, response routing, and lost request context after consumer failure.
Read how Kafka for Architects explains request-response API →
Related concepts
- event-driven architecturecontrasts with · Event-driven architecture is a software architectural style in which components communicate or initiate processing by producing and responding to events.
- HTTPused by · HTTP is a standardized application-layer protocol that defines request-and-response messages for transferring resource representations between networked systems.
- RSocketused by · RSocket is a binary application protocol that supports reactive interaction patterns including request-response, request-stream, and fire-and-forget communication.
- Spring for Apache Kafkaimplemented by · Spring for Apache Kafka is a Spring project providing abstractions and integration support for applications that produce, consume, and process Apache Kafka records.
- Apache Kafkacontrasts with · Apache Kafka is a distributed event-streaming platform for publishing, storing, processing, and consuming streams of records.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

