ddd4j-cloud-tenant
Installation
SKILL.md
ddd4j-cloud Tenant
Overview
Covers the Tenant annotation, TenantContextHolder, system isolation, data scope, SQL, and cross-service propagation uniformly, not split per artifact. Choose the Cloud→Boot→ddd4j primary combination first, then read the current branch.
When to Use
- Wiring the Tenant annotation and
TenantContextHolderat request entry in a ddd4j-cloud service. - Applying data scope and tenant SQL filtering, and deciding which tables are exempt.
- Writing or auditing tenant ignore rules for system and background operations.
- Propagating the tenant id across async, Reactor, Feign, and cross-service calls.
- Defining system-context semantics for background and cross-service work.
- Diagnosing cross-tenant data leaks or reads returning another tenant's rows.
When NOT to Use
Do not use this skill when: