nickAS21
81c484d745
sparkplug: connection2
2022-12-15 11:41:12 +02:00
nickAS21
1bf02b75f2
sparkplug: connection
2022-12-15 11:40:04 +02:00
nickAS21
3865e36fc8
sparkPlug: start add Handler
2022-12-08 17:05:41 +02:00
zbeacon
6fad315a03
Added changes due to comments
2022-12-06 12:55:45 +02:00
imbeacon
05f92d7222
Updated BasicMqttCredentials processing
2022-11-11 17:28:00 +02:00
imbeacon
dfbf3a9cd8
Test fixes, keep logic for auth for mqtt v3
2022-11-11 15:39:59 +02:00
imbeacon
885c1c3d88
Updated ConAck message building
2022-11-10 18:31:34 +02:00
imbeacon
02d9fef0f1
Added Mqtt v5 reason codes for ack messages and tests
2022-11-10 17:55:31 +02:00
Sergey Matvienko
25bb031846
mqtt handler shows short logs on info level and stacktrace on debug level. DeviceId will also print in the logs
2022-11-01 16:56:17 +02:00
Sergey Matvienko
0027d6de96
Merge remote-tracking branch 'ce/master' into mqtt-transport-log-shorter-on-io-exception
2022-11-01 13:56:43 +02:00
Sergey Matvienko
b30088c636
mqtt transport IOException - log on debug level
2022-08-16 13:19:50 +03:00
AndriiD
98d18f0f85
pr fixes
2022-07-28 10:42:16 +03:00
thingsboard
e09aef8d22
added ability to create custom attrs subscribe topic
2022-07-20 17:43:46 +03:00
Sergey Matvienko
d0237c4536
Make log shorter on IOException. This is not an ordinary exception. Info level. Others will be fired under error log level
2022-07-18 11:33:55 +03:00
thingsboard
bc88babd11
fix pr comments
2022-07-12 12:29:27 +03:00
thingsboard
c7daaa571e
replace StringUtils usages with in-repository implementation
2022-07-12 12:08:52 +03:00
ShvaykaD
d4e6c013d2
added fixes after review
2022-03-14 13:01:46 +02:00
ShvaykaD
8bf833e574
fixed license
2022-03-11 14:20:24 +02:00
ShvaykaD
a26a4c4787
Feature/6233 implementation
2022-03-11 14:13:47 +02:00
Andrii Shvaika
afa3e88339
Suppress adaptor exception stack trace
2022-02-23 18:13:47 +02:00
Andrii Shvaika
40c2fe3fd2
Suppress spaming logs and fix connection statistics in case of rate limits by ip
2022-02-23 17:55:20 +02:00
Andrii Shvaika
92842e0f0e
Improved IP Filter to delete next handlers from pipeline
2022-02-03 17:59:55 +02:00
zbeacon
abe421cf36
Removed redundant method call
2022-01-24 14:50:52 +02:00
zbeacon
6d32e3f712
Moved sending response to onDeviceDeleted method
2022-01-24 13:16:49 +02:00
zbeacon
28530cd999
Merge branch 'master' of https://github.com/thingsboard/thingsboard into fix/mqtt-doesnt-close-session-for-removed-device
2022-01-24 09:55:08 +02:00
zbeacon
b6bd4247da
Fix for PROD-1337
2022-01-21 13:13:08 +02:00
Andrew Shvayka
a3f3578b65
Merge pull request #5796 from desoliture1/gatewayFix
...
[WIP][3.3.3] MQTT Gateway API - fix response data on attributes request
2022-01-20 13:04:48 +02:00
desoliture
7b14fdaf5e
add isMultipleAttributesRequest field in queue.proto in GetAttributeResponseMsg message
2022-01-17 18:59:39 +02:00
Igor Kulikov
da4c742872
Update license year to 2022
2022-01-17 14:07:46 +02:00
Andrew Shvayka
c15b4ceec3
Merge pull request #5843 from smatvienko-tb/device-actor-performance
...
[3.3.3] Device actor session inactivity performance + heap workout
2022-01-17 11:21:56 +02:00
Sergey Matvienko
1507ac69ab
Revert "MqttTransportHandler refactored to not reference on InetSocketAddress instances to free some heap space. IPv4 are stored and logged as int."
...
This reverts commit 0ef9d5753cd271fd7c8729567b5a2765943538d1.
2022-01-14 11:50:36 +02:00
Sergey Matvienko
565b6284d2
Revert "MqttTransportHandler fixed test"
...
This reverts commit ef53df75128a0502c5727d4229acd37cd79c1aaa.
2022-01-14 11:50:31 +02:00
desoliture
35c30b7678
refactor GatewayDeviceSessionCtx and MqttAdaptors
...
refactor GatewayDeviceSessionCtx to determine the value of multipleAttrKeysRequested before calling the JsonMqttAdaptor, add corresponding convertToGatewayPublish method to adaptors interface with multipleAttrKeysRequested parameter, refactor other adaptors to deal with new method
2022-01-13 17:48:59 +02:00
Andrii Shvaika
236e6448be
Fix unit tests logic
2022-01-13 16:59:29 +02:00
Andrii Shvaika
467085a827
IP rate limits for MQTT
2022-01-13 15:32:10 +02:00
Andrew Shvayka
d8097d2b76
MQTT Rate Limits Draft
2022-01-13 08:42:48 +02:00
Sergey Matvienko
b0a79e9fc3
static transport immutable proto SESSION_EVENT_MSG_OPEN, SESSION_EVENT_MSG_CLOSED, SESSION_CLOSE_NOTIFICATION_PROTO, SUBSCRIBE_TO_ATTRIBUTE_UPDATES_ASYNC_MSG, SUBSCRIBE_TO_RPC_ASYNC_MSG
2022-01-11 12:23:48 +02:00
Sergey Matvienko
ef53df7512
MqttTransportHandler fixed test
2022-01-10 18:41:53 +02:00
Sergey Matvienko
0ef9d5753c
MqttTransportHandler refactored to not reference on InetSocketAddress instances to free some heap space. IPv4 are stored and logged as int.
2022-01-10 17:36:57 +02:00
desoliture
2f5648c400
refactoring
2021-12-29 17:24:55 +02:00
desoliture
b53746bda6
MQTT Gateway API attributes request fix
2021-12-29 16:31:15 +02:00
Andrew Shvayka
50f5e64195
Merge pull request #5788 from smatvienko-tb/mqtt-handler-log-reduce-severity
...
[3.3.3] reduce MQTT info logs for connect/disconnect events
2021-12-29 16:13:06 +02:00
Viacheslav Klimov
5d7b8f7c4e
Fix invalid serialization of '=' to \u003d in JsonMqttAdaptor
2021-12-29 10:30:51 +02:00
Sergey Matvienko
35e8a53f8c
mqtt: log.info replaced with log.debug for connect/disconnect event. It reduces log, CPU and disk overhead when few thousand devices in place. As alternative to debug mqtt - logback.xml adjusted
2021-12-28 19:46:32 +02:00
Andrii Shvaika
6d006d16c7
Improved rate limits message for MQTT session events
2021-11-24 10:38:45 +02:00
ShvaykaD
550af81f9c
updated variable name in the TopicType enum: change Request to Response
2021-10-28 15:49:34 +03:00
ShvaykaD
09b75ac2e6
implementation updates after review
2021-10-27 12:57:53 +03:00
ShvaykaD
ac12eaecd8
Merge branch 'master' of github.com:ShvaykaD/thingsboard into feature/json-payload-for-v1-topics-in-proto-profile
2021-10-27 11:52:37 +03:00
ShvaykaD
bb8f92b122
fixed log typos in MqttTransportHandler
2021-10-27 11:31:59 +03:00
Igor Kulikov
362ccf9f31
Unified transport SSL credentials
2021-10-26 19:40:38 +03:00