materialize icon indicating copy to clipboard operation
materialize copied to clipboard

Support GCP PubSub

Open hden opened this issue 4 years ago • 9 comments

I saw you already have AWS Kinesis streams and Azure Event Hub in mind. It might be an interesting strategy to be cloud and stream agnostic.

FYI: Currently we are extracting CDC logs by Debezium, but instead of maintaining a Kafka cluster, we decided to stream the data through a PubSub topic, which ended up in a BigQuery table as an append-only data store.

hden avatar Apr 16 '20 12:04 hden

In case you you need strict messaging ordering, I found an interesting option in the Official Java client. Maybe it's available in the rust client as well?

https://javadoc.io/doc/com.google.api.grpc/proto-google-cloud-pubsub-v1/1.73.0/com/google/pubsub/v1/Subscription.Builder.html#setEnableMessageOrdering-boolean-

hden avatar Apr 16 '20 13:04 hden

Hi @hden! Thanks for the suggestion. PubSub is on our radar - to give you context, Kinesis was prioritized due to a surprisingly large number of user asks. Azure Event Hub has Kafka client bindings which makes it fairly easy to support (although I'm sure things won't be 100% perfect). You are the first asker for PubSub, so we'll definitely watch this issue to see what the user appetite is!

Part of the challenge is that right now, adding additional connectors is difficult (see #2059), and we need to refactor the input side to make that easier. So this should become a lot easier in about the 2 months timeframe.

rjnn avatar Apr 16 '20 15:04 rjnn

:+1: it'd be cool to see pubsub connectors

ajroetker avatar Jun 15 '20 22:06 ajroetker

FYI message ordering just landed in beta.

https://cloud.google.com/pubsub/docs/ordering

hden avatar Aug 25 '20 15:08 hden

Would love to see Pub/Sub support!

jameshartig avatar Dec 03 '20 01:12 jameshartig

On my side, the lack of pubsub support is also a showstopper to test out materialize at veepee :-)

bodschut avatar Apr 23 '21 09:04 bodschut

I think that two connectors GCS (Google Cloud Storage) and Google PubSub would open up a world of opportunities for Materialized that allows practitioners to bring Materialized into the systems build around GCP.

hui-zheng avatar Dec 17 '21 18:12 hui-zheng

+1

jakthom avatar Apr 13 '22 18:04 jakthom

Any updates on this?

cheparukhin avatar Aug 09 '22 12:08 cheparukhin

We would also love to see support for pubsub

jineshshah36 avatar Dec 22 '23 14:12 jineshshah36