Comments (2)
The issue appears to be related to Emacs and Slime. When I run the consumer test in a standalone SBCL image, it works fine. Inside of Slime, something gets confused (possibly me).
Thanks for checking.
from cl-rdkafka.
🤔 The code you posted worked fine for me:
(test-produce "test-topic-1" "key-1" "value-1")
(test-consume "test-topic-1")
;; the call to test-consume printed:
;; Subscribed: "127.0.0.1:9092", #("test-topic-1").
;; Message received or poll expired.
;; Received message: ("key-1") "value-1"
;; Unsubscribing.
If you're still not having any luck, can you share your cl-rdkafka and librdkafka versions? Here's what I'm running:
(cl-rdkafka/ll:rd-kafka-version-str) ; => "0.9.3"
(asdf:component-version (asdf:find-system 'cl-rdkafka)) ; => "0.2.2"
from cl-rdkafka.
Related Issues (11)
- 'librdkafka/rdkafka.h' file not found HOT 3
- Something in the Kafka chain is not raising conditions HOT 2
- Potential deadlock HOT 1
- Provide a restart when producer's send reaches max queue
- Add Windows support
- Set client software configs
- Impossible to clone on Windows HOT 2
- don't put destructive instructions in your readme HOT 1
- kf:seek signals rdkafka-error: Local: Erroneous state HOT 4
- Problem to connect to cluster HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cl-rdkafka.