snowplow-incubator / snowplow-lake-loader

Snowplow Lake Loader
Other
0 stars 3 forks source link

Alternative implementation of a pubsub source - 2 #86

Open istreeter opened 1 month ago

istreeter commented 1 month ago

The pubsub Source from common-streams is a wrapper around Subscriber provided by the 3rd-party pubsub sdk. That Subscriber is a wrapper around a lower-level GRPC stub.

This commit adds an alternative Source which directly wraps the GRPC stub, not the higher-level Subscriber.

Compared with the previous Source implementation it has these differences in behaviour:

If this experimental V2 Source is successful, it is likely to be the replacement of the V1 Source in a future release of common-streams.