amazon web services - Equivalent for Kafka / AWS Kinesis Stream on Google Cloud Platform -


i'm building app appending buffer while many readers consume buffer independently (write-once-read-many / worm). @ first thought of using apache kafka, prefer as-a-service option started investigating aws kinesis streams + kcl , seems can accomplish task them.

basically need 2 features: ordering (the events must read in same order readers) , ability choose offset in buffer reader starts consuming onwards.

now i'm evaluating google cloud platform. reading documentation seems google pub/sub suggested equivalent aws kinesis stream, @ more detailed level these products seem lot different:

  • kinesis guarantees ordering inside shard, while on pub/sub ordering on best-effort basis;
  • kinesis has buffer (limited max 7 days) available readers, can use offset select starting reading position, while on pubsub messages after subscription available consuption.

if got right, pubsub cannot considered kinesis equivalent. perhaps if used google dataflow? must confess still can't see how.

so, pubsub alternative kinesis? if not, there google cloud product fulfill requirements?

thanks!

a rather convoluted solution might help:

  • push events using pub/sub single topic. @ point unordered.
  • create cloud dataflow streaming pipeline reads pub/sub topic. have streaming writes cloud bigquery, add timestamp each table entry.
  • have readers queries on bq table, order timestamp have consistent order. can use row_number offset.

hope helps.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -