Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Latence-Technologies/Kafka-Ada
Apache Kafka Ada client library, based off of librdkafka
https://github.com/Latence-Technologies/Kafka-Ada
Last synced: 3 months ago
JSON representation
Apache Kafka Ada client library, based off of librdkafka
- Host: GitHub
- URL: https://github.com/Latence-Technologies/Kafka-Ada
- Owner: Latence-Technologies
- License: mit
- Created: 2022-03-30T18:12:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-02T15:00:52.000Z (over 2 years ago)
- Last Synced: 2024-07-31T20:43:46.657Z (6 months ago)
- Language: Ada
- Size: 58.6 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ada - kafka-ada - Binding for the C librdkafka library, allows sending and receiving from a Kafka bus. (Libraries / Networking and Communication Middleware)
README
# Kafka Ada
This project offers Ada bindings for the C librdkafka library. You can use it to send and receive from a Kafka bus from Ada. Currently work in progress, it does not offer all functionalities of librdkafka yet. If what you are looking for is simply producing data onto a kafka bus or consuming data, this library likely already supports the features you need.
Supported functionalities:
- Basic error handling
- Kafka handle creation and destruction
- Topic handling
- Message handling
- Basic producer functionalities
- Basic consumer functionalities
- Kafka configuration
- Topic configurationNot yet supported:
- Retrieving debug contexts
- Advanced error handling (Description, fatal errors, retriable errors etc.)
- Partition handling
- Message headers
- Message status
- Event sourcing and event handling
- Callbacks
- Broker handling
- Broker metadata
- Queue consumer
- Batch consumer
- Atomic assignment of partitions
- Kafka logging
- Topic creation and deletion and other admin operations
- Various other advanced functionalities offered by librdkafkaIf you need some of those not supported features, feel free to open a pull request.
## Building and installing from source
To install this library on your system, run the following command:
```bash
gprbuild -p kafkaada.gpr
sudo gprinstall -p -f kafkaada.gpr
```Note: You need to have librdkafka already installed.
## Usage
See the `examples/` folder for code examples showcasing a basic consumer and a
basic producer using Kafka Ada.You can use the `-t` (or `--topic`) argument to change the name of the Kafka Topic when using either example.
## Latence Technologies
This Ada binding is offered by LatenceTech, a Montreal based startup specialized in low-latency optimization. Our website is https://latencetech.com/