Skip to content

Commit fd99a57

Browse files
committed
Merge pull request #310 from dpkp/kafka_python_0_9_3
kafka-python 0.9.3
2 parents 202b137 + cd0bb3b commit fd99a57

File tree

4 files changed

+43
-12
lines changed

4 files changed

+43
-12
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
- KAFKA_VERSION=0.8.0
1313
- KAFKA_VERSION=0.8.1
1414
- KAFKA_VERSION=0.8.1.1
15+
- KAFKA_VERSION=0.8.2.0
1516

1617
before_install:
1718
- sudo apt-get install libsnappy-dev

CHANGES.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1-
# 0.9.3 (Unreleased)
1+
# 0.9.3 (Feb 3, 2015)
22

3+
* Add coveralls.io support (sontek PR 307)
4+
* Fix python2.6 threading.Event bug in ReentrantTimer (dpkp PR 312)
5+
* Add kafka 0.8.2.0 to travis integration tests (dpkp PR 310)
6+
* Auto-convert topics to utf-8 bytes in Producer (sontek PR 306)
7+
* Fix reference cycle between SimpleConsumer and ReentrantTimer (zhaopengzp PR 309)
8+
* Add Sphinx API docs (wedaly PR 282)
9+
* Handle additional error cases exposed by 0.8.2.0 kafka server (dpkp PR 295)
10+
* Refactor error class management (alexcb PR 289)
11+
* Expose KafkaConsumer in __all__ for easy imports (Dinoshauer PR 286)
12+
* SimpleProducer starts on random partition by default (alexcb PR 288)
13+
* Add keys to compressed messages (meandthewallaby PR 281)
14+
* Add new high-level KafkaConsumer class based on java client api (dpkp PR 234)
15+
* Add KeyedProducer.send_messages api (pubnub PR 277)
16+
* Fix consumer pending() method (jettify PR 276)
17+
* Update low-level demo in README (sunisdown PR 274)
18+
* Include key in KeyedProducer messages (se7entyse7en PR 268)
19+
* Fix SimpleConsumer timeout behavior in get_messages (dpkp PR 238)
20+
* Fix error in consumer.py test against max_buffer_size (rthille/wizzat PR 225/242)
21+
* Improve string concat performance on pypy / py3 (dpkp PR 233)
22+
* Reorg directory layout for consumer/producer/partitioners (dpkp/wizzat PR 232/243)
23+
* Add OffsetCommitContext (locationlabs PR 217)
324
* Metadata Refactor (dpkp PR 223)
425
* Add Python 3 support (brutasse/wizzat - PR 227)
526
* Minor cleanups - imports / README / PyPI classifiers (dpkp - PR 221)

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Kafka Python client
22

33
[![Build Status](https://api.travis-ci.org/mumrah/kafka-python.png?branch=master)](https://travis-ci.org/mumrah/kafka-python)
4+
[![Coverage Status](https://coveralls.io/repos/mumrah/kafka-python/badge.svg?branch=master)](https://coveralls.io/r/mumrah/kafka-python?branch=master)
45

56
[Full documentation available on ReadTheDocs](http://kafka-python.readthedocs.org/en/latest/)
67

@@ -22,15 +23,17 @@ Copyright 2014, David Arthur under Apache License, v2.0. See `LICENSE`
2223

2324
# Status
2425

25-
The current stable version of this package is [**0.9.2**](https://github.com/mumrah/kafka-python/releases/tag/v0.9.2) and is compatible with
26+
The current stable version of this package is [**0.9.3**](https://github.com/mumrah/kafka-python/releases/tag/v0.9.3) and is compatible with
2627

2728
Kafka broker versions
28-
- 0.8.0
29-
- 0.8.1
29+
- 0.8.2.0 [offset management currently ZK only -- does not support ConsumerCoordinator offset management APIs]
3030
- 0.8.1.1
31+
- 0.8.1
32+
- 0.8.0
3133

3234
Python versions
3335
- 2.6 (tested on 2.6.9)
34-
- 2.7 (tested on 2.7.8)
35-
- pypy (tested on pypy 2.3.1 / python 2.7.6)
36-
- (Python 3.3 and 3.4 support has been added to trunk and will be available the next release)
36+
- 2.7 (tested on 2.7.9)
37+
- 3.3 (tested on 3.3.5)
38+
- 3.4 (tested on 3.4.2)
39+
- pypy (tested on pypy 2.4.0 / python 2.7.8)

build_integration.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22

33
# Versions available for testing via binary distributions
4-
OFFICIAL_RELEASES="0.8.0 0.8.1 0.8.1.1"
4+
OFFICIAL_RELEASES="0.8.0 0.8.1 0.8.1.1 0.8.2.0"
55

66
# Useful configuration vars, with sensible defaults
77
if [ -z "$SCALA_VERSION" ]; then
8-
SCALA_VERSION=2.8.0
8+
SCALA_VERSION=2.10
99
fi
1010

1111
# On travis CI, empty KAFKA_VERSION means skip integration tests
@@ -45,12 +45,18 @@ pushd servers
4545
echo "-------------------------------------"
4646
echo "Checking kafka binaries for ${kafka}"
4747
echo
48-
wget -N https://archive.apache.org/dist/kafka/$kafka/kafka_${SCALA_VERSION}-${kafka}.tgz || wget -N https://archive.apache.org/dist/kafka/$kafka/kafka_${SCALA_VERSION}-${kafka}.tar.gz
48+
# kafka 0.8.0 is only available w/ scala 2.8.0
49+
if [ "$kafka" == "0.8.0" ]; then
50+
KAFKA_ARTIFACT="kafka_2.8.0-${kafka}"
51+
else
52+
KAFKA_ARTIFACT="kafka_${SCALA_VERSION}-${kafka}"
53+
fi
54+
wget -N https://archive.apache.org/dist/kafka/$kafka/${KAFKA_ARTIFACT}.tgz || wget -N https://archive.apache.org/dist/kafka/$kafka/${KAFKA_ARTIFACT}.tar.gz
4955
echo
5056
if [ ! -d "../$kafka/kafka-bin" ]; then
5157
echo "Extracting kafka binaries for ${kafka}"
52-
tar xzvf kafka_${SCALA_VERSION}-${kafka}.t* -C ../$kafka/
53-
mv ../$kafka/kafka_${SCALA_VERSION}-${kafka} ../$kafka/kafka-bin
58+
tar xzvf ${KAFKA_ARTIFACT}.t* -C ../$kafka/
59+
mv ../$kafka/${KAFKA_ARTIFACT} ../$kafka/kafka-bin
5460
else
5561
echo "$kafka/kafka-bin directory already exists -- skipping tgz extraction"
5662
fi

0 commit comments

Comments
 (0)