google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

feat(bigtable/bttest): Implement change streams

Open adg opened this issue 2 years ago • 7 comments

These changes add an implementation of the GenerateInitialChangeStreamPartitions and ReadChangeStream BigtableServer methods to the bttest package, and also fix a bug related to commit times.

adg avatar Dec 28 '23 00:12 adg

I'm not sure why those conformance tests are failing. Any pointers?

adg avatar Dec 28 '23 04:12 adg

The conformance tests were added in failed state. Their failures can be ignored

bhshkh avatar Jan 19 '24 21:01 bhshkh

What is the bug related to commit times?

bhshkh avatar Jan 19 '24 22:01 bhshkh

@bhshkh to quote the commit message:

This is an important semantic property of BigTable:

"All mutations in a single write request have the same timestamp unless you override them."

https://cloud.google.com/bigtable/docs/writes#write-types

adg avatar Apr 17 '24 22:04 adg

Our use-case for this is that we have a service that uses change streams and we want to be able to test it locally.

adg avatar Apr 17 '24 22:04 adg

@adg , can you please sign the CLA to merge the PR. please visit https://cla.developers.google.com/

bhshkh avatar Jul 18 '24 00:07 bhshkh