summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update commentfast_lookup_coordinator_resetDana Powers2017-10-241-2/+3
|
* Add test for lookup_coordinator failureDana Powers2017-10-241-0/+8
|
* Handle future bug when sending group coordinator request fails immediatelyDana Powers2017-10-241-5/+10
|
* Add fixture support for upcoming 1.0.0 broker release (#1275)Dana Powers2017-10-234-2/+194
|
* Fix timestamp not passed to RecordMetadata (#1273)Taras Voinarovskyi2017-10-226-24/+195
| | | | | | | | * Fix timestamp not being passed to RecordMetadata properly * Add more tests for LegacyBatch * Fix producer test for recordmetadata
* Fixup for PR 1264 -- required to propagate configuration to BrokerConnectionDana Powers2017-10-211-0/+3
|
* Fixup for PR 1258 / _try_authenticateDana Powers2017-10-211-1/+4
|
* Added controlled thread shutdown to example.py (#1268)Benn Roth2017-10-211-8/+32
|
* Merge pull request #1258 from dpkp/pending_completionsTaras Voinarovskyi2017-10-214-31/+65
|\ | | | | Move callback processing from BrokerConnection to KafkaClient
| * Move callback processing from BrokerConnection to KafkaClientpending_completionsDana Powers2017-10-154-31/+65
| |
* | Explicitly check for None rather than falseyJeff Widman2017-10-191-3/+3
| | | | | | | | Be pedantic about checking for identity rather than equality to avoid issues like #1237 / 411bc08f214b7afc36f11bde2047096c06467088
* | Fix overriding sasl_kerberos_service_name in KafkaConsumer / KafkaProducer ↵Nathanael Smith2017-10-172-0/+6
| | | | | | | | (#1264)
* | Cleanup gssapi code; fix bug report re AttributeError. (#1262)Dana Powers2017-10-161-10/+9
| |
* | Fix docstringJeff Widman2017-10-161-3/+4
|/
* Fix SASL authentication bugs (#1257)Dana Powers2017-10-151-23/+34
| | | | | | * Use _send_bytes_blocking in BrokerConnection * _try_authenticate should call recv() so that futures are resolved * _sasl_auth_future can be reset if recv() causes disconnect * validate sasl_mechanism against SaslHandShakeResponse enabled_mechanisms
* Merge pull request #1252 from dpkp/legacy_records_refactorTaras Voinarovskyi2017-10-1426-461/+1317
|\ | | | | Refactor MessageSet and Message into LegacyRecordBatch
| * Added limit of 100 bytes for Bytes debug printslegacy_records_refactorTaras Voinarovskiy2017-10-141-0/+4
| |
| * Added minor fixes for PR reviewTaras2017-10-126-27/+20
| |
| * Fix tests and rebase problemsTaras2017-10-122-97/+28
| |
| * Added specific to record/ folder micro benchmarks to get exact speed change ↵Taras2017-10-123-0/+155
| | | | | | | | after updating to V2 message format
| * Remove the check for timestamp None in producer, as it's done in RecordBatch ↵Taras2017-10-123-22/+7
| | | | | | | | | | | | anyway. Minor abc doc fixes.
| * Fix snappy compression on PyPyTaras2017-10-121-4/+5
| |
| * Refactor MessageSet and Message into LegacyRecordBatch to later support v2 ↵Taras2017-10-1121-355/+1142
| | | | | | | | message format
* | Merge pull request #1247 from dpkp/add_makefileTaras Voinarovskyi2017-10-142-0/+72
|\ \ | | | | | | Add a Makefile
| * | Add build_intergation job for makefileadd_makefileTaras Voinarovskiy2017-10-141-6/+11
| | |
| * | Forgot the requirement-dev.txt fileTaras2017-10-141-0/+15
| | |
| * | Add a Makefile, so users with less knowladge can easily build the project, ↵Taras2017-10-141-0/+52
| |/ | | | | | | generate docs and run tests.
* | KAFKA-4034: Avoid unnecessary consumer coordinator lookup (#1254)Dana Powers2017-10-115-26/+78
|/
* Merge pull request #1245 from dpkp/KAFKA_3977_defer_fetch_parsingTaras Voinarovskyi2017-10-112-277/+537
|\ | | | | KAFKA-3977: defer fetch response parsing and raise exceptions to user
| * More testsKAFKA_3977_defer_fetch_parsingDana Powers2017-10-082-15/+200
| |
| * Avoid sys.maxint; not supported on py3Dana Powers2017-10-081-2/+4
| |
| * Add tests for Fetcher.fetched_records and _handle_fetch_responseDana Powers2017-10-071-14/+118
| |
| * KAFKA-3977: Defer fetch parsing for space efficiency, and to raise ↵Dana Powers2017-10-071-261/+230
| | | | | | | | exceptions to user
* | Check for disconnects during ssl handshake and sasl authentication (#1249)Dana Powers2017-10-101-31/+42
| |
* | Always wait for completion during SASL/GSSAPI authentication (#1248)Dana Powers2017-10-101-26/+15
| |
* | Add kafka.protocol.parser.KafkaProtocol w/ receive and send (#1230)Dana Powers2017-10-103-146/+226
| |
* | Update to 0.11.0.1 for travis test fixture; use as default if unspecified ↵Dana Powers2017-10-086-3/+191
| | | | | | | | (#1244)
* | Expand metrics docs (#1243)Jeff Widman2017-10-083-13/+33
|/ | | | | | * Expand metrics docstrings * Document metrics interface in readme * Use six.iteritems(d) rather than d.items() * Use Sphinx warning syntax
* Bump version for developmentDana Powers2017-10-071-1/+1
|
* Release 1.3.51.3.5Dana Powers2017-10-073-1/+50
|
* Add method to ensure a valid topic name (#1238)Niklas Mollenhauer2017-10-072-3/+53
|
* Fix typoJeff Widman2017-10-061-1/+1
|
* Explicitly check for `None` rather than FalseJeff Widman2017-10-061-1/+1
| | | | | If the group leader somehow gets in a state that it has an empty partition assignment, then `self._assignment_snapshot` will be `{}` which evaluates to `False`. So `self._subscription.mark_for_reassignment()` will never be triggered, even if `self._assignment_snapshot != self._metadata_snapshot`. Fixes the symptoms of https://github.com/dpkp/kafka-python/issues/1237 although I suspect there's an additional bug in that case that triggers the condition of the the group leader getting an empty partition assignment.
* Fix Fetcher.PartitionRecords to handle fetch_offset in the middle of ↵Dana Powers2017-10-052-3/+31
| | | | compressed messageset (#1239)
* Fix grammarJeff Widman2017-10-041-1/+1
|
* Small fixes to SASL documentation and logging; validate security_protocol ↵Dana Powers2017-10-031-21/+26
| | | | (#1231)
* Remove raw traceback (#1221)dbgasaway2017-10-011-3/+5
|
* Merge pull request #1213 from ↵Taras Voinarovskyi2017-09-135-13/+13
|\ | | | | | | | | dpkp/1212-stop-using-mutable-types-for-default-arg-values Stop using mutable types for default arg values
| * Stop using mutable types for default arg values1212-stop-using-mutable-types-for-default-arg-valuesJeff Widman2017-09-125-13/+13
| | | | | | | | | | | | | | | | Using mutable types for default args is typically a no-no unless their surprising behavior is being explicitly abused, for an explanation see: http://effbot.org/zone/default-values.htm Fix #1212
* | Fix typoJeff Widman2017-09-121-1/+1
|/