Closed l33tkrew closed 2 years ago
Hi @l33tkrew, you can try to increase the minPackSendDelayMS
parameter if you send a lot of data to ThingsBoard.
Thanks for your interest in ThingsBoard IoT Gateway!
Hi @samson0v First, thank you for your answer.
What is "minPackSendDelayMS"? What does it do? I want to learn its purpose before setting the value.
Also, is there a max value limit for it? Because I want to push the limits. I appreciate it if you recommend a value for it.
@l33tkrew, it the delay of sending every packet to the ThingsBoard. For example:
minPackSendDelayMS: 0
, so it is 100 requests to ThingsBoard every second.minPackSendDelayMS: 1000
, so it is 1 request to ThingsBoard every second (but the size of packet is bigger).
Describe the issue Is there a transaction limit in Thingsboard gateway? Because I am doing a performance and load testing. The gateway mqtt broker get every message (15 mqtt devices that send message in every 1 seconds continously). But the messages cannot be sent my main broker (host/port specified in tb_gateway.yaml). The main broker get messages in every 40+ seconds. (did not calculate the exact duration. I check the messages through MQTT Explorer).
There may be 2 problems; 1-) TB Gateway cannot convert and sent the all messages to main broker 2-) There is a limit in conversion and sending the messages
I think it is because of the limit you put. If it is, how can i increase that limit?
Configuration (Attach your configuration file) tb_gateway Conf
Connector name (If you need help with some connector/converter): MQTT Conf
Versions (please complete the following information):