Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle PartialMessage / ConsumerFetchSizeTooSmall in SimpleConsumer | Dana Powers | 2015-12-09 | 1 | -21/+24 |
| | |||||
* | Update references to kafka.common Request/Response (now Payload) | Dana Powers | 2015-12-09 | 4 | -31/+27 |
| | |||||
* | Refactor KafkaClient to use BrokerConnections and new Request/Response structs | Dana Powers | 2015-12-09 | 1 | -148/+131 |
| | |||||
* | Exception handling cleanup in BrokerConnection (also catch struct.errors in ↵ | Dana Powers | 2015-12-09 | 1 | -4/+4 |
| | | | | recv) | ||||
* | Add client_id and correlation_id to BrokerConnection constructor kwargs | Dana Powers | 2015-12-09 | 1 | -3/+7 |
| | |||||
* | Change KafkaProtocol to encode/decode Structs, not bytes | Dana Powers | 2015-12-09 | 2 | -252/+112 |
| | | | | | - add Payload to kafka.common Request/Responses namedtuples - OffsetFetch and OffsetCommit still need to be converted | ||||
* | Support pickling of Structs -- _encode_self instance method needs some magic | Dana Powers | 2015-12-09 | 2 | -0/+26 |
| | |||||
* | Return PartialMessage object in MessageSet.decode if message is truncated by ↵ | Dana Powers | 2015-12-09 | 1 | -3/+10 |
| | | | | max_bytes | ||||
* | Fallback to simple repr() in Schema.repr() | Dana Powers | 2015-12-09 | 1 | -7/+10 |
| | |||||
* | Fix BytesIO import in kafka.protocol.message | Dana Powers | 2015-12-09 | 1 | -1/+3 |
| | |||||
* | Fix _mp_consume queue variable name conflict | Dana Powers | 2015-12-09 | 1 | -2/+2 |
| | |||||
* | Handle special __init__ signature in Message decode() | Dana Powers | 2015-12-09 | 1 | -0/+8 |
| | |||||
* | Handle decoding partial messages in MessageSet - caused by FetchRequest ↵ | Dana Powers | 2015-12-09 | 1 | -6/+24 |
| | | | | max_bytes | ||||
* | Merge branch 'master' into 0.9 | Zack Dever | 2015-12-07 | 4 | -17/+34 |
|\ | |||||
| * | Release 0.9.5v0.9.5 | Dana Powers | 2015-12-07 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #426 from ucarion/ucarion-kafkaconsumer-close | Dana Powers | 2015-12-06 | 1 | -0/+4 |
| |\ | | | | | | | Add KafkaConsumer#close | ||||
| | * | Add KafkaConsumer#close | Ulysse Carion | 2015-07-07 | 1 | -0/+4 |
| | | | |||||
| * | | Log deprecation warning for timeout argument in Producer.stop() | Dana Powers | 2015-12-06 | 1 | -3/+7 |
| | | | |||||
| * | | Producer.stop() now blocks until async thread completes (drop confusing ↵async_producer_stop | Dana Powers | 2015-12-05 | 1 | -7/+12 |
| | | | | | | | | | | | | timeout arg) | ||||
| * | | Revert broken send_produce_request try/except from PR 467 (resps=None) | Dana Powers | 2015-12-05 | 1 | -5/+1 |
| | | | |||||
| * | | Fix requestId handling in send_broker_aware_request | Dana Powers | 2015-12-04 | 1 | -2/+2 |
| | | | |||||
| * | | client.reinit() can raise an exception; catch in async producer | Dana Powers | 2015-12-04 | 1 | -2/+10 |
| | | | |||||
* | | | few small cleanups | Zack Dever | 2015-12-04 | 3 | -8/+2 |
| | | | |||||
* | | | administration api schemas | Zack Dever | 2015-12-04 | 1 | -0/+44 |
| | | | |||||
* | | | group membership api schemas | Zack Dever | 2015-12-04 | 1 | -0/+108 |
| | | | |||||
* | | | Add size and correlation id decoding to try/except block in BrokerConnection | Dana Powers | 2015-12-04 | 1 | -4/+5 |
| | | | |||||
* | | | Add comment re bytes offset tracking in MessageSet decode() | Dana Powers | 2015-12-04 | 1 | -1/+1 |
| | | | |||||
* | | | Unfinished kafka.consumer.group commit | Dana Powers | 2015-12-04 | 1 | -0/+883 |
| | | | |||||
* | | | Add simple Cluster class to manage broker metadata | Dana Powers | 2015-12-04 | 1 | -0/+91 |
| | | | |||||
* | | | BrokerConnection: | Dana Powers | 2015-12-04 | 1 | -11/+65 |
| | | | | | | | | | | | | | | | | | | separate send / recv in BrokerConnection improve connection and error handling use different read and write fds for py3 | ||||
* | | | Recursive repr, display all field names and values for Structs | Dana Powers | 2015-12-04 | 4 | -5/+27 |
| | | | |||||
* | | | Use simply counting instead of buffer.tell() -- socket.makefile does not ↵ | Dana Powers | 2015-12-04 | 1 | -2/+4 |
| | | | | | | | | | | | | support tell() | ||||
* | | | Add simple BrokerConnection class; add request.RESPONSE_TYPE class vars | Dana Powers | 2015-12-04 | 6 | -58/+101 |
| | | | |||||
* | | | Rework protocol type definition: AbstractType, Schema, Struct | Dana Powers | 2015-12-04 | 10 | -371/+461 |
| | | | |||||
* | | | Fix __init__ legacy relative module import | Dana Powers | 2015-12-04 | 1 | -1/+1 |
| | | | |||||
* | | | Switch crc32 back to signed integer -- this is consistent with protocol ↵ | Dana Powers | 2015-12-04 | 2 | -3/+9 |
| | | | | | | | | | | | | encoding spec | ||||
* | | | Fix tests broken by legacy module move | Dana Powers | 2015-12-04 | 1 | -0/+2 |
| | | | |||||
* | | | Move ProduceRequest to kafka.protocol.produce | Dana Powers | 2015-12-04 | 2 | -54/+59 |
| | | | |||||
* | | | Basic 0.8 Request protocol classes, with encoding only | Dana Powers | 2015-12-04 | 1 | -0/+355 |
| | | | |||||
* | | | Add base api type classes w/ encoders in kafka.protocol.types | Dana Powers | 2015-12-04 | 1 | -0/+55 |
| | | | |||||
* | | | Rename kafka.protocol -> kafka.protocol.legacy | Dana Powers | 2015-12-04 | 2 | -0/+6 |
|/ / | |||||
* | | new pylint disables for pylint 1.5.1 | Zack Dever | 2015-12-02 | 2 | -2/+2 |
| | | | | | | | | | | tested locally with `pylint --rcfile=pylint.rc -E kafka test`. should pass travis builds. | ||||
* | | Merge pull request #420 from toddpalino/master | Dana Powers | 2015-12-02 | 3 | -6/+197 |
|\ \ | | | | | | | Initial support for consumer coordinator | ||||
| * | | Support consumer metadata requests | tpalino | 2015-07-01 | 3 | -6/+197 |
| |/ | | | | | | | | | | | Support added for ConsumerMetadataRequest and ConsumerMetadataResponse Added consumer-aware request routine for supporting the consumer coordinator Added separate client method for fetching Kafka-committed offsets from the coordinator | ||||
* | | Fix python3 / python2 comments re queue/Queue | Dana Powers | 2015-12-02 | 2 | -10/+10 |
| | | |||||
* | | Add Murmur2Partitioner to kafka __all__ imports - fix issue 471 | Dana Powers | 2015-12-02 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #473 from ecanzonieri/use_unblocking_io_for_aware_requests | Dana Powers | 2015-12-02 | 2 | -18/+35 |
|\ \ | | | | | | | Use unblocking io for broker aware requests | ||||
| * | | Add tests. Bug fix. Rename socket_conn dict. | Enrico Canzonieri | 2015-11-10 | 1 | -7/+7 |
| | | | |||||
| * | | Unblocking broker aware request | Enrico Canzonieri | 2015-11-10 | 2 | -18/+35 |
| | | | |||||
* | | | Merge pull request #467 from bschopman/master | Dana Powers | 2015-12-02 | 2 | -2/+9 |
|\ \ \ | | | | | | | | | Prevents crashing communication thread of async producer |