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

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -