Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have problem in installing #111

Closed
L0kayata opened this issue Sep 1, 2021 · 2 comments
Closed

Have problem in installing #111

L0kayata opened this issue Sep 1, 2021 · 2 comments

Comments

@L0kayata
Copy link

L0kayata commented Sep 1, 2021

I supposed to run pulsar in docker in standalone mode, so I modified the standalone.conf file with adding the following properties:

messagingProtocols=mqtt
protocolHandlerDirectory=/root/mop/mqtt-impl/target
mqttListeners=mqtt://127.0.0.1:1883
advertisedAddress=127.0.0.1

However, when running the pulsar, it showed the following message:

02:37:07.832 [main] INFO  org.apache.pulsar.broker.protocol.ProtocolHandlerUtils - Searching for protocol handlers in /root/mop/mqtt-impl/target
02:37:07.832 [main] WARN  org.apache.pulsar.broker.protocol.ProtocolHandlerUtils - Protocol handler directory not found
02:37:07.834 [main] ERROR org.apache.pulsar.broker.PulsarService - Failed to start Pulsar service: No protocol handler is found for protocol `mqtt`. Available protocols are : {}

I had built the MoP project succesfully and the NAR file had occurred in the /root/mop/mqtt-impl/target directory correctly. I want to know if my process of installing had made some mistakes. Thank you very much.

@Technoboy-
Copy link
Contributor

You should keep docker can visit the path /root/mop/mqtt-impl/target.

@L0kayata
Copy link
Author

L0kayata commented Sep 2, 2021

Thank you. I changed the path to docker volume and solved the problem.

@L0kayata L0kayata closed this as completed Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants