Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix KafkaClient request / response ordering | Dana Powers | 2015-06-10 | 1 | -10/+20 | |
| | ||||||
* | KafkaClient log new broker and topic metadata received as INFO | Dana Powers | 2015-06-09 | 1 | -2/+2 | |
| | ||||||
* | KafkaClient: log responses by requestId for debugging | Dana Powers | 2015-06-09 | 1 | -1/+4 | |
| | ||||||
* | KafkaClient: log requestId on ConnectionError instead of hexdump of request ↵ | Dana Powers | 2015-06-09 | 1 | -6/+5 | |
| | | | | contents | |||||
* | Improve kafka client debug request/response logging | Dana Powers | 2015-06-08 | 1 | -5/+5 | |
| | ||||||
* | Prefer single quotes for strings | Dana Powers | 2015-06-08 | 1 | -14/+12 | |
| | ||||||
* | Add a few extra docstring comments about thread-safe clients/connections | Dana Powers | 2015-06-08 | 1 | -2/+5 | |
| | ||||||
* | Cleanup imports in kafka/client and kafka/consumer | Dana Powers | 2015-06-08 | 1 | -1/+1 | |
| | ||||||
* | KafkaClient should try/except ConnnectionError when calling _get_conn | Dana Powers | 2015-06-06 | 1 | -2/+2 | |
| | ||||||
* | Raise an error if we attempt to group duplicate topic-partition payloads | Dana Powers | 2015-06-06 | 1 | -0/+2 | |
| | | | | - previously this would simply drop one of the payloads | |||||
* | Use separate module loggers instead of a single 'kafka' logger | Dana Powers | 2015-06-06 | 1 | -1/+2 | |
| | ||||||
* | Merge pull request #367 from dpkp/clean_metadata_refresh | Dana Powers | 2015-04-12 | 1 | -13/+14 | |
|\ | | | | | Clear local metadata cache before refresh in client.load_metadata_for_topics() | |||||
| * | Update debug log messages in client.load_metadata_for_topics | Dana Powers | 2015-04-12 | 1 | -2/+2 | |
| | | ||||||
| * | clean local metadata before requesting refresh in load_metadata_for_topics() | Dana Powers | 2015-04-12 | 1 | -2/+7 | |
| | | ||||||
| * | Simplify client.reset_topic_metadata | Dana Powers | 2015-04-12 | 1 | -9/+5 | |
| | | ||||||
* | | Improve send_produce_request docstring | Dana Powers | 2015-04-06 | 1 | -6/+17 | |
| | | ||||||
* | | Add debug logging for all broker-aware requests/responses | Dana Powers | 2015-04-06 | 1 | -0/+3 | |
| | | ||||||
* | | Refactor KafkaClient._send_broker_aware_request to return a list of responses | Dana Powers | 2015-04-06 | 1 | -73/+57 | |
|/ | | | | | | and include individual (unraised) FailedPayloadsError instances rather than always raising a FailedPayloadsError. This should allow producers to determine which payloads succeeded and which failed, specifically. | |||||
* | Make external API consistently support python3 strings for topic. | Space | 2015-04-03 | 1 | -0/+3 | |
| | ||||||
* | Rollover KafkaClient correlation ids at 2**31 to keep within int32 protocol ↵ | Dana Powers | 2015-03-29 | 1 | -7/+7 | |
| | | | | encoding | |||||
* | KafkaClient.get_partition_ids_for_topic now returns empty list for unknown ↵ | Dana Powers | 2015-03-02 | 1 | -1/+1 | |
| | | | | topics | |||||
* | Add comment about no server response case in _send_broker_aware_request | Dana Powers | 2015-03-02 | 1 | -0/+5 | |
| | ||||||
* | Avoid topic_partitions KeyError in KafkaClient | Dana Powers | 2015-03-02 | 1 | -1/+1 | |
| | ||||||
* | Accept KafkaClient client_id as string or bytes; encode string client_id as ↵ | Dana Powers | 2015-03-01 | 1 | -1/+2 | |
| | | | | utf-8 bytes internally | |||||
* | Always return sorted partition ids in KafkaClient.get_partition_ids_for_topic() | Dana Powers | 2015-02-09 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #282 from wedaly/sphinx-api-docs | Dana Powers | 2015-01-23 | 1 | -24/+24 | |
|\ | | | | | Add Sphinx API docs | |||||
| * | Add Sphinx API docs | Will Daly | 2015-01-15 | 1 | -24/+24 | |
| | | ||||||
* | | Catch ReplicaNotAvailableError in MetadataResponse -- per kafka-devs, this ↵ | Dana Powers | 2015-01-14 | 1 | -1/+6 | |
|/ | | | | error can and should be ignored | |||||
* | Use six for py3 support in KafkaConsumer | Dana Powers | 2014-12-15 | 1 | -3/+3 | |
| | | | | Log connection failures w/ traceback in kafka/client.py | |||||
* | Merge pull request #223 from dpkp/metadata_refactor | Dana Powers | 2014-09-08 | 1 | -63/+156 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Metadata Refactor * add MetadataRequest and MetadataResponse namedtuples * add TopicMetadata namedtuple * add error codes to Topic and Partition Metadata * add KafkaClient.send_metadata_request() method * KafkaProtocol.decode_metadata_response changed to return a MetadataResponse object so that it is consistent with server api: [broker_list, topic_list] * raise server exceptions in load_metadata_for_topics(*topics) unless topics is null (full refresh) * Replace non-standard exceptions (LeaderUnavailable, PartitionUnavailable) with server standard exceptions (LeaderNotAvailableError, UnknownTopicOrPartitionError) Conflicts: kafka/client.py test/test_client.py test/test_producer_integration.py test/test_protocol.py | |||||
| * | Add test for sending produce request to unknown topic w/o auto-creation | Dana Powers | 2014-09-01 | 1 | -2/+2 | |
| | | ||||||
| * | Use standard exceptions in client._get_leader_for_partition() | Dana Powers | 2014-09-01 | 1 | -15/+28 | |
| | | | | | | | | | | | | - drop custom PartitionUnavailable exception - raise UnknownTopicOrPartitionError or LeaderNotAvailableError - add tests for exception raises | |||||
| * | Raise UnknownTopicOrPartitionError immediately in ensure_topic_exists -- ↵ | Dana Powers | 2014-09-01 | 1 | -0/+4 | |
| | | | | | | | | server is not auto-creating | |||||
| * | load_metadata_for_topics should raise exceptions on explicit topic args | Dana Powers | 2014-09-01 | 1 | -12/+40 | |
| | | ||||||
| * | Refactor internal metadata dicts in KafkaClient | Dana Powers | 2014-09-01 | 1 | -20/+56 | |
| | | | | | | | | | | | | | | | | - use helper methods not direct access - add get_partition_ids_for_topic - check for topic and partition errors during load_metadata_for_topics - raise LeaderNotAvailableError when topic is being auto-created or UnknownTopicOrPartitionError if auto-creation off | |||||
| * | No more custom LeaderUnavailableError exception -- raise LeaderNotAvailableError | Dana Powers | 2014-09-01 | 1 | -3/+3 | |
| | | ||||||
| * | Rearrange KafkaClient method order to group client metadata methods together | Dana Powers | 2014-09-01 | 1 | -18/+18 | |
| | | ||||||
| * | Improve metadata protocol handling | Dana Powers | 2014-09-01 | 1 | -9/+21 | |
| | | | | | | | | | | | | | | | | | | | | - add MetadataRequest and MetadataResponse namedtuples - add TopicMetadata namedtuple - add error codes to Topic and Partition Metadata - add KafkaClient.send_metadata_request() method - KafkaProtocol.decode_metadata_response changed to return a MetadataResponse object so that it is consistent with server api: [broker_list, topic_list] | |||||
* | | Fix test errors related to mocks | Mark Roberts | 2014-09-03 | 1 | -3/+4 | |
| | | ||||||
* | | Fix more tests, only multiprocessing consumer ones remaining | Bruno Renié | 2014-09-03 | 1 | -3/+3 | |
| | | ||||||
* | | client_id in bytes | Bruno Renié | 2014-09-03 | 1 | -1/+1 | |
| | | ||||||
* | | Make all unit tests pass on py3.3/3.4 | Bruno Renié | 2014-09-03 | 1 | -1/+1 | |
|/ | ||||||
* | Add pylint to tox.ini; test both kafka and test; default to error-checking ↵ | Dana Powers | 2014-08-25 | 1 | -1/+1 | |
| | | | | only; fixup errors; skip kafka/queue.py | |||||
* | Add KafkaTimeoutError (used by client.ensure_topic_exists) and add a test | Dana Powers | 2014-08-14 | 1 | -3/+3 | |
| | ||||||
* | Handle New Topic Creation | Mark Roberts | 2014-05-22 | 1 | -9/+19 | |
| | | | | | Adds ensure_topic_exists to KafkaClient, redirects test case to use that. Fixes #113 and fixes #150. | |||||
* | Attempt to fix travis build. Decrease complexity of service.py in favor of ↵ | Mark Roberts | 2014-05-06 | 1 | -2/+0 | |
| | | | | in memory logging. Address code review concerns | |||||
* | Make BrokerRequestError a base class, make subclasses for each broker error | Mark Roberts | 2014-04-30 | 1 | -19/+17 | |
| | ||||||
* | Refactor away _get_conn_for_broker. Fix bug in _get_conn | Mark Roberts | 2014-04-09 | 1 | -13/+6 | |
| | ||||||
* | Merge pull request #134 from wizzat/conn_refactorv0.9.0 | Dana Powers | 2014-03-21 | 1 | -3/+3 | |
|\ | | | | | conn.py performance improvements, make examples work, add another example | |||||
| * | Merge branch 'master' into conn_refactor | Mark Roberts | 2014-03-18 | 1 | -3/+3 | |
| |\ |