Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.
```