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
Post a Comment