Details
-
Technical task
-
Resolution: Fixed
-
Major
-
None
Description
NewGocbDCPFeed defines a custom gocbcore.AgentConfig with Auth hardcoded to &Authenticator (which implies cbauth).
To also support x.509, I think we need the ability to create an authenticator using the equivalent logic that's found in gocb.Cluster.makeAgentConfig.
In addition, can NewGocbDCPFeed initialize agentConfig using gocbcore.FromConnStr, instead of hardcoding things like timeouts?