简体   繁体   English

Quarkus 多租户应用

[英]Quarkus Multi-tenant Application

I would like to develop a SaaS application (multiple tenants ) with Quarkus , but I am facing a problem because Quarkus does not support multi-tenants yet .我想用Quarkus开发一个 SaaS 应用程序(多租户),但我遇到了一个问题,因为Quarkus 还不支持多租户 What to do?该怎么办? What alternative?有什么选择? Do you have any idea how I can do this?你知道我该怎么做吗? Do I have to write everything myself?我必须自己写所有东西吗?

I would like to use Postgresql as the DBMS with the architecture of a unique database and a separate schema for each tenant .我想使用 Postgresql 作为 DBMS,具有唯一数据库的体系结构和每个租户的单独架构

What version of Quarkus are you using?您使用的是哪个版本的 Quarkus? It seems like the latest Quarkus Hibernate ORM version has exactly what you're asking for:似乎最新的 Quarkus Hibernate ORM 版本正是您所要求的:

Quarkus currently supports the separate database and the separate schema approach. Quarkus 目前支持分离数据库和分离模式方法。

From: https://quarkus.io/guides/hibernate-orm#multitenancy来自: https://quarkus.io/guides/hibernate-orm#multitenancy

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM