You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "CryoThrust (via GitHub)" <gi...@apache.org> on 2026/09/09 11:57:07 UTC
[PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
CryoThrust opened a new pull request, #12233:
URL: https://github.com/apache/seatunnel/pull/12233
## Summary
- add a connector-local sink for the documented Mem0 Platform V3 asynchronous add API
- require a non-blank `event_id` before acknowledging accepted delivery
- reuse the existing HTTP connector configuration while keeping provider response validation local
- add focused payload and missing-event-id tests
## Scope
This draft targets only the hosted Mem0 Platform V3 profile:
- `POST /v3/memories/add/`
- `Authorization: Token <api-key>`
- `Content-Type: application/json` and `Accept: application/json`
- asynchronous accepted delivery; event polling is outside this PR
There is no DELETE operation, self-hosted OSS profile, generic Mem0-compatible claim, or core/SPI change.
Closes #12102
## Verification
- module Spotless check passed
- `git diff --check` passed
- full reactor compilation is currently blocked in this checkout by the existing `seatunnel-config-shade` source/dependency issue (`ConfigSyntax`, `ConfigIncluder`, and related shaded Typesafe Config symbols unresolved); this is independent of the new connector
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5601808201
Added signed follow-up `af73d8d6`: exposed the existing HTTP retry, backoff multiplier, and max-backoff options in the Mem0 factory rule so the new status retry behavior is configurable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5634533800
The repository Build exposed a test-fixture-only failure on all JDK/OS unit-test jobs: Guava Retryer requires `retryBackoffMultiplierMillis < retryBackoffMaxMillis`, while the test used `1` and `1`. I pushed signed commit `3a7280c0e` to set the test max backoff to `2` ms. Production retry behavior is unchanged; this keeps the test deterministic and satisfies the retryer precondition.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5601782398
Added signed follow-up commit `5ad38f32`: explicit retries for HTTP 408/429/5xx using the existing retry/backoff settings, terminal handling for other non-2xx responses, and tests for transient-status classification and retry sequencing. Module Spotless remains green.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5628640114
Follow-up pushed as signed commit. Addressed the remaining mechanical CI/review blockers: renamed `Mem0Options` to `Mem0SinkOptions`, added standard ASF headers to the six new files, registered `seatunnel.sink.Mem0` in `plugin-mapping.properties`, and switched EN/ZH docs to the required ChangeLog import with changelog entries. Also preserved `connector-amazondocumentdb` in `seatunnel-dist/pom.xml`. `git diff --check` passes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5601744071
Follow-up pushed as signed commit `aaec5bc6`: optional scope fields are now ignored when null/blank per row, and the writer accepts any non-empty `user_id`, `agent_id`, `app_id`, or `run_id` scope. Added a regression test for `agent_id` when `user_id` is null. Module Spotless remains green.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5628664661
Spotless check now passes for `connector-mem0` after formatting follow-up `b005eb7ed` (signed). Waiting for repository CI and maintainer review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5633451728
Addressed the new review finding in signed commit `1552041af`: registered `Mem0SinkOptions.USER_ID_FIELD` in `Mem0SinkFactory.optionRule()` as an optional field. This keeps the documented `user_id_field` configuration visible to dry-run/config validation while preserving the per-row requirement that any one scope field may be used. Spotless passes for the module.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5632758828
The full CI run identified one test-only failure in `Mem0SinkWriterTest.retriesRateLimitAndServerResponses`: the test set retry backoff multiplier to `0`, but the underlying retryer requires `multiplier > 0` and failed before exercising the status retry sequence.
I pushed signed commit `cf5782e19` to the PR branch, setting multiplier/max backoff to `1` ms. This keeps the test deterministic and preserves the intended three-request assertion without changing production behavior. The focused module test is being re-run; the failure was not a connector runtime failure.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5601626985
The initial implementation now covers the approved V3 ADD-only boundary, required headers, nonblank event_id acceptance, focused payload/response tests, and EN/ZH documentation. Converting from Draft so the repository CI can compile the module and expose any project-integration issues; the remaining status/retry/redaction matrix will be completed from those results.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5635462637
The full Build found one integration contract issue in `ConnectorSpecificationCheckTest`: the new `Mem0Sink` declared `SupportMultiTableSink` but its writer is a regular `AbstractSinkWriter`, so the checker rejected the factory. Since Mem0 is row-oriented and does not implement multi-table writer semantics, I removed the unsupported marker in signed commit `8a5d858fd`. The focused module test remains green (5/5); no production write behavior changed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5601674288
The repository notification and labeler runs for the updated head have remained queued since 12:10 CST and have not created the full test workflow. Could a maintainer re-run or trigger the standard PR test workflow when convenient? The branch is ready for that CI gate.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5628320420
Addressed the packaging regression from review in signed commit `01cbb9540`: restored the existing `connector-amazondocumentdb` dependency in `seatunnel-dist/pom.xml` while keeping the new `connector-mem0` registration. `git diff --check` passes. A standalone `seatunnel-dist validate` was attempted; dependency resolution is blocked by unavailable/private SNAPSHOT mirrors, not by this POM change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5630447676
Fixed the remaining MarkdownTest failure in signed commit `29bf8103d`: moved `<ChangeLog />` to the end of both EN/ZH Mem0 connector docs, matching the repository convention. The docs now retain the ChangeLog import at the top and the marker at EOF.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5601609306
Rebased the draft branch into one DCO-signed commit (`d5b37ec2`) without changing the implementation or documentation. The queued notification/labeler workflows have been retriggered.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5651364464
The fresh Build run exposed one remaining registration gap: `config/plugin_config` did not list `connector-mem0`, so `install-plugin.sh` could not download the connector. I added the missing `connector-mem0` entry in signed commit `40a7b733d` and pushed the updated rebased branch to `feat/mem0-v3-add`. This is the only failure in the run; license, docs, changes, and other static checks passed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5645087798
Thanks for the continued progress here. GitHub is currently reporting merge conflicts between this branch and the latest `dev`. Could you please sync with the latest `dev` and resolve the conflicts first? Once that's done and the checks are rerun, I'm happy to take another look.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(connector): add Mem0 Platform V3 ADD sink [seatunnel]
Posted by "CryoThrust (via GitHub)" <gi...@apache.org>.
CryoThrust commented on PR #12233:
URL: https://github.com/apache/seatunnel/pull/12233#issuecomment-5651182874
Synced the PR branch with the latest `dev` and resolved the merge conflict in `seatunnel-connectors-v2/connector-http/pom.xml`, preserving both the existing `connector-http-linear` module and the new Mem0 module.
Also removed the now-unused `MULTI_TABLE_SINK_REPLICA` option from `Mem0SinkFactory.optionRule()` because the connector no longer implements `SupportMultiTableSink`. The rebased branch was force-pushed to the fork as signed-off commits; the new head is `fde7b6894`.
Please rerun the standard PR checks when available. The prior Windows/JDK 8 failure remained stuck in the test step without a recorded test failure, so I will treat the fresh run as the authoritative result.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org