Skip to content

[type:refactor] externalize Pulsar logging to plugin-store - #7504

Merged
Aias00 merged 3 commits into
apache:masterfrom
cloudbase-ai:cloudbase/externalize-logging-pulsar
Oct 9, 2026
Merged

Aias00 merged 3 commits into
apache:masterfrom
cloudbase-ai:cloudbase/externalize-logging-pulsar

Conversation

@cloudbase-ai

@cloudbase-ai cloudbase-ai commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Problem And Result

Hand off logging-pulsar ownership to apache/shenyu-plugin-store#14, which now includes original tests, fixtures, examples, deployment assets and SQL ownership manifests. Remove active plugin modules and owned assets from core once store delivery is ready. Shared schema DDL, generic APIs and complete historical upgrade SQL remain in core.

Receiving Assets And Validation

Ship db/plugins/<slug>/{h2,mysql,pg,og,ob,oracle}/preflight.sql and install.sql, row manifests, provenance and plugin-specific historical SQL archives. Metadata includes plugin definitions, selector/rule handles, menu resources, permissions and default-namespace relations. Run preflight before installation; repeat installs preserve existing plugin and namespace configuration. Full historical core upgrade files stay in main.

SQL provenance is recorded under the receiving db/plugins directories; original tests, examples and deployment fixtures retain their source layouts.

  • Preserved original LoggingPulsarPluginTest: 1 test passed against an external-store gateway and disposable Pulsar service.
  • Executed shipped SQL twice on H2, MySQL (default and NO_BACKSLASH_ESCAPES) and PostgreSQL; verified row identities, conflicts and configuration preservation. Native Oracle/OpenGauss/OceanBase execution remains unverified.

Cutover Gates

This PR remains draft. Receiving CI/release validation and externally available store artifacts must pass before merge. Receiving GitHub CI must complete before main cutover. Native Oracle/OpenGauss/OceanBase SQL execution remains a named validation gap. No upstream merge or Maven publication has been performed.

Core does not depend on store artifacts; deployments select optional external starters and apply the matching store metadata scripts.

Roadmap: #7306.

Signed-off-by: cloudbase-ai <22498243+cloudbase-ai@users.noreply.github.com>
Signed-off-by: cloudbase-ai <22498243+cloudbase-ai@users.noreply.github.com>
@cloudbase-ai

Copy link
Copy Markdown
Contributor Author

Resolved conflicts with current master (6717830) in merge commit f6d5e0a. Preserved the merged Aliyun SLS and Hystrix removals together with the Pulsar externalization. Kept the upstream cloud logging compatibility documentation and Agent Gateway version resource that Git had incorrectly paired with deleted Pulsar starter resources during rename detection. Also removed ten overlooked Oracle Pulsar plugin_handle seed rows; their IDs are already included in the store Oracle installer. Static checks confirm the six init dialects differ from master only by removing Pulsar-owned SQL statements, with no orphan namespace relations. Changed POM XML parses and git diff --check passes. No compilation or tests were run.

Aias00
Aias00 previously approved these changes Oct 9, 2026
Signed-off-by: cloudbase-ai <22498243+cloudbase-ai@users.noreply.github.com>
@Aias00
Aias00 merged commit fc08cb7 into apache:master Oct 9, 2026
53 of 63 checks passed
@Aias00 Aias00 added this to the 2.7.2 milestone Nov 13, 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.

2 participants