Skip to content

[Studio] feat: add MySQL persistence and the deployment it needs - #796

Merged
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
lizhimins:studio/mysql-persistence
Aug 3, 2026
Merged

[Studio] feat: add MySQL persistence and the deployment it needs#796
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
lizhimins:studio/mysql-persistence

Conversation

@lizhimins

Copy link
Copy Markdown
Member

Studio kept everything in memory, so topics, groups, settings, audit records
and query history were lost on restart.

  • MyBatis-Plus + MySQL 8.0 with a single authoritative schema (9 tables) and
    sample data for an e-commerce trade flow
  • entities, mappers and a MyBatis-Plus backed settings repository
  • OperationAuditService records mutations, wired into settings and audit
  • compose runs MySQL alongside the server, pinned to Asia/Shanghai with an
    explicit UTF-8 JDBC connection
  • attach MySQL to the rocketmq network and drop the nginx runtime resolver:
    under podman the first DNS answers NXDOMAIN, which broke the datasource and
    caused sporadic 502s on /api

Studio kept everything in memory, so topics, groups, settings, audit records
and query history were lost on restart.

- MyBatis-Plus + MySQL 8.0 with a single authoritative schema (9 tables) and
  sample data for an e-commerce trade flow
- entities, mappers and a MyBatis-Plus backed settings repository
- OperationAuditService records mutations, wired into settings and audit
- compose runs MySQL alongside the server, pinned to Asia/Shanghai with an
  explicit UTF-8 JDBC connection
- attach MySQL to the rocketmq network and drop the nginx runtime resolver:
  under podman the first DNS answers NXDOMAIN, which broke the datasource and
  caused sporadic 502s on /api
@lizhimins
lizhimins merged commit ec433ca into apache:rocketmq-studio Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant