summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2016-07-31 20:34:35 -0700
committerDana Powers <dana.powers@gmail.com>2016-08-02 18:26:29 -0700
commitaed1a09401b5ebec4278fd2e393c1249a0efd562 (patch)
tree548fbb5b2d99ea11f4c5984690abc460bfc38145
parentb87ad1eb0ea574707b76741d8699497c661ee47f (diff)
downloadkafka-python-aed1a09401b5ebec4278fd2e393c1249a0efd562.tar.gz
Rename partition_assignment -> assignment in MemberMetadata for consistency
-rw-r--r--kafka/protocol/group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/protocol/group.py b/kafka/protocol/group.py
index 97ae5f7..c49cfc8 100644
--- a/kafka/protocol/group.py
+++ b/kafka/protocol/group.py
@@ -75,7 +75,7 @@ SyncGroupResponse = [SyncGroupResponse_v0]
class MemberAssignment(Struct):
SCHEMA = Schema(
('version', Int16),
- ('partition_assignment', Array(
+ ('assignment', Array(
('topic', String('utf-8')),
('partitions', Array(Int32)))),
('user_data', Bytes)