Details
-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
0
Description
currently gocbcore did not support change history feature on dcp for magma storage buckets
suggestion:
we can expose config such as UseChangeStreams on DCPConfig struct for Couchbase Server 7.2+ and pass to dcpBootstrapProps. after that we can send control packet.
example
// https://github.com/couchbase/kv_engine/blob/master/docs/dcp/documentation/commands/control.md
|
if mcc.dcpBootstrapProps.useChangeStreams {
|
if err := client.ExecDcpControl("change_streams", "true", deadline); err != nil {
|
return err
|
}
|
}
|