[ 
https://issues.apache.org/jira/browse/GOBBLIN-880?focusedWorklogId=313772&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-313772
 ]

ASF GitHub Bot logged work on GOBBLIN-880:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Sep/19 16:11
            Start Date: 17/Sep/19 16:11
    Worklog Time Spent: 10m 
      Work Description: menarguez commented on issue #2734: GOBBLIN-880 Bump 
CouchbaseWriter Couchbase SDK version + write docs +…
URL: 
https://github.com/apache/incubator-gobblin/pull/2734#issuecomment-532290703
 
 
   @yukuai518  I bumped couchbase version as to introduce cert based 
authentication as shown in Couchbase JAVA SDK docs in 
https://docs.couchbase.com/java-sdk/2.7/sdk-authentication-overview.html#authenticating-a-java-client-by-certificate
 with the com.couchbase.client.java.auth.CertAuthenticator . Something I just 
realized is that couchbase also now supports RBAC auth that includes username 
in the connection string. See 
[example](https://docs.couchbase.com/java-sdk/2.7/start-using-sdk.html). This 
should also be implemented in a separate PR
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 313772)
    Remaining Estimate: 167h 10m  (was: 167h 20m)
            Time Spent: 50m  (was: 40m)

> Bump CouchbaseWriter Couchbase SDK version + write docs + cert based auth + 
> enable TTL + dnsSrv
> -----------------------------------------------------------------------------------------------
>
>                 Key: GOBBLIN-880
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-880
>             Project: Apache Gobblin
>          Issue Type: Improvement
>          Components: gobblin-couchbase
>            Reporter: Michael A Menarguez
>            Assignee: Shirshanka Das
>            Priority: Major
>              Labels: Couchbase
>             Fix For: 0.15.0
>
>   Original Estimate: 168h
>          Time Spent: 50m
>  Remaining Estimate: 167h 10m
>
> h1. h1. CURRENT ISSUES
> Currently CouchbaseWriter.java lacks the ability to do the following:
>  # Use certificate based authentication
>  # Set document expiry (TTL)
>  ** based on write time
>  ** based on an offset specified field contained in the record's data (JSON)
>  ** (WILL NOT ADRESS) set expiry based on a field contained in the record's 
> data
>  # Set DNS SRV for bootstrap host discovery setting
>  # Missing documentation on CouchbaseWriter usage
>  # Testing does not bring in CouchbaseMock correctly and causes problems 
> while bumping com.couchbase.client:java-client
> h1. h1. PROPOSED SOLUTIONS
>  # Add logic to connect using certificate based auth to the buckets (Will 
> need to bump  com.couchbase.client:java-client to a newer version like 2.7.6) 
> and associated configs
>  # TTL implementation
>  ## Add configs to allow setting a TTL (documentTTL) and also specify the 
> timeunits (documentTTLUnits) of these settings
>  ## Add logic to specify the path to key to the field containing the source 
> timestamp (documentTTLOriginField) and its units (documentTTLOriginUnits) to 
> disambiguate between UNIX (sec) timestamps and other formats like timestamps 
> in milliseconds.
>  ## N/A but logic would be similar to (2)
>  # Add missing dnsSrv config
>  # Write proper documentation
>  # Bring in CouchbaseMock from Gradle and adapt existing unit tests.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to