Skip to content

Conversation

@Gfreely
Copy link

@Gfreely Gfreely commented Oct 30, 2025

Purpose of this pull request

fix #10001

Does this PR introduce any user-facing change?

This PR introduces a new Sink V2 connector: connector-hugegraph.
This allows users to configure a job to sink data into a HugeGraph database. Users can now write SeaTunnelRow data as either Vertices or Edges, specifying mappings for labels, ID strategy, and properties.

How was this patch tested?

Both Unit Tests (UT) and End-to-End (E2E) Tests were added for this new connector.

Unit Tests:

Added unit tests for HugeGraphSinkConfig to verify the parsing and validation of required sink-side options (e.g., checking necessary fields like url and graph_name).

E2E Tests:

Added a new E2E test module connector-hugegraph-e2e under the seatunnel-e2e/seatunnel-connector-v2-e2t/ directory.

This test uses a Docker container to spin up a temporary HugeGraph service instance.

It runs multiple test cases based on configuration files: testing writing SeaTunnelRow data as vertices, and testing writing SeaTunnelRow data as edges.

Check list

imbajin and others added 20 commits August 20, 2025 19:26
* docs: init SeaTunnel-HG design doc V1 🚧 (#4)

* docs: init hugegraph design doc V1 🚧

* update development docs

---------

Co-authored-by: Frui Guo <[email protected]>

* update docs

---------

Co-authored-by: imbajin <[email protected]>
Replaced GremlinManager-based graph operations with HugeClient REST API methods for vertex management and verification.

Updated schema setup and test logic to improve reliability and remove direct Gremlin queries.
Configured maven-jar-plugin to include Implementation-Version in the jar manifest using hugegraph.client.version.

Refactored HugeGraphSinkWriterIT to improve import ordering and line wrapping for better readability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][Connector-V2] Support sink connector for HugeGraph

2 participants