You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dana Powers (JIRA)" <ji...@apache.org> on 2016/03/22 01:14:25 UTC
[jira] [Comment Edited] (KAFKA-3442) FetchResponse size exceeds
max.partition.fetch.bytes
[ https://issues.apache.org/jira/browse/KAFKA-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205411#comment-15205411 ]
Dana Powers edited comment on KAFKA-3442 at 3/22/16 12:13 AM:
--------------------------------------------------------------
{code}
# clone kafka-python repo
git clone https://github.com/dpkp/kafka-python.git
# install kafka fixture binaries
tar xzvf kafka_2.10-0.10.0.0.tgz -C servers/0.10.0.0/
mv servers/0.10.0.0/kafka_2.10-0.10.0.0 servers/0.10.0.0/kafka-bin
# you can install other versions of kafka to compare test results
KAFKA_VERSION=0.9.0.1 ./build_integration.sh
# install python test harness
pip install tox
# run just the failing test [replace py27 w/ py## as needed: py26,py27,py33,py34,py35]
KAFKA_VERSION=0.10.0.0 tox -e py27 test/test_consumer_integration.py::TestConsumerIntegration::test_huge_messages
{code}
was (Author: dana.powers):
# clone kafka-python repo
git clone https://github.com/dpkp/kafka-python.git
# install kafka fixture binaries
tar xzvf kafka_2.10-0.10.0.0.tgz -C servers/0.10.0.0/
mv servers/0.10.0.0/kafka_2.10-0.10.0.0 servers/0.10.0.0/kafka-bin
# you can install other versions of kafka to compare test results
KAFKA_VERSION=0.9.0.1 ./build_integration.sh
# install python test harness
pip install tox
# run just the failing test [replace py27 w/ py## as needed: py26,py27,py33,py34,py35]
KAFKA_VERSION=0.10.0.0 tox -e py27 test/test_consumer_integration.py::TestConsumerIntegration::test_huge_messages
> FetchResponse size exceeds max.partition.fetch.bytes
> ----------------------------------------------------
>
> Key: KAFKA-3442
> URL: https://issues.apache.org/jira/browse/KAFKA-3442
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.10.0.0
> Reporter: Dana Powers
> Priority: Blocker
> Fix For: 0.10.0.0
>
>
> Produce 10000 byte message to topic foobar
> Fetch foobar w/ max.partition.fetch.bytes=1024
> Test expects to receive a truncated message (~1024 bytes). 0.8 and 0.9 pass this test, but 0.10 FetchResponse has full message, exceeding the max specified in the FetchRequest.
> I tested with v0 and v1 apis, both fail. Have not tested w/ v2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)