Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add private map of api key -> min/max versions to BrokerConnectionhandle_api_versions | Dana Powers | 2017-08-05 | 2 | -11/+58 |
| | |||||
* | Use for join-time-max and sync-time-max metrics Max() measure function (#1146) | Alexey Pervushin | 2017-07-20 | 1 | -2/+2 |
| | |||||
* | added gssapi support (Kerberos) for SASL (#1152) | Harald | 2017-07-20 | 1 | -2/+75 |
| | |||||
* | Add note, that `max_in_flight_requests_per_connection>1` may change order or ↵ | Taras Voinarovskyi | 2017-07-17 | 1 | -1/+4 |
| | | | | messages (#1149) | ||||
* | producer: fix produce timeout message (#1151) | Mika Eloranta | 2017-07-17 | 1 | -1/+1 |
| | |||||
* | Protocol updates for 0.11.0.0 (#1127) | Dana Powers | 2017-07-09 | 7 | -41/+508 |
| | |||||
* | Use logging's built-in string interpolation | Jeff Widman | 2017-07-07 | 2 | -6/+5 |
| | |||||
* | change_subscription called only when necessary (#1132) | Petr Šebek | 2017-07-07 | 1 | -2/+3 |
| | | | | | | When we are using subscription by pattern change subscription is called every metadata update even when nothing changes. This PR ensures that change subscription is called only when set of topics changes. | ||||
* | producer: Set exit timeout to 0 for atexit handler to match __del__ (#1126) | Hannu Valtonen | 2017-06-19 | 1 | -1/+1 |
| | | | | | | | | Hit a problem with pytest hitting the atexit handler and waiting for close() timeout forever at teardown. This commit makes atexit close() equivalent to __del__ behavior, namely using timeout of 0 for close() completion. If you need a longer timeout you should be setting it explicitly. | ||||
* | KIP-144: Exponential backoff for broker reconnections (#1124) | Dana Powers | 2017-06-19 | 4 | -22/+69 |
| | |||||
* | Backoff on unavailable group coordinator retry (#1125) | Dana Powers | 2017-06-19 | 1 | -0/+2 |
| | |||||
* | Fixup for #1085 -- only check for changed metadata on disconnected nodes | Dana Powers | 2017-06-18 | 1 | -17/+23 |
| | |||||
* | Deal with brokers that disappear, reappear with different IP address (#1085) | Mike Fischer | 2017-06-18 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | | | | | | When KafkaClient connects to a broker in _maybe_connect, it inserts into self._conns a BrokerConnection configured with the current host/port for that node. The BrokerConnection remains there forever, though, so if the broker's IP or host ever changes, KafkaClient has no way to deal with this. The fix is to compare the latest metadata with the current node's connection, and if the host/IP has changed, decommission the old connection and allow a new one to be created. There's also a common race condition on broker startup where the initial metadata request sometimes returns an empty list of brokers, but subsequent requests behave normally. So, we must deal with broker being None here. This change is conservative in that it doesn't remove the connection from self._conns unless the new broker metadata contains an entry for that same node with a new IP/port. | ||||
* | Describe consumer thread-safety | Linus Wallgren | 2017-06-16 | 1 | -0/+2 |
| | |||||
* | Update exception docstring | Andrew Kowalik | 2017-06-16 | 1 | -1/+1 |
| | |||||
* | raise KafkaTimeoutException when flush times out | Andrew Kowalik | 2017-06-16 | 2 | -2/+9 |
| | |||||
* | Improve error message when expiring batches in KafkaProducer (#1077) | Dana Powers | 2017-05-03 | 1 | -7/+11 |
| | |||||
* | Warn dont raise on DNS lookup failures (#1091) | Dana Powers | 2017-05-03 | 1 | -5/+7 |
| | |||||
* | Follow-up to #1068: remove not-implemented comments | Dana Powers | 2017-04-10 | 2 | -2/+2 |
| | |||||
* | Timeout idle connections via connections_max_idle_ms (#1068) | Dana Powers | 2017-04-10 | 3 | -4/+99 |
| | |||||
* | Avoid multiple connection attempts when refreshing metadata (#1067) | Dana Powers | 2017-04-05 | 1 | -44/+48 |
| | |||||
* | Catch socket.errors when sending / recving bytes on wake socketpair (#1069) | Dana Powers | 2017-04-05 | 1 | -2/+4 |
| | |||||
* | Fix poll() hyperlink in KafkaClient | Jeff Widman | 2017-03-29 | 1 | -1/+1 |
| | | | Previously Sphinx was auto-linking to `poll()` in `KafkaConsumer`, so made the link explicit. | ||||
* | Fix typo (#1054) | Jeff Widman | 2017-03-27 | 1 | -1/+1 |
| | |||||
* | Bump version for development | Dana Powers | 2017-03-14 | 1 | -1/+1 |
| | |||||
* | Release 1.3.31.3.3 | Dana Powers | 2017-03-14 | 1 | -1/+1 |
| | |||||
* | Derive all api classes from Request / Response base classes (#1030) | Dana Powers | 2017-03-14 | 11 | -84/+140 |
| | |||||
* | LZ4 support in kafka 0.8/0.9 does not accept a ContentSize header | Dana Powers | 2017-03-14 | 1 | -6/+14 |
| | |||||
* | Prefer python-lz4 over lz4f if available | Dana Powers | 2017-03-14 | 1 | -7/+32 |
| | |||||
* | Free lz4 decompression context to avoid leak | Dana Powers | 2017-03-14 | 1 | -0/+1 |
| | |||||
* | Avoid re-encoding for message crc check (#1027) | Dana Powers | 2017-03-13 | 1 | -6/+12 |
| | |||||
* | Additional docstrings for autocommit close option | Dana Powers | 2017-03-13 | 3 | -3/+17 |
| | |||||
* | Optionally skip auto-commit during consumer.close (#1031) | Dana Powers | 2017-03-13 | 2 | -4/+5 |
| | |||||
* | Return copy of consumer subscription set (#1029) | Dana Powers | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | Fix kwarg handing in kafka.protocol.struct.Struct (#1025) | Dana Powers | 2017-03-09 | 1 | -1/+6 |
| | |||||
* | Short-circuit group coordinator requests when NodeNotReady (#995) | Dana Powers | 2017-03-09 | 1 | -0/+23 |
| | |||||
* | Avoid unknown coordinator after client poll (#1023) | Dana Powers | 2017-03-09 | 1 | -7/+6 |
| | |||||
* | Add optional kwarg to ready and is_ready to disable metadata-priority logic ↵ | Dana Powers | 2017-03-08 | 1 | -7/+16 |
| | | | | (#1017) | ||||
* | A few Sphinx documentation updates (#1019) | Jeff Widman | 2017-03-08 | 1 | -3/+3 |
| | |||||
* | Fixed couple of "leaks" when gc is disabled (#979) | Max Baryshnikov | 2017-03-07 | 4 | -16/+27 |
| | |||||
* | Fixup :meth: sphinx documentation for use in KafkaConsumer.rst etc | Dana Powers | 2017-03-07 | 2 | -35/+49 |
| | |||||
* | Add ClusterMetadata documentation | Dana Powers | 2017-03-07 | 2 | -0/+18 |
| | |||||
* | For 0.8.2, only attempt connection to coordinator if least_loaded_node succeeds | Dana Powers | 2017-03-07 | 1 | -1/+2 |
| | |||||
* | Fixup comment reference to _maybe_connect | Dana Powers | 2017-03-07 | 1 | -1/+1 |
| | |||||
* | Disable default consumer group (#1016) | Dana Powers | 2017-03-06 | 1 | -2/+2 |
| | |||||
* | change default timeout of KafkaProducer.close() to threading.TIMEOUT_MAX | gaosheng | 2017-03-06 | 1 | -2/+6 |
| | |||||
* | Add client info logging re bootstrap; log connection attempts to balance ↵ | Dana Powers | 2017-03-06 | 2 | -1/+4 |
| | | | | with close | ||||
* | Small cleanup for #962 | Dana Powers | 2017-03-06 | 1 | -4/+9 |
| | |||||
* | Added `max_bytes` option and FetchRequest_v3 usage. (#962) | Taras Voinarovskyi | 2017-03-06 | 4 | -8/+71 |
| | | | | * Added `max_bytes` option and FetchRequest_v3 usage. * Add checks for versions above 0.10 based on ApiVersionResponse | ||||
* | Minor additional logging for consumer coordinator | Dana Powers | 2017-03-06 | 1 | -0/+2 |
| |