> For the complete documentation index, see [llms.txt](https://potoyang.gitbook.io/spring-in-action-v5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://potoyang.gitbook.io/spring-in-action-v5/di-12-zhang-xiang-ying-shi-chi-jiu-hua-shu-ju/12.1-li-jie-spring-data-xiang-ying-shi-li-cheng/12.1.3-kai-fa-xiang-ying-shi-ku.md).

# 12.1.3 开发响应式库

正如您在第3章中看到的那样，Spring Data 最惊人的特性之一，就是只需声明 Repository 接口，让 Spring Data 在运行时自动实现它们。在那一章中，我们主要关注 Spring Data JPA。这种编程模型也适用于非关系型数据库，包括 Cassandra 还有 MongoDB。

基于对非响应式数据库的支持，Spring Data Cassandra 和 Spring Data MongoDB 支持响应式模型。有了这些数据库在后端提供数据持久化，Spring 应用程序从 web 层到数据库，就真正完全是响应式模式了。让我们先看看，如何使用响应式 Spring Data，将数据持久化到 Cassandra。
