Skip to content

Swift module imported from C library api `librdkafka`

License

Notifications You must be signed in to change notification settings

PerfectlySoft/Perfect-libKafka

Repository files navigation

Perfect-libKafka 简体中文

Get Involed with Perfect!

Star Perfect On Github Stack Overflow Follow Perfect on Twitter Join the Perfect Slack

Swift 3.0 Platforms OS X | Linux License Apache PerfectlySoft Twitter Slack Status

This project imports the librdkafka C library into Swift.

This package builds with Swift Package Manager and is part of the Perfect project and shall not need to be manually cloned.

Ensure you have installed and activated the latest Swift 3.0 tool chain.

Release Notes for macOS

Before importing this library, please install librdkafka first:

$ brew install librdkafka

Please also note that a proper pkg-config path setting is required:

$ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

Release Notes for Linux

Before importing this library, please install librdkafka-dev first:

$ sudo apt-get install librdkafka-dev

Further Information

For more information on the Perfect project, please visit perfect.org.