Open Somnium99 opened 1 year ago
I think Connection refused: localhost/127.0.0.1:6650
is the root cause.
Have you started the pulsar standalone first?
Yes, so actually I've tried 3 ways of installing and running pulsar, and only one worked.
I. brew - problem exists
> brew install apache-pulsar
> brew services start apache-pulsar
> pulsar standalone
II. download local binary - problem exists
> download and unzip the binary files, and then go to the directory in terminal
> ./bin/pulsar standalone
III. downloading and running via Docker - Works!
docker run -it -p 6650:6650 -p 8080:8080 --mount source=pulsardata,target=/pulsar/data --mount source=pulsarconf,target=/pulsar/conf apachepulsar/pulsar:2.10.2 bin/pulsar standalone
I guess you are using 2.10.x version of Pulsar on m1 MacBook. In 2.10.x, there will be an issue using the second way, and the newer version will resolve that issue.
No it's actually a quite an old macbook - Macbook Pro 2019 , 2.6 GHz 6-Core Intel Core i7
OK, maybe you can search your problem in issues. Or just use docker :)
The issue had no activity for 30 days, mark with Stale label.
same problem here. @Somnium99 , have you found a solution for this?
The issue had no activity for 30 days, mark with Stale label.
Search before asking
Version
OS : 13.0.1 Ventura MacOS Pulsar : 2.10.2 JDK : Eclipse Temurin-17 IntelliJ : 2022.2.1
Minimal reproduce step
build.gradle.kts :
also tried :
Main.kt :
Pulsar.kt
What did you expect to see?
Being able to produce message (send messages through a producer)
What did you see instead?
When trying to use a producer to send messages it says :
Also, I don't know if it's related, but I also get the following stacktrace when building a client :
Anything else?
No response
Are you willing to submit a PR?