laglangyue commented on PR #400:
URL: 
https://github.com/apache/incubator-pekko-connectors/pull/400#issuecomment-1951177396

   I ended my  the Spring Festival vacation and back today.It's a bit long,I 
will complete this PR. Report some progress to community.
   I completed a version of API changes while studying.  Except for JavaDSL 
have been completed. 
   
   api like this. 
   
![image](https://github.com/apache/incubator-pekko-connectors/assets/35491928/c099cb9d-2349-4572-8922-cfa6b927197d)
   
   Due to the lack of a `document`/`jsonDocument`, it may lose document id and 
body. Through a function, it seems that the design is not general, and I am 
currently considering a more comprehensive design. Encapsulate a document 
interface and some case class. But unlike the document in client2, this is the 
encapsulation of client3, wrapper id, doc body and result.
   
   ```scala
   trait Document[T, R] {
     def id: String
     // json / object
     def doc: T
     // getResult / mutationResult etc
     def result: R
   }
   ```
   Code had pushed to my repo, welcome any suggestions
   https://github.com/laglangyue/incubator-pekko-connectors/tree/couchbase3


-- 
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: notifications-unsubscr...@pekko.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to