diff options
author | Dana Powers <dana.powers@rd.io> | 2014-09-01 17:06:15 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2014-09-01 18:04:10 -0700 |
commit | d15a52cab28aa32274a27e4af86acf3f34c2092a (patch) | |
tree | b5ad453dba0f7458e8d3408d52b8da882f694804 /kafka/client.py | |
parent | 945ecbcee7d2844ebbfa407b1542109fd8518cde (diff) | |
download | kafka-python-d15a52cab28aa32274a27e4af86acf3f34c2092a.tar.gz |
Add test for sending produce request to unknown topic w/o auto-creation
Diffstat (limited to 'kafka/client.py')
-rw-r--r-- | kafka/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kafka/client.py b/kafka/client.py index 38136af..8e62e0d 100644 --- a/kafka/client.py +++ b/kafka/client.py @@ -132,8 +132,8 @@ class KafkaClient(object): Params ====== - payloads: list of object-like entities with a topic and - partition attribute + payloads: list of object-like entities with a topic (str) and + partition (int) attribute encode_fn: a method to encode the list of payloads to a request body, must accept client_id, correlation_id, and payloads as keyword arguments |