536 Commits

Author SHA1 Message Date
ViacheslavKlimov
c087359077 Move messages to other queue on deletion; improvements 2023-08-01 13:57:32 +03:00
Andrew Shvayka
f618599d15
Merge pull request #8998 from smatvienko-tb/feature/kafka-producer-append-debug-headers
TbKafkaProducerTemplate will add analytics headers for each message on debug or trace log level
2023-07-31 17:26:01 +03:00
Andrew Shvayka
a8d0968cc3
Merge pull request #8983 from smatvienko-tb/feature/onRateLimit-TbMsgPackCallback-skipAllRateLimited
Rule engine: ack all rate limited failures
2023-07-31 17:17:36 +03:00
YevhenBondarenko
ac2aac8aa7 refactored due to comments 2023-07-31 13:51:03 +03:00
YevhenBondarenko
948f517898 added zk restart node tests 2023-07-31 13:50:57 +03:00
YevhenBondarenko
ce9552e1a8 improvements 2023-07-31 13:50:49 +03:00
YevhenBondarenko
68149d9673 added recalculetePartitions delay for node restart 2023-07-31 13:50:41 +03:00
YevhenBondarenko
d9c39c362e refactored due to comments 2023-07-28 14:20:33 +02:00
ViacheslavKlimov
5862b417aa Add custom topic properties configuration 2023-07-28 12:06:04 +03:00
Sergey Matvienko
825eaf640c RuleEngineException cause added to be able to analyse cause by rate limit exceptions 2023-07-27 21:38:02 +02:00
Sergey Matvienko
2cccd0951a TbKafkaProducerTemplate: addAnalyticHeaders optimized 2023-07-27 19:43:06 +02:00
ViacheslavKlimov
137cc18099 Auto offset reset config for Kafka 2023-07-27 19:58:31 +03:00
ViacheslavKlimov
55775f2815 Consumer group per isolated tenant's queue; remove sleeping for Kafka consumer 2023-07-27 18:33:03 +03:00
Sergey Matvienko
c3e9ab5991 TbKafkaProducerTemplate will add headers for each message when log level: DEBUG - producerId and thread name; TRACE - stacktrace first 10-2=8 lines 2023-07-26 20:45:42 +02:00
ViacheslavKlimov
6db3171ffb Refactoring 2023-07-25 16:16:48 +03:00
ViacheslavKlimov
fa61783ac6 Log topics list on unsubscribe 2023-07-25 15:44:25 +03:00
ViacheslavKlimov
3b86c8c1f5 Refactor HashPartitionService.resolve(..) 2023-07-25 15:44:25 +03:00
ViacheslavKlimov
1ee3c24532 Refactor HashPartitionService.resolve(..) 2023-07-25 15:44:25 +03:00
ViacheslavKlimov
bfd8ff934f Use system queue with same name instead of Main when missing 2023-07-25 15:44:24 +03:00
ViacheslavKlimov
18ce96fd10 Ability to update isolated processing option in tenant profile 2023-07-25 15:43:34 +03:00
YevhenBondarenko
75b3882782 added zk restart node tests 2023-07-14 19:45:23 +02:00
YevhenBondarenko
ffdb16766c improvements 2023-07-06 13:31:25 +02:00
YevhenBondarenko
1a12d3c395 merge with develop/3.6 2023-06-29 23:40:43 +02:00
Andrii Shvaika
ecae72e994 Merge with develop/3.5.2 2023-06-29 17:00:23 +03:00
YevhenBondarenko
aa28b276d2 added recalculetePartitions delay for node restart 2023-06-16 15:40:29 +02:00
ViacheslavKlimov
0bd7f74c47 Fix issues 2023-06-13 14:12:54 +03:00
ViacheslavKlimov
f98eee5407 Merge branch 'develop/3.5.2' into feature/exceeded-rate-limits-notifications
# Conflicts:
#	application/src/main/java/org/thingsboard/server/install/ThingsboardInstallService.java
#	application/src/main/resources/thingsboard.yml
#	application/src/test/java/org/thingsboard/server/service/notification/NotificationRuleApiTest.java
#	dao/src/main/java/org/thingsboard/server/dao/notification/DefaultNotifications.java
#	ui-ngx/src/app/modules/common/modules-map.ts
2023-06-13 13:49:51 +03:00
ViacheslavKlimov
93e8770023 Don't write to cache on each deduplication 2023-06-08 18:28:57 +03:00
ViacheslavKlimov
b77078c24e Notifications deduplication improvements 2023-06-08 18:15:56 +03:00
YevhenBondarenko
7f9a9c7fb3 merge with develop/3.6 2023-06-05 15:58:16 +02:00
YevhenBondarenko
db6f310284 migration to spring boot 3.1 2023-06-05 15:24:47 +02:00
ViacheslavKlimov
2f560315d1 Exceeded rate limits notifications; their deduplication; refactoring 2023-06-02 15:09:09 +03:00
Andrii Shvaika
790513788a Merge remote-tracking branch 'origin/develop/3.5.2' into develop/3.6 2023-06-02 14:59:40 +03:00
ViacheslavKlimov
67656a2757 Notifications deduplication 2023-06-02 14:50:23 +03:00
AndriiD
c863cf6c15 \changed ServiceType.valueOf to ServiceType.of 2023-05-29 20:24:13 +03:00
YevhenBondarenko
bba26ca676 merge with develop/3.5.1 2023-05-19 18:20:27 +02:00
YevhenBondarenko
fbf9773a61 optimize imports 2023-05-02 10:57:58 +02:00
YevhenBondarenko
40d6e67131 migrate to java 17 2023-05-02 00:46:34 +02:00
ViacheslavKlimov
af49a6a0be Fix failing tests 2023-04-24 12:08:17 +03:00
ViacheslavKlimov
97cc1ab0da Improve entities count limit notification rule 2023-04-20 18:23:38 +03:00
Sergey Matvienko
26ed90c534 kafka settings: kafka yaml parameters added for microservices same as thingsboard.yml . PropertyUtils added, duplicated code refactored to getProps. TB_QUEUE_KAFKA_REQUEST_TIMEOUT_MS and TB_QUEUE_KAFKA_SESSION_TIMEOUT_MS moved from other to main properties. Other yaml props is deprecated. other-inline added TB_QUEUE_KAFKA_OTHER_PROPERTIES. Tests added. 2023-04-18 10:54:10 +02:00
Sergey Matvienko
e621a21df3 kafka settings: test added, refactored to use configureSSL exact once 2023-04-18 10:54:10 +02:00
Sergey Matvienko
448fe341cf kafka settings: added default values for values for TbKafkaSettings class 2023-04-18 10:54:10 +02:00
Andrew Shvayka
bc5d6ea359
Merge pull request #8342 from volodymyr-babak/ssl-option-kafka
[3.5] Add SSL option for Kafka queue connection
2023-04-11 12:34:49 +03:00
Andrew Shvayka
c683b57cba
Merge pull request #8335 from thingsboard/feature/devices-activity
Devices activity statistics
2023-04-11 12:23:13 +03:00
Volodymyr Babak
79393b2582 Refactoring - move common code into separate method 2023-04-10 15:49:46 +03:00
FawenYo
47542eb8c1 Add SSL option for Kafka queue connection 2023-04-10 15:29:14 +03:00
ViacheslavKlimov
6cb54c6690 Devices activity statistics 2023-04-07 17:06:21 +03:00
ViacheslavKlimov
aef033b6c5 Fix for RemoteNotificationRuleProcessor 2023-04-07 13:14:23 +03:00
ViacheslavKlimov
fccd60601f RemoteNotificationRuleProcessor 2023-04-04 15:05:56 +03:00