Consume only first message from Kafka Queue? -


is there way consume first message kafka queue out of 1000 messages? trying implement same in java. , not have backend db.

right can't it, there kip-41 solved this.

although if know size of element want, there property in consumer called fetch.message.max.bytes can set size of elements want poll, , each poll return 1 record.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -