Skip to content

Conversation

@happy-game
Copy link
Collaborator

  • 新增 LogicalReplicationService,封装 OpenGauss 逻辑复制连接与消息流处理
  • 新增 MppdbDecodingPlugin,支持 t/json/b decode、解析 BEGIN/COMMIT/INSERT/UPDATE/DELETE
  • 由于目前 openGauss 只支持 mppdb_decoding,所以只实现了这个插件
  • 逻辑复制的部分消息封装和解码参考 openGauss-connector-jdbc/pgjdbc/src/main/java/org/postgresql/core/v3/replication/V3PGReplicationStream.java

- Add endian parameter ('be' | 'le'), default 'be' for backward compatibility
- Add uint16(), peekByte(), uint64Parts(), remaining() methods
  - Support text (t), JSON (j), binary (b) decode styles
  - Support batch and non-batch modes
  - Parse BEGIN/COMMIT/INSERT/UPDATE/DELETE operations
@happy-game happy-game merged commit 2e1e4c3 into HuaweiCloudDeveloper:master Jan 23, 2026
7 checks passed
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