thingsboard / tbmq

Open-source, scalable, and fault-tolerant MQTT broker able to handle 4M+ concurrent client connections, supporting at least 3M messages per second throughput per single cluster node with low latency delivery. The cluster mode supports more than 100M concurrently connected clients.
https://thingsboard.io/products/mqtt-broker/
Apache License 2.0
594 stars 49 forks source link

feature lack code file #112

Closed huangyg1252497580 closed 7 months ago

huangyg1252497580 commented 7 months ago

Component

Description Hi Dima, When I was learning about the TBMQ project, I found that the branch 1.3.0 code was indeed missing some code files, which were in org.thingsboard.mqtt.broker.gen.queue,so can you help me,Looking forward to your reply,thanks Environment

dmytro-landiak commented 7 months ago

Hi @huangyg1252497580,

it seems you are referencing org.thingsboard.mqtt.broker.gen.queue package and QueueProtos class. image

It is generated out of "queue.proto" file during the build.

Please execute one of the following commands from the root of the project

mvn generate-sources

to generate sources from proto file, or

mvn clean install -DskipTests

to build the whole project.

After you have done this the file will appear in your code structure. If you have any more questions, please let me know.

huangyg1252497580 commented 7 months ago

ok ,thank you! Now I want to package and deploy a TBMQ application through the source code, do you have a manual?

dmytro-landiak commented 7 months ago

I recommend following the next guide to build the project and get the packages and docker images. https://thingsboard.io/docs/mqtt-broker/install/building-from-source/#build-local-docker-images

Then use the installation options guide to deploy where needed. https://thingsboard.io/docs/mqtt-broker/install/installation-options/

huangyg1252497580 commented 7 months ago

ok , thank you!

dmytro-landiak commented 7 months ago

Thanks for reaching out. Closing the ticket as completed.

Do not hesitate to contact me if you have any further questions. In that case, please reopen the ticket or create a new one if related to another topic.