summaryrefslogtreecommitdiff
path: root/kafka/structs.py
Commit message (Collapse)AuthorAgeFilesLines
* Add list_consumer_group_offsets()Jeff Widman2018-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | Support fetching the offsets of a consumer group. Note: As far as I can tell (the Java code is a little inscrutable), the Java AdminClient doesn't allow specifying the `coordinator_id` or the `partitions`. But I decided to include them because they provide a lot of additional flexibility: 1. allowing users to specify the partitions allows this method to be used even for older brokers that don't support the OffsetFetchRequest_v2 2. allowing users to specify the coordinator ID gives them a way to bypass a network round trip. This method will frequently be used for monitoring, and if you've got 1,000 consumer groups that are being monitored once a minute, that's ~1.5M requests a day that are unnecessarily duplicated as the coordinator doesn't change unless there's an error.
* Don't use `kafka.common` internally1.3.5Jeff Widman2018-06-051-4/+0
| | | | This finishes the split from `kafka.common` to `kafka.errors`/`kafka.structs`.
* Added basic support for offsets_for_times API. Still needs to group by nodes ↵Taras Voinarovskiy2017-08-071-0/+3
| | | | and send in parallel.
* Add send_list_offset_request for searching offset by timestamp (#1001)charsyam2017-03-021-0/+6
|
* Always absolute_importabsolute_importDana Powers2016-08-021-0/+2
|
* Add rack to BrokerMetadata - it is always None when using MetadataRequest v0Dana Powers2016-07-161-1/+1
|
* Split kafka.common into kafka.structs and kafka.errorsDana Powers2016-04-051-0/+88