Indeed it does. Good observation. It is a very similar pattern, with the exception that Kafka doesn't care how many messages you are processing. Also, multiple keys will be assigned to a given partition, whereas typically this pattern has one key per thread (but it doesn't have to).
Isn't that so true? Back in the 90's I got the Gang of Four design patterns book, sat down to read it, and said "wait, I've already been doing this...". Like you, I just didn't have a name. That IMHO is the value of patterns as a common language...
Thank you for the great content!
Great pattern!!! Greate Video!!! Thanks a lot, it's very helpful!!
Thanks for this. Does keying to a partition in Kafka fall under this pattern or is there some distinction?
Indeed it does. Good observation. It is a very similar pattern, with the exception that Kafka doesn't care how many messages you are processing. Also, multiple keys will be assigned to a given partition, whereas typically this pattern has one key per thread (but it doesn't have to).
I was accidentally doing the same thing without knowing the "pattern" as it is named here. Glad i didn't do it too much differently :)
Isn't that so true? Back in the 90's I got the Gang of Four design patterns book, sat down to read it, and said "wait, I've already been doing this...". Like you, I just didn't have a name. That IMHO is the value of patterns as a common language...
So Spring webflux (Mono and Fluxes) uses these patterns beneath the hood ?