You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "KaustAbhinand (via GitHub)" <gi...@apache.org> on 2026/09/03 19:39:35 UTC

[PR] Connector couchbase migration [seatunnel]

KaustAbhinand opened a new pull request, #12076:
URL: https://github.com/apache/seatunnel/pull/12076

   ### Purpose of this pull request
   This PR performs the migration of CouchbaseWriter to engine level timer flush. Unit tests and E2E tests have been added in addition to ensure the new code is correct.
   
   Closes #12016 
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No
   
   ### How was this patch tested?
   
   Unit tests have been added in CouchbaseWriter.java and E2E tests have been added in CouchbaseIT.java
   
   
   ### Check list
   
   * [ ] If any new Jar binary package adding in your PR, please add License Notice according
     [New License Guide](https://github.com/apache/seatunnel/blob/dev/docs/en/developer/new-license.md)
   * [ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
   * [ ] If necessary, please update `incompatible-changes.md` to describe the incompatibility caused by this PR.
   * [ ] If you are contributing the connector code, please check that the following files are updated:
     1. Update [plugin-mapping.properties](https://github.com/apache/seatunnel/blob/dev/plugin-mapping.properties) and add new connector information in it
     2. Update the pom file of [seatunnel-dist](https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml)
     3. Add ci label in [label-scope-conf](https://github.com/apache/seatunnel/blob/dev/.github/workflows/labeler/label-scope-conf.yml)
     4. Add e2e testcase in [seatunnel-e2e](https://github.com/apache/seatunnel/tree/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/)
     5. Update connector [plugin_config](https://github.com/apache/seatunnel/blob/dev/config/plugin_config)
   


-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5544172242

   Hi @DanielLeens! The CI is finally green, can it be merged now?


-- 
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] Connector couchbase migration [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076


-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5531142838

   Hi @nzw921rx! I have completed the migration to engine level timer flush. Please review the code.


-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5550027414

   Hi @DanielLeens! I have also added the Chinese explanation, I think the work is done :)


-- 
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] Connector couchbase migration [seatunnel]

Posted by "nzw921rx (via GitHub)" <gi...@apache.org>.
nzw921rx commented on code in PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#discussion_r3930228656


##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-couchbase-e2e/src/test/resources/fake_source_to_couchbase_timer_flush.conf:
##########
@@ -0,0 +1,41 @@
+env {

Review Comment:
   Please add license



-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5537283644

   I have fixed the tests and added the ASF licence.
   


-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5538730677

   @DanielLeens, some of the unit tests fail due to the CouchbaseCloseTest - but with this migration, the entire file becomes deprecated, so the tests fail. 
   
   


-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5540038912

   @DanielLeens  - The primary index creation was already there in CouchbaseIT, I think you may have missed it.
   I have added the disabledOnContainer to CouchbaseWriterTest now.
   
   And I have deleted the CouchbaseCloseTest file.


-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5537811101

   Hi @nzw921rx and @DanielLeens, I have fixed the changes mentioned in the review. Please go through it now.


-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5536761399

   Hello @nzw921rx! I have seen your review of the PR, please do not unassign it. I am making the changes, and will commit them once they are completed.
   


-- 
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] Connector couchbase migration [seatunnel]

Posted by "KaustAbhinand (via GitHub)" <gi...@apache.org>.
KaustAbhinand commented on PR #12076:
URL: https://github.com/apache/seatunnel/pull/12076#issuecomment-5539297410

   @DanielLeens  - The thing is, with the migration, CouchbaseCloseTest is no longer needed, but I don't think I can delete it, (I had mentioned that some of the unit tests would fail due to this in a comment above)
   
   I'll fix the other 2 issues and re-commit


-- 
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