watermill
watermill copied to clipboard
YugabyteDB
Have you seen yubabyte db. Its 100% open equivalent to Cockroach. https://github.com/yugabyte/yugabyte-db
It uses a Postresql api have redis api and cassandra api too but its all done with the underlying yugabyte engine. Pretty cool and its basis is event driven. It called the READ ONLY instances Tablets ( cute name ).
SO i noticed you only have mysql diver at the moment.
EDIT: My mistake. Looks like you have a postresql driver happening here: https://github.com/ThreeDotsLabs/watermill-sql/blob/master/pkg/sql/schema_adapter_postgresql.go SO i think this might be perfect for using the DB as a Message queue. yugabyte has a proper CDC engine so its possibel to listen to changes and then populate the "PUB SUB" tables as needed. A the moment i think the engine is Java based ( OMG :)). SO i raised this issue and it looks like they are sort of going to make it work with golang: https://github.com/yugabyte/yugabyte-db/issues/2513