A complete implementation of the Kafka API
Project description
esque-wire
A complete and user oriented implementation of the kafka wire protocol.
Features
Supports all Api endpoints
Since the code for the API endpoints is automatically generated, this library supports all of them. If a new one comes along, its implementation is just one code execution away. Also the field documentation is extracted from Kafka source code if there is one.
Type annotations
Everything is annotated! Enjoy autocomplete all the way to the last field.
# run with mypy from esque_wire import BrokerConnection, ApiVersionsRequestData request_data = ApiVersionsRequestData() connection = BrokerConnection("localhost:9092", "test_client") response = connection.send(request_data) reveal_type(response) # Revealed type is '... AnsweredApiCall[... ApiVersionsRequestData, ... ApiVersionsResponseData]' reveal_type(response.response_data) # Revealed type is '... ApiVersionsResponseData*'
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size esque_wire-0.1.0-py3-none-any.whl (161.0 kB) | File type Wheel | Python version py3 | Upload date | Hashes View hashes |
Filename, size esque-wire-0.1.0.tar.gz (60.3 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Close
Hashes for esque_wire-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bfee5b468da0edc2468f4274624a988fca97db1f90d460c3d2eb28307795e66 |
|
MD5 | a6cfdd313788e3508000a30b94ec5d51 |
|
BLAKE2-256 | af3069b4c2c9bc05ba3eefba397e95bebf42bd2de1062266f40363620f296d9a |