Commit Graph

428 Commits

Author SHA1 Message Date
Ismael Juma 13130139ff KAFKA-3713; Close `compressor` to fix memory leak
This fixes test_producer_throughput with compression_type=snappy.

Also: added heap dump on out of memory error to `producer_performance.py` and corrected the upgrade note related to the change in buffer size for compression streams.

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Gwen Shapira

Closes #1385 from ijuma/kafka-3713-test_producer_throughput-snappy-fail and squashes the following commits:

54c7962 [Ismael Juma] Correct upgrade note about buffer size for compression stream
515040b [Ismael Juma] Call `compressor.close()` to fix memory leak
5311e5b [Ismael Juma] Dump heap on out of memory error when running `producer_performance.py`
2016-05-13 21:03:35 -07:00
Ismael Juma 84d17bdf22 MINOR: Fix order of compression algorithms in upgrade note
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Guozhang Wang <wangguoz@gmail.com>, Jun Rao <junrao@gmail.com>

Closes #1373 from ijuma/fix-producer-buffer-size-upgrade-note
2016-05-12 01:38:50 +01:00
Guozhang Wang 1182d61deb KAFKA-3704: Remove hard-coded block size in KafkaProducer
Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Ismael Juma

Closes #1371 from guozhangwang/K3565-remove-compression-blocksize
2016-05-11 17:01:14 -07:00
Guozhang Wang 6f1873242c MINOR: Add Kafka Streams API / upgrade notes
Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Michael G. Noll <michael@confluent.io>, Ismael Juma <ismael@juma.me.uk>

Closes #1321 from guozhangwang/KStreamsJavaDoc
2016-05-10 08:00:51 +01:00
Dana Powers 8fe2552239 KAFKA-3160; Fix LZ4 Framing
This contribution is my original work and I license the work under Apache 2.0.

Author: Dana Powers <dana.powers@gmail.com>
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Jun Rao <junrao@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1212 from dpkp/KAFKA-3160
2016-05-07 19:35:55 +01:00
Jason Gustafson 2758395352 KAFKA-3425: add missing upgrade notes
Author: Jason Gustafson <jason@confluent.io>

Reviewers: Grant Henke, Ashish Singh, Ismael Juma, Guozhang Wang

Closes #1159 from hachikuji/KAFKA-3425
2016-03-29 14:18:57 -07:00
Jason Gustafson d691faf98c KAFKA-3463: change default receive buffer size for consumer to 64K
Author: Jason Gustafson <jason@confluent.io>

Reviewers: Gwen Shapira

Closes #1140 from hachikuji/KAFKA-3463
2016-03-25 12:51:54 -07:00
Grant Henke d3a66a6536 KAFKA-3460: Remove old 0.7 KafkaMigrationTool
Author: Grant Henke <granthenke@gmail.com>

Reviewers: Gwen Shapira

Closes #1136 from granthenke/remove-07-migration
2016-03-25 10:07:05 -07:00
Allen Wang 951e30adc6 KAFKA-1215; Rack-Aware replica assignment option
Please see https://cwiki.apache.org/confluence/display/KAFKA/KIP-36+Rack+aware+replica+assignment for the overall design.

The update to TopicMetadataRequest/TopicMetadataResponse will be done in a different PR.

Author: Allen Wang <awang@netflix.com>
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Ismael Juma <ismael@juma.me.uk>, Jason Gustafson <jason@confluent.io>, 	Grant Henke <granthenke@gmail.com>, Jun Rao <junrao@gmail.com>

Closes #132 from allenxwang/KAFKA-1215
2016-03-15 10:03:03 -07:00
Jiangjie Qin ffbe624e6f KAFKA-3373; add 'log' prefix to configurations in KIP-31/32
Author: Jiangjie Qin <becket.qin@gmail.com>

Reviewers: Gwen Shapira

Closes #1049 from becketqin/KAFKA-3373
2016-03-14 19:13:26 -07:00
Ismael Juma 695fdc69db KAFKA-3273; MessageFormatter and MessageReader interfaces should be resilient to changes
* Change `MessageFormat.writeTo` to take a `ConsumerRecord`
* Change `MessageReader.readMessage()` to use `ProducerRecord`

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Jun Rao <junrao@gmail.com>

Closes #972 from ijuma/kafka-3273-message-formatter-and-reader-resilient
2016-02-29 18:52:54 -08:00
Ismael Juma 01aeea7c7b KAFKA-3259 KAFKA-3253; KIP-31/KIP-32 Follow-up
This PR includes a number of clean-ups:
* Code style
* Documentation wording improvements
* Efficiency improvements

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Jun Rao <junrao@gmail.com>

Closes #943 from ijuma/kafka-3259-kip-31-32-clean-ups
2016-02-24 11:28:53 -08:00
Jiangjie Qin 45c8195fa1 KAFKA-3025; Added timetamp to Message and use relative offset.
See KIP-31 and KIP-32 for details.

A few notes on the patch:
1. This patch implements KIP-31 and KIP-32. The patch includes features in both KAFKA-3025,  KAFKA-3026 and KAFKA-3036
2. All unit tests passed.
3. The unit tests were run with new and old message format.
4. When message format conversion occurs during consumption, the consumer will not be able to detect the message size too large situation. I did not try to fix this because the situation seems rare and only happen during migration phase.

Author: Jiangjie Qin <becket.qin@gmail.com>
Author: Ismael Juma <ismael@juma.me.uk>
Author: Jiangjie (Becket) Qin <becket.qin@gmail.com>

Reviewers: Jason Gustafson <jason@confluent.io>, Anna Povzner <anna@confluent.io>, Ismael Juma <ismael@juma.me.uk>, Guozhang Wang <wangguoz@gmail.com>, Jun Rao <junrao@gmail.com>

Closes #764 from becketqin/KAFKA-3025
2016-02-19 07:56:40 -08:00
Rajini Sivaram c97a75d985 KAFKA-3170; Set default fetch_min_bytes in new consumer to 1
Set default to 1 instead of 1024, this matches the existing doc and feels like a better default value. Have run the unit tests with the change.

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

Reviewers: Jason Gustafson, Ismael Juma, Grant Henke, Guozhang Wang

Closes #832 from rajinisivaram/KAFKA-3170
2016-02-02 09:38:52 -08:00
Grant Henke eaa1433a2f KAFKA-3164: Document client and mirrormaker upgrade procedure/require…
…ments

Author: Grant Henke <granthenke@gmail.com>

Reviewers: Gwen Shapira

Closes #838 from granthenke/upgrade-docs
2016-01-30 16:22:42 -08:00
Jakub Nowak 8f302c83c3 KAFKA-3086: Remove unused method in MirrorMaker.
Author: Jakub Nowak <jakub.nowak94@interia.pl>

Reviewers: Ismael Juma, Gwen Shapira, Grant Henke, Guozhang Wang

Closes #758 from Mszak/kafka-3086
2016-01-29 08:43:33 -08:00
Ismael Juma f2d4ed5bc4 MINOR: Upgrade note on compacted topics behaviour on receiving message without key
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Grant Henke, Guozhang Wang

Closes #798 from ijuma/upgrade-notes-unkeyed-messages-to-compacted-topics
2016-01-21 11:44:44 -08:00
Grant Henke 5c337d7598 KAFKA-3012: Avoid reserved.broker.max.id collisions on upgrade
Provides a configuration to opt out of broker id generation.

Author: Grant Henke <granthenke@gmail.com>

Reviewers: Gwen Shapira

Closes #762 from granthenke/id-generation
2016-01-18 18:39:55 -08:00
Gabriel Zhang ccdf552749 MINOR: Fix typos in Kafka website page
Fix two minor typos in Kafka official website page.

Author: Gabriel Zhang <smalldirector@yahoo.com>

Reviewers: Ismael Juma, Guozhang Wang

Closes #742 from smalldirector/kafka-document-typos-fix
2016-01-08 10:43:52 -08:00
Grant Henke ee1770e00e KAFKA-2988; Change default configuration of the log cleaner
Author: Grant Henke <granthenke@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>, Jun Rao <junrao@gmail.com>

Closes #686 from granthenke/compaction
2016-01-07 09:57:35 -08:00
Ismael Juma 4ad165c078 MINOR: Add information to upgrade notes
Credit to Gwen for some of the text.

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Guozhang Wang <wangguoz@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #678 from ijuma/mirror-maker-compatibility-note
2015-12-15 20:57:05 -08:00
Magnus Edenhill 9a0e16397e MINOR: Documentation updates for reserved.broker.max.id
People are facing problems upgrading their clusters with configured broker IDs above 1000 due to `reserved.broker.max.id` which wasn't very well announced.

This PR attempts to improve that somewhat by fixing the broker config docs and adding a note to the upgrade documentation.

Author: Magnus Edenhill <magnus@edenhill.se>

Reviewers: Grant Henke <granthenke@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #670 from edenhill/docs-reserved.broker.max.id
2015-12-14 19:03:20 -08:00
Grant Henke 6cbd97597c KAFKA-2809; Improve documentation linking
Often it is useful to link to a specific header within the documentation. Especially when referencing docs in the mailing lists.

This adds anchors and links for all headers in the docs.

Author: Grant Henke <granthenke@gmail.com>

Reviewers: Jun Rao <junrao@gmail.com>

Closes #498 from granthenke/doc-links
2015-11-16 14:14:17 -08:00
Jun Rao 5d87eac856 additional trivial 0.9.0 doc changes 2015-11-13 14:18:02 -08:00
Gwen Shapira a8ccdc6154 KAFKA-2790: doc improvements
Author: Gwen Shapira <cshapi@gmail.com>

Reviewers: Jun Rao, Guozhang Wang

Closes #491 from gwenshap/KAFKA-2790
2015-11-11 10:54:09 -08:00
Guozhang Wang 15524d0970 KAFKA-2766: use new producer by default in tooling
Also update the API docs for new consumer.

Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Gwen Shapira

Closes #448 from guozhangwang/K2766
2015-11-06 17:55:32 -08:00
Grant Henke fc4ef47910 KAFKA-2645: Document potentially breaking changes in the release note…
…s for 0.9.0

Author: Grant Henke <granthenke@gmail.com>

Reviewers: Gwen Shapira, Guozhang Wang

Closes #337 from granthenke/docs
2015-10-27 07:43:19 -07:00
Manikumar reddy O 4016011457 KAFKA-2425; Copy latest docs to kafka repo docs/ directory
This PR copies the latest kafka docs to kafka repo docs directory. Here I have copied 0.8.3/ directory contents from svn website repo to kafka/docs repository.

Some questions: This PR contains generated javadocs also.  Do we need to copy javadocs here?

Author: Manikumar reddy O <manikumar.reddy@gmail.com>

Reviewers: Gwen Shapira, Ismael Juma

Closes #171 from omkreddy/KAFKA-2425-MOVE-DOCS-TO-KAFKA-REPO
2015-10-03 06:50:45 -07:00