Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ | |||||
* | Kafka IPv6 Support. | Tim Evens | 2016-03-30 | 3 | -18/+37 |
| | | | | | | IPv6 address without port can be defined as the IPv6 address. If the address is a hostname or if a port is included, then the address MUST be wrapped in brackets [] (E.g. [somehost]:1234 or [fd00:1001::2]:1234). | ||||
* | Merge pull request #603 from dpkp/windows | Dana Powers | 2016-03-24 | 1 | -0/+2 |
|\ | | | | | Updates to support Windows | ||||
| * | Skip test that fails on windowswindows | Dana Powers | 2016-03-17 | 1 | -0/+2 |
| | | |||||
* | | catch all errors thrown by _get_leader_for_partition in SimpleClient | Zack Dever | 2016-03-17 | 1 | -3/+3 |
| | | |||||
* | | KAFKA-2698: add paused API | Zack Dever | 2016-03-16 | 1 | -5/+25 |
|/ | |||||
* | join consumer threads in test_consumer_group cleanup | Dana Powers | 2016-03-14 | 1 | -2/+4 |
| | |||||
* | Re-render fixture config in restart loop if necessary | Dana Powers | 2016-03-14 | 1 | -0/+10 |
| | |||||
* | More fixture logging improvements | Dana Powers | 2016-03-14 | 4 | -14/+19 |
| | | | | | | | | - Add test logging NullHandler - Remove default logging level filtering in testutil - Log render_template info - More fixture logging cleanups - wait_for() should not handle child shutdown | ||||
* | Fixup test fixtures for pylint | Dana Powers | 2016-03-13 | 2 | -1/+11 |
| | |||||
* | Merge pull request #585 from dpkp/truncate_buffer | Dana Powers | 2016-03-13 | 1 | -5/+22 |
|\ | | | | | Truncate deallocated message buffers | ||||
| * | Reduce end-to-end test to 100 messages; raise produce future exceptions ↵ | Dana Powers | 2016-03-13 | 1 | -5/+9 |
| | | | | | | | | immediately |