Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Improve removed tasks handing in DelayedTaskQueue.pop_ready | Dana Powers | 2015-12-30 | 1 | -2/+5 | |
| | | ||||||
| * | Remove unnecessary calls in KafkaClient._poll | Dana Powers | 2015-12-30 | 1 | -13/+13 | |
| | | | | | | | | | | - Dont process connections; outer poll() loop does this now - Only recv connections that select says are readable | |||||
| * | Resolve delayed task futures in KafkaClient.poll | Dana Powers | 2015-12-30 | 1 | -3/+6 | |
| | | ||||||
| * | Remove unused connection_delay method from KafkaClient | Dana Powers | 2015-12-30 | 1 | -18/+0 | |
| | | ||||||
| * | Switch configs from attributes to dict to make passing / inspecting easier | Dana Powers | 2015-12-29 | 8 | -211/+211 | |
| | | ||||||
| * | Use _next_correlation_id() method to avoid int overflows | Dana Powers | 2015-12-29 | 1 | -4/+8 | |
| | | ||||||
| * | Fix log statement bug (via pylint) | Dana Powers | 2015-12-29 | 1 | -1/+1 | |
| | | ||||||
| * | Clean more ConsumerCoordinator docstrings | Dana Powers | 2015-12-29 | 1 | -16/+19 | |
| | | ||||||
| * | Use ConnectionError rather than new DisconnectError | Dana Powers | 2015-12-29 | 2 | -8/+4 | |
| | | ||||||
| * | Dont warn in AutoCommitTask.disable if not previously scheduled | Dana Powers | 2015-12-29 | 1 | -1/+1 | |
| | | ||||||
| * | Improve OffsetCommit error logging | Dana Powers | 2015-12-29 | 1 | -23/+33 | |
| | | | | | | | | | | | | Avoid printing full errors because they currently include long descriptions that are generally duplicative of our local error message. | |||||
| * | Log request failures in AbstractCoordinator._failed_request | Dana Powers | 2015-12-29 | 1 | -5/+10 | |
| | | ||||||
| * | _handle_group_coordinator_response should resolve future with the coordinator id | Dana Powers | 2015-12-29 | 1 | -1/+1 | |
| | | ||||||
| * | Improve heartbeat logging | Dana Powers | 2015-12-29 | 1 | -14/+13 | |
| | | ||||||
| * | Log as INFO: group join, leader election, partition assignments | Dana Powers | 2015-12-29 | 2 | -1/+5 | |
| | | ||||||
| * | Improve various docstrings | Dana Powers | 2015-12-29 | 3 | -22/+43 | |
| | | ||||||
| * | Remove extra raise and old TODO comment in coordinators | Dana Powers | 2015-12-29 | 2 | -2/+1 | |
| | | ||||||
| * | Make add_assigned_partition private(ish) in SubscriptionState | Dana Powers | 2015-12-29 | 1 | -3/+3 | |
| | | ||||||
| * | Make more methods private(ish) in AbstractCoordinator | Dana Powers | 2015-12-29 | 1 | -13/+13 | |
| | | ||||||
| * | Remove recursive client.poll call in ConsumerCoordinator | Dana Powers | 2015-12-29 | 1 | -2/+3 | |
| | | ||||||
| * | Pass auto commit parameters from KafkaConsumer to ConsumerCoordinator | Dana Powers | 2015-12-29 | 2 | -1/+3 | |
| | | ||||||
| * | Fix broken SubscriptionState.is_assigned call | Dana Powers | 2015-12-29 | 1 | -1/+1 | |
| | | ||||||
| * | Fix HeartbeatTask request_in_flight handling | Dana Powers | 2015-12-29 | 1 | -1/+1 | |
| | | ||||||
| * | kafka.consumer.group.KafkaConsumer: 0.9 coordinator-aware consumer | Dana Powers | 2015-12-28 | 1 | -797/+480 | |
| | | | | | | | | | | | | | | - use ConsumerCoordinator to manage group membership - dynamically assign partitions via group using topic subscription - use upstream configuration parameters as __init__ kwargs - metrics and SSL are still TODO | |||||
| * | ConsumerCoordinator (based on upstream Java client) | Dana Powers | 2015-12-28 | 4 | -0/+703 | |
| | | | | | | | | | | | | - Use RoundRobinPartitionAssignor by default - Define AbstractPartitionAssignor for custom assignors - metrics still TODO | |||||
| * | AbstractCoordinator (modelled after upstream Java class) | Dana Powers | 2015-12-28 | 4 | -0/+690 | |
| | | | | | | | | | | - Heartbeat class manages HeartbeatRequest / Response state - metrics are still TODO | |||||
| * | Define ConsumerRebalanceListener abstract class | Dana Powers | 2015-12-28 | 1 | -0/+84 | |
| | | ||||||
| * | Add UNKNOWN_MEMBER_ID to JoinGroupRequest | Dana Powers | 2015-12-28 | 1 | -0/+1 | |
| | | ||||||
| * | Add DEFAULT_GENERATION_ID and DEFAULT_RETENTION_TIME to OffsetCommitRequest_v2 | Dana Powers | 2015-12-28 | 1 | -0/+2 | |
| | | ||||||
| * | New class: kafka.consumer.fetcher.Fetcher | Dana Powers | 2015-12-28 | 1 | -0/+523 | |
| | | | | | | | | | | - manages fetch requests via async client and subscription_state - based on upstream java client | |||||
| * | Improvements to kafka.future.Future | Dana Powers | 2015-12-28 | 1 | -8/+37 | |
| | | | | | | | | | | | | | | | | - log exceptions in callbacks/errors - dont raise - guarantee future.exception is an instance, not a class/type - *args, **kwargs in add_callback / errback (functools.partial) - add_both(f, *args, **kwargs) to add same f as callback and errback - chain(new_future) to trigger new_future on success / failure of this | |||||
| * | New class SubscriptionState, based on upstream Java client | Dana Powers | 2015-12-28 | 1 | -0/+304 | |
| | | ||||||
| * | Add OffsetAndMetadata namedtuple | Dana Powers | 2015-12-28 | 1 | -0/+3 | |
| | | ||||||
| * | Add Message.validate_crc() method | Dana Powers | 2015-12-28 | 1 | -0/+7 | |
| | | ||||||
| * | Add OffsetResetStrategy enum class to kafka.protocol.offset | Dana Powers | 2015-12-28 | 1 | -0/+5 | |
| | | ||||||
| * | Use attributes on exception classes to signal retriable and invalid metadata ↵ | Dana Powers | 2015-12-28 | 2 | -13/+33 | |
| | | | | | | | | errors | |||||
| * | Rename TopicAndPartition -> TopicPartition | Dana Powers | 2015-12-28 | 3 | -7/+7 | |
| | | ||||||
| * | New async KafkaClient, based on java NetworkClient and ConsumerClient | Dana Powers | 2015-12-28 | 2 | -0/+510 | |
| | | | | | | | | | | | | | | - Support async client bootstrap retries after exponential backoff - Attempt to finish_connect if still connecting in KafkaClient.ready(node_id) - Run full async loop while waiting for futures in KafkaClient.poll() - Add more fallbacks to KafkaClient.least_loaded_node; worst case, retry boostrap | |||||
| * | Update BrokerConnection for use with async client | Dana Powers | 2015-12-28 | 2 | -39/+78 | |
| | | | | | | | | | | | | | | | | | | - use descriptive names for ConnectionStates enum values - Change default send_buffer_bytes config to 131072 - add can_send_more() and max_in_flight_requests_per_connection config - add blacked_out() and reconnect_backoff_ms config - last_attempt and last_failure are now public attributes - raise TooManyInFlightRequests in conn.send() if cant send more | |||||
| * | Add ClusterMetadata.add_group_coordinator() | Dana Powers | 2015-12-28 | 1 | -0/+39 | |
| | | ||||||
| * | Rename Cluster -> ClusterMetadata; align with upstream Metadata class | Dana Powers | 2015-12-28 | 2 | -66/+125 | |
| | | ||||||
| * | Switch BrokerConnection to (mostly) non-blocking IO. | Dana Powers | 2015-12-17 | 5 | -119/+339 | |
| | | | | | | | | | | | | - return kafka.Future on send() - recv is now non-blocking call that completes futures when possible - update KafkaClient to block on future completion | |||||
| * | new 0.9 error codes plus descriptions. | Zack Dever | 2015-12-15 | 2 | -10/+172 | |
| | | | | | | | | | | reference: https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ErrorCodes | |||||
| * | Check for no in-flight-requests in BrokerConnection.recv | Dana Powers | 2015-12-10 | 1 | -0/+3 | |
| | | ||||||
| * | Only log topic names (and broker metadata) in KafkaClient load_metadata ↵ | Dana Powers | 2015-12-10 | 1 | -1/+1 | |
| | | | | | | | | debug logging | |||||
| * | Move Request / Response logging from KafkaClient to BrokerConnection | Dana Powers | 2015-12-10 | 2 | -4/+4 | |
| | | | | | | | | and reenable kafka.conn debug logging in tests | |||||
| * | pylint fixes | Dana Powers | 2015-12-10 | 4 | -4/+5 | |
| | | | | | | | | | | | | - temporarily ignore kafka/consumer/group.py - temporarily ignore test/test_protocol.py - disable-msg deprecated; use disable= instead | |||||
| * | Remove KafkaProtocol._decode_message | Dana Powers | 2015-12-10 | 1 | -32/+0 | |
| | | ||||||
| * | Add pylint hints to AbstractType because we cant mark a classmethod as abstract | Dana Powers | 2015-12-10 | 1 | -2/+2 | |
| | | ||||||
| * | Handle python3 in kafka.protocol.pickle | Dana Powers | 2015-12-10 | 1 | -2/+6 | |
| | |