Skip to content

[type:feature] add http record and replay plugin [#6108]#6393

Open
hengyuss wants to merge 3 commits into
apache:masterfrom
hengyuss:feat/record_and_replay_plugin
Open

[type:feature] add http record and replay plugin [#6108]#6393
hengyuss wants to merge 3 commits into
apache:masterfrom
hengyuss:feat/record_and_replay_plugin

Conversation

@hengyuss

Copy link
Copy Markdown
Contributor
  • Add shenyu-plugin-record module: intercepts HTTP request/response, captures body, headers, and metadata within a configurable time window
  • Add admin record service: receives recorded data via disruptor, persists to database, supports task replay
  • Add BodyWriter with max size limit to prevent OOM in gateway
  • Add HttpRecordCollector with batch upload and CRC32 checksum
  • Add MySQL/H2/OceanBase schema and upgrade SQL scripts
  • Add comprehensive unit tests for plugin, collector, and admin
  • Updated the corresponding frontend pages

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

- Add shenyu-plugin-record module: intercepts HTTP request/response,
  captures body, headers, and metadata within a configurable time window
- Add admin record service: receives recorded data via disruptor,
  persists to database, supports task management and replay
- Add BodyWriter with max size limit to prevent OOM in gateway
- Add HttpRecordCollector with batch upload and CRC32 checksum
- Add MySQL/H2/OceanBase schema and upgrade SQL scripts
- Add comprehensive unit tests for plugin, collector, and admin
@hengyuss hengyuss force-pushed the feat/record_and_replay_plugin branch from 1bb57e9 to d657aa9 Compare June 22, 2026 07:47
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.

2 participants