Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codiepp/pl_kafka
Prolog interface to Apache Kafka
https://github.com/codiepp/pl_kafka
distributed-computing hacktoberfest kafka prolog
Last synced: 12 days ago
JSON representation
Prolog interface to Apache Kafka
- Host: GitHub
- URL: https://github.com/codiepp/pl_kafka
- Owner: CodiePP
- License: gpl-3.0
- Created: 2021-04-07T19:45:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-05T21:13:07.000Z (over 2 years ago)
- Last Synced: 2025-01-20T21:16:48.016Z (12 days ago)
- Topics: distributed-computing, hacktoberfest, kafka, prolog
- Language: C
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Interfacing to Kafka from Prolog
[![building the package for SWI Prolog](https://github.com/CodiePP/pl_kafka/actions/workflows/compilation.yml/badge.svg)](https://github.com/CodiePP/pl_kafka/actions/workflows/compilation.yml)
## compilation
```sh
aclocal --force && autoheader --force && autoconf --force
```
then run
```sh
./configure
```
then call `make swi`## examples
### dump default configuration
the following code gets a list of the default top-level options and prints them on the console line by line.
```prolog
use_module(sbcl(kafka)).
kafka_conf_new(Cid), kafka_conf_dump(Cid, L), member(X,L), format("~p~n", [X]), fail.
```