fkafka_ffi 1.0.2 fkafka_ffi: ^1.0.2 copied to clipboard
Use librdkafka via Dart FFI, wraps admin and producer and consumer clients.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fkafka_ffi
With Flutter:
$ flutter pub add fkafka_ffi
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
fkafka_ffi: ^1.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fkafka_ffi/fkafka_ffi.dart';