Closed devrck closed 5 years ago
~You probably forgot to close your code sample :)~ nvm... :D
I'd say it looks good, but specifying a particular topic partition might not be a good idea. High level consumers expect to be assigned partitions automatically. Therefore while the option is there, I'm not sure anyone should be encouraged to use it, unless you're doing something really specific.
Otherwise :+1:
@Steveb-p I agree, I wanted to highlight some options there, but I can also add a comment that this configuration option is advanced and you should be careful with it.
~You probably forgot to close your code sample :)~ nvm... :D
I'd say it looks good, but specifying a particular topic partition might not be a good idea. High level consumers expect to be assigned partitions automatically. Therefore while the option is there, I'm not sure anyone should be encouraged to use it, unless you're doing something really specific.
Otherwise +1
Hi @Steveb-p I'm very interested in been able to choose a partition because we have many topics configured in the wrong way due to our little knowledge about kafka when we started and i thing i'll be a very good workaround to consume messages in the order we want. I'm going to think how to do it and if i get something i will share it.
Thank you.
I searched some time to see how I can set a custom key and partition using symfony/messenger and maybe you consider it useful.