Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in GCP by (29.3k points)
edited by

I want to build data pipeline in GCE. Where i want to know about the difference between Kafka and PUB/Sub. Any insight on this will be helpful.

1 Answer

0 votes
by (50.2k points)

With google pub/sub you cannot retrieve the message back once it is taken out of a subscription. This will also increase cost because Google charges Pub/Sub usage by the amount of data readout of it.

With Kafka, you can set a retention period to retrieve the data and messages stay in Kafka regardless of how many customers read it. Where AWS kinesis will also a managed version of Kafka. 

For more details, refer to this google cloud training.

Related questions

0 votes
1 answer
asked Mar 3, 2021 in AWS by devin (5.6k points)
0 votes
1 answer
asked Feb 17, 2020 in Big Data Hadoop & Spark by anmolj (9k points)
0 votes
1 answer
0 votes
1 answer
asked Feb 17, 2020 in Big Data Hadoop & Spark by anmolj (9k points)

Browse Categories

...