Issues we've encountered while building a Kafka based data processing pipeline
1–10 of 96 posts
Re: Issues we've encountered while building a Kafka based data processing pipeline
#2My answer to anyone who asks for kafka: Show me that you can't do what you need with a beefy Postgres.
Re: Issues we've encountered while building a Kafka based data processing pipeline
#3Re: Issues we've encountered while building a Kafka based data processing pipeline
#4I ran a few dozen kafka clusters at MegaCorp in a previous life. My answer to anyone who asks for kafka: Show me that you can't do what you need with a beefy Postgres.
Re: Issues we've encountered while building a Kafka based data processing pipeline
#5I ran a few dozen kafka clusters at MegaCorp in a previous life. My answer to anyone who asks for kafka: Show me that you can't do what you need with a beefy Postgres.
using a sql db for push/pop semantic feels like using a hammer to squash a bug.. How would you model queues & partitions with ordering guarantees with pg ?
> using a hammer to squash a bug..
Agreed - but Kafka is a much much bigger hammer. SES/Az Queues are also good choices.
Re: Issues we've encountered while building a Kafka based data processing pipeline
#6I ran a few dozen kafka clusters at MegaCorp in a previous life. My answer to anyone who asks for kafka: Show me that you can't do what you need with a beefy Postgres.
But for a production-grade version of the system I'm going with SQL and, where needed, IaC-defined SQS.
Re: Issues we've encountered while building a Kafka based data processing pipeline
#7Very interested to hear how people here overcome the limits of kafka for ordered events delivery in real world, and what those were.
But, that's speaking from my light experience with it. I'm also curious if there's a better way :-)
Re: Issues we've encountered while building a Kafka based data processing pipeline
#8Re: Issues we've encountered while building a Kafka based data processing pipeline
#9Very interested to hear how people here overcome the limits of kafka for ordered events delivery in real world, and what those were.
Re: Issues we've encountered while building a Kafka based data processing pipeline
#10Very interested to hear how people here overcome the limits of kafka for ordered events delivery in real world, and what those were.
You get guaranteed ordering at the partition level.
Items are partitioned by key so you also get guaranteed ordering for a key.
If you have guaranteed ordering for a key you can’t get total ordering across all keys but you can get eventual consistency across the keys.
Ultimately if you want ordering you have to design around being eventually consistent.
I don’t read a lot of papers but Leslie Lamports Time, Clocks, and the Ordering of Events in a Distributed System gave me a lot of insight in to the constraints. https://lamport.azurewebsites.net/pubs/time-clocks.pdf