kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Honda Wei ( 魏宏達 ) <Honda...@taiwanmobile.com>
Subject Why the consumer can't receve the message if fetch_size=1
Date Tue, 03 Feb 2015 07:53:58 GMT
Hi Kafka Team

I write some simple program and find a strange issue.
Why the consumer can’t receive the message if the fetch is set to 1 , but when the parameter
set to 100.
The consumer will receive the message normally.

FetchRequest req = new FetchRequestBuilder()
        .addFetch(a_topic, a_partition, readOffset, 100)


Best Regards

_DISCLAIMER : This message (and any attachments) may contain information that is confidential,
proprietary, privileged or otherwise protected by law. The message is intended solely for
the named addressee (or a person responsible for delivering it to the addressee). If you are
not the intended recipient of this message, you are not authorized to read, print, retain,
copy or disseminate this message or any part of it. If you have received this message in error,
please destroy the message or delete it from your system immediately and notify the sender.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message