Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add private methods to manage internal _msg_iter | Dana Powers | 2014-12-15 | 1 | -10/+20 | |
| | | ||||||
| * | Reorder methods, add docstrings to public methds, section comments for ↵ | Dana Powers | 2014-12-15 | 1 | -207/+255 | |
| | | | | | | | | private methods | |||||
| * | Use 4-space indents | Dana Powers | 2014-12-15 | 1 | -518/+517 | |
| | | ||||||
| * | Add a few basic KafkaConsumer tests | Dana Powers | 2014-12-15 | 2 | -13/+83 | |
| | | ||||||
| * | Add docstring to get_partition_offsets; use request_time_ms and ↵ | Dana Powers | 2014-12-15 | 1 | -7/+25 | |
| | | | | | | | | max_num_offsets var names | |||||
| * | Add docstring to configure() | Dana Powers | 2014-12-15 | 1 | -0/+21 | |
| | | ||||||
| * | raise KafkaConfigurationError in commit() if there is no configured ↵ | Dana Powers | 2014-12-15 | 1 | -1/+8 | |
| | | | | | | | | 'group_id'; add docstring | |||||
| * | _should_auto_commit is private | Dana Powers | 2014-12-15 | 1 | -2/+2 | |
| | | ||||||
| * | Support setting offsets in set_topic_partitions(); reorganize offsets ↵ | Dana Powers | 2014-12-15 | 1 | -127/+151 | |
| | | | | | | | | initialization | |||||
| * | _client is private var | Dana Powers | 2014-12-15 | 1 | -7/+11 | |
| | | ||||||
| * | Move kafka._msg_iter initialization from __init__() to next() | Dana Powers | 2014-12-15 | 1 | -6/+7 | |
| | | ||||||
| * | self._topics is private; fixup topic iterations for new TopicAndPartition ↵ | Dana Powers | 2014-12-15 | 1 | -44/+67 | |
| | | | | | | | | list; add more type checks to set_topic_and_partitions | |||||
| * | Add set_topic_partitions method to configure topics/partitions to consume | Dana Powers | 2014-12-15 | 1 | -8/+59 | |
| | | ||||||
| * | Use client.get_partition_ids_for_topic | Dana Powers | 2014-12-15 | 1 | -4/+4 | |
| | | ||||||
| * | Use configure() to check and set configuration keys | Dana Powers | 2014-12-15 | 2 | -59/+71 | |
| | | ||||||
| * | add private methods _set_consumer_timeout_start() and _check_consumer_timeout() | Dana Powers | 2014-12-15 | 1 | -8/+13 | |
| | | ||||||
| * | Handle FailedPayloadsError on client.send_fetch_request; permit offsets(); ↵ | Dana Powers | 2014-12-15 | 1 | -16/+35 | |
| | | | | | | | | update docstring | |||||
| * | A simpler kafka consumer: | Dana Powers | 2014-12-15 | 2 | -0/+439 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` kafka = KafkaConsumer('topic1') for m in kafka: print m kafka = KafkaConsumer('topic1', 'topic2', group_id='my_consumer_group', auto_commit_enable=True, auto_commit_interval_ms=30 * 1000, auto_offset_reset='smallest') for m in kafka: process_message(m) kafka.task_done(m) ``` | |||||
* | | Merge pull request #277 from pubnub/master | Mark Roberts | 2014-12-16 | 1 | -0/+4 | |
|\ \ | |/ |/| | added a send_messages api to KeyedProducer | |||||
| * | added a send_messages api to KeyedProducer | Jordan Shaw | 2014-12-15 | 1 | -0/+4 | |
|/ | | | | Signed-off-by: Jordan Shaw <jordan@pubnub.com> | |||||
* | Merge pull request #276 from jettify/fix-pending | Mark Roberts | 2014-12-15 | 2 | -3/+15 | |
|\ | | | | | fix pending method | |||||
| * | fix pending method | Nickolai Novik | 2014-12-15 | 2 | -3/+15 | |
|/ | ||||||
* | Merge pull request #274 from sunisdown/master | Dana Powers | 2014-12-11 | 1 | -3/+4 | |
|\ | | | | | update low-level demo in README | |||||
| * | update low level | sunisdown | 2014-12-11 | 1 | -3/+4 | |
|/ | | | | change KafkaProdocol.encode_message to create_message and change import ProduceRequest from kafka.common | |||||
* | Merge pull request #268 from se7entyse7en/keyed_message | Mark Roberts | 2014-11-26 | 5 | -27/+47 | |
|\ | | | | | Pass key to message sent by `KeyedProducer` | |||||
| * | Fixed TestKafkaProducerIntegration | Lou Marvin Caraig | 2014-11-26 | 2 | -17/+29 | |
| | | ||||||
| * | Added raise of TypeError for non bytes key | Lou Marvin Caraig | 2014-11-26 | 1 | -1/+6 | |
| | | ||||||
| * | Key is passed when creating messages for both async=False and async=True | Lou Marvin Caraig | 2014-11-26 | 2 | -6/+7 | |
| | | ||||||
| * | Added private method _send_messages that can accept kwargs | Lou Marvin Caraig | 2014-11-26 | 1 | -0/+2 | |
| | | ||||||
| * | Added optional argument key to create_message_set function | Lou Marvin Caraig | 2014-11-26 | 1 | -4/+4 | |
|/ | ||||||
* | Make sure to include kafka.partitioner in setup package spec | Dana Powers | 2014-09-25 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #243 from wizzat/issue_241 | Dana Powers | 2014-09-23 | 1 | -2/+6 | |
|\ | | | | | Fixes issue #241, adds kafka.consumer and kafka.producer packages | |||||
| * | Fixes issue #241, adds kafka.consumer and kafka.producer packages | Mark Roberts | 2014-09-23 | 1 | -2/+6 | |
|/ | ||||||
* | Merge pull request #242 from wizzat/pr_225 | Mark Roberts | 2014-09-23 | 1 | -1/+1 | |
|\ | | | | | Resolve merge conflict in PR #225 | |||||
| * | Resolve merge conflict in PR #225 | Mark Roberts | 2014-09-23 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #238 from dpkp/simple_consumer_get_messages_timeout | Mark Roberts | 2014-09-23 | 1 | -4/+5 | |
|\ \ | |/ |/| | Fix SimpleConsumer timeout behavior in get_messages (Issue 237) | |||||
| * | Fix SimpleConsumer timeout behavior in get_messages (Issue 237) | Dana Powers | 2014-09-21 | 1 | -4/+5 | |
|/ | ||||||
* | Merge pull request #233 from dpkp/str_join_speedup | Mark Roberts | 2014-09-11 | 3 | -71/+91 | |
|\ | | | | | Improve string concatenation performance on pypy and python 3 | |||||
| * | Use b''.join([]) instead of += to speedup code | Dana Powers | 2014-09-10 | 3 | -71/+91 | |
| | | ||||||
* | | Merge pull request #232 from dpkp/directory_layout | Dana Powers | 2014-09-10 | 17 | -873/+950 | |
|\ \ | |/ |/| | Separate Consumer/Producer/Partitioner modules | |||||
| * | Separate consumers/producers/partitioners | Dana Powers | 2014-09-10 | 17 | -873/+950 | |
| | | ||||||
* | | Fixup test_context.py unittest import | Dana Powers | 2014-09-10 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #217 from locationlabs/transaction | Dana Powers | 2014-09-10 | 2 | -0/+287 | |
|\ \ | | | | | | | Commit/rollback consumer offsets via context manager | |||||
| * | | Rename KafkaTransaction to OffsetCommitContext for clarity. | Jesse Myers | 2014-09-03 | 2 | -36/+36 | |
| | | | ||||||
| * | | Improve documentation in example | Jesse Myers | 2014-08-30 | 1 | -1/+2 | |
| | | | ||||||
| * | | Add transaction context manager. | Jesse Myers | 2014-08-30 | 2 | -0/+286 | |
| | | | ||||||
* | | | Update python version support in README | Dana Powers | 2014-09-10 | 1 | -4/+5 | |
| |/ |/| | ||||||
* | | Add recent PR merges to Changelog for 0.9.3 | Dana Powers | 2014-09-09 | 1 | -0/+8 | |
| | | ||||||
* | | Bump version to 0.9.3-dev | Dana Powers | 2014-09-09 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #223 from dpkp/metadata_refactor | Dana Powers | 2014-09-08 | 8 | -237/+479 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |