r2dbc生产应用的可行性和未来路线图

Gau*_*rma 4 spring spring-data spring-boot spring-data-r2dbc r2dbc

我一直在密切关注r2dbc更新,我希望使用这种方法构建我的应用程序.我用r2dbc postgres驱动程序尝试了一些小应用程序,如下所示:

        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-jdbc</artifactId>
            <version>1.0.0.r2dbc-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>io.r2dbc</groupId>
            <artifactId>r2dbc-postgresql</artifactId>
            <version>1.0.0.BUILD-SNAPSHOT</version>
        </dependency>
Run Code Online (Sandbox Code Playgroud)

如Pivotal所述,这是一个实验项目,其最终目标是最终影响ADBA.如果包含在Spring/SpringBoot的发行版中,这可能非常有用.现在的问题是,究竟是什么阻碍了Pivotal将其包含在RELEASE版本中的缺点.是否建议使用SNAPSHOT版本?

谢谢,GV

gre*_*urn 6

制作正式RELEASE版本的R2DBC模块的最大缺点就是它太早了.

我们使用多个模块(PostgreSQL,H2和MS SQL Server)进行迭代,社区反馈对于修改驱动程序级SPI以及构建更加用户友好的客户端至关重要.

如果你看看,我们刚刚发布了1.0.0.M6.

该项目将通过更多社区参与和反馈而蓬勃发展.至于何时准备将其包含在Spring Boot中,我们不知道答案.