Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #762 from dpkp/metadata_v1 | Dana Powers | 2016-07-16 | 2 | -28/+37 | |
|\ | | | | | Use Metadata Request/Response v1 with 0.10+ brokers | |||||
| * | Add rack to BrokerMetadata - it is always None when using MetadataRequest v0 | Dana Powers | 2016-07-16 | 2 | -28/+37 | |
| | | ||||||
* | | Add initial producer-sender metrics | Dana Powers | 2016-07-16 | 1 | -5/+11 | |
|/ | ||||||
* | Add api_version config to KafkaClient, deprecate str in favor of tuples (#761) | Dana Powers | 2016-07-16 | 5 | -108/+65 | |
| | ||||||
* | Include zk-offset configuration in coordinator unit tests | Dana Powers | 2016-07-16 | 1 | -2/+6 | |
| | ||||||
* | Fix KafkaConsumer autocommit for 0.8 brokers (#756 / #706) | Dana Powers | 2016-07-16 | 1 | -3/+2 | |
| | | | | * Dont wait for group join to enable AutoCommitTask if broker version < 0.9 * For zookeeper offset storage, set a "coordinator" with least_loaded_node | |||||
* | Test MessageSetBuffer close -- cover double close compression bug | Dana Powers | 2016-07-14 | 1 | -0/+70 | |
| | ||||||
* | Avoid busy poll during metadata refresh failure with retry_backoff_ms (#733) | Dana Powers | 2016-06-20 | 1 | -2/+100 | |
| | ||||||
* | Use weakref when registering a producer.close atexit to fix normal gc (#728) | Dana Powers | 2016-06-18 | 1 | -0/+14 | |
| | | | | * Use weakref when registering a producer.close atexit to fix normal gc * Test that del(producer) terminates async thread | |||||
* | Rearrange connection tests to separate legacy KafkaConnection | Dana Powers | 2016-06-04 | 3 | -78/+74 | |
| | ||||||
* | Fix regression in MessageSet decoding wrt PartialMessages (#716) | Dana Powers | 2016-06-01 | 1 | -1/+101 | |
| | ||||||
* | Fix socket leaks in KafkaClient (#696) | Dana Powers | 2016-05-22 | 1 | -3/+6 | |
| | | | | | * Cleanup wakeup socketpair on close to avoid leak in KafkaClient * Cleanup unneeded bootstrap connection to avoid leak in KafkaClient * Dont warn on socket disconnections caused by KafkaClient.close() | |||||
* | Use standard LZ4 framing for v1 messages / kafka 0.10 (#695) | Dana Powers | 2016-05-22 | 1 | -0/+23 | |
| | | | | | | * LZ4 framing fixed in 0.10 / message v1 -- retain broken lz4 code for compatibility * lz4f does not support easy incremental decompression - raise RuntimeError * Update lz4 codec tests | |||||
* | Use Fetch/Produce API v2 for brokers >= 0.10 (uses message format v1) (#694) | Dana Powers | 2016-05-22 | 2 | -1/+61 | |
| | ||||||
* | Add some simple message protocol testsmessage_format_v1 | Dana Powers | 2016-05-22 | 1 | -0/+146 | |
| | ||||||
* | Rename legacy protocol tests | Dana Powers | 2016-05-22 | 1 | -0/+0 | |
| | ||||||
* | Improve consumer group test loop | Dana Powers | 2016-05-22 | 1 | -13/+13 | |
| | ||||||
* | * [SimpleConsumer] Fix legacy SimpleConsumer when using compressed messages* ↵ | Paul Cavallaro | 2016-05-10 | 1 | -1/+18 | |
| | | | | | [Legacy Protocol] Update legacy protocol to handle compressed messages * [SimpleConsumer] Fix legacy SimpleConsumer when using compressed messages | |||||
* | Add disconnected socket tests for conn.recv() | Dana Powers | 2016-04-25 | 1 | -1/+46 | |
| | ||||||
* | Rename mocked socket as _socket in test_conn | Dana Powers | 2016-04-25 | 1 | -18/+16 | |
| | ||||||
* | Merge pull request #670 from zackdever/predictable-future | Dana Powers | 2016-04-25 | 2 | -1/+4 | |
|\ | | | | | Consistent error handling in future call/errbacks + better test failures | |||||
| * | enable errors on callbacks in testing. fix broken test. | Zack Dever | 2016-04-25 | 2 | -1/+4 | |
| | | ||||||
* | | Allow setting host interface in KafkaFixture.instance | Dana Powers | 2016-04-25 | 1 | -2/+4 | |
|/ | ||||||
* | More thorough IPv6 support that uses getaddrinfo to resolve names | James Brown | 2016-04-24 | 4 | -19/+38 | |
| | | | | Fixes #641 | |||||
* | instrument metrics for fetch requests | Zack Dever | 2016-04-13 | 1 | -1/+2 | |
| | ||||||
* | Beginnings of metrics instrumentation in kafka consumer. | Zack Dever | 2016-04-13 | 1 | -6/+13 | |
| | | | | | | This adds the parent metrics instance to kafka consumer, which will eventually be used to instrument everything under consumer. To start I ported the java consumer coordinator metrics. | |||||
* | Basic dictionary reporter in place of the java JMX reporter. | Zack Dever | 2016-04-13 | 1 | -3/+36 | |
| | ||||||
* | Kafka metrics java port. No reporters or instrumentation. | Zack Dever | 2016-04-13 | 1 | -0/+466 | |
| | | | | | There is no straight translation for the JMX reporter into python, so I'll do something else in a separate commit. | |||||
* | Attempt to add ssl support to kafka fixturesssl_support | Dana Powers | 2016-04-09 | 1 | -4/+10 | |
| | ||||||
* | Update conn fixture to check for HANDSHAKE state | Dana Powers | 2016-04-09 | 1 | -1/+2 | |
| | ||||||
* | Use selectors module in KafkaClientselectors | Dana Powers | 2016-04-09 | 1 | -1/+14 | |
| | ||||||
* | Add state_change_callback to bootstrap connectionconn_state_callback | Dana Powers | 2016-04-08 | 1 | -2/+8 | |
| | ||||||
* | Move state logic from KafkaClient._maybe_connect to _conn_state_change as ↵ | Dana Powers | 2016-04-08 | 1 | -10/+24 | |
| | | | | callback | |||||
* | Split test_ready to test_is_ready | Dana Powers | 2016-04-08 | 1 | -34/+21 | |
| | ||||||
* | Speedup some failover tests w/ shorter SimpleClient timeout | Dana Powers | 2016-04-08 | 1 | -1/+1 | |
| | ||||||
* | Reduce batch time in producer integration test (speedup test) | Dana Powers | 2016-04-08 | 1 | -2/+5 | |
| | ||||||
* | Default sleep=True in client.poll | Dana Powers | 2016-04-08 | 1 | -4/+4 | |
| | ||||||
* | Add BrokerConnection.disconnected() method; update tests | Dana Powers | 2016-04-08 | 2 | -8/+12 | |
| | ||||||
* | Cleanup AF_INET import in conn fixturefrench_connection | Dana Powers | 2016-04-07 | 1 | -1/+1 | |
| | ||||||
* | Consolidate conn fixture definitions | Dana Powers | 2016-04-07 | 4 | -42/+19 | |
| | ||||||
* | Catch more producer exceptions in failover tests | Dana Powers | 2016-04-06 | 1 | -3/+6 | |
| | ||||||
* | Use version-indexed lists for request/response protocol structsprotocol_versions | Dana Powers | 2016-04-05 | 6 | -63/+64 | |
| | ||||||
* | KAFKA-3318: clean up consumer logging and error messages | Dana Powers | 2016-04-05 | 1 | -3/+3 | |
| | ||||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 16 | -58/+51 | |
| | ||||||
* | Add BrokerConnection.send tests | Dana Powers | 2016-04-05 | 1 | -9/+102 | |
| | ||||||
* | Merge pull request #589 from dpkp/node_not_ready | Dana Powers | 2016-04-04 | 3 | -283/+361 | |
|\ | | | | | Refactor NodeNotReadyError handling | |||||
| * | Improve KafkaClient connect and ready handlingnode_not_ready | Dana Powers | 2016-04-04 | 1 | -44/+40 | |
| | | | | | | | | | | | | - merge _initiate and _finish into _maybe_connect - add connected(node_id) method - only short-circuit send() when not connected | |||||
| * | Add basic unit test coverage for BrokerConnection | Dana Powers | 2016-04-04 | 1 | -0/+82 | |
| | | ||||||
| * | Move old KafkaConnection tests to test_conn_legacy | Dana Powers | 2016-04-04 | 1 | -0/+0 | |
| | | ||||||
* | | Test _maybe_auto_commit_offsets_sync when group_id is None | Dana Powers | 2016-04-03 | 1 | -19/+35 | |
|/ |