Commit d866fc1503133c3a67692993e256c03cbc6fb87f

Authored by Andrii Shvaika
2 parents 2f8c7bb6 702a8b61

Merge remote-tracking branch 'origin/master' into develop/3.0

... ... @@ -3,7 +3,7 @@
3 3 "additionalInfo": null,
4 4 "name": "Root Rule Chain",
5 5 "firstRuleNodeId": null,
6   - "root": false,
  6 + "root": true,
7 7 "debugMode": false,
8 8 "configuration": null
9 9 },
... ...
... ... @@ -106,6 +106,7 @@ public class TbKafkaConsumerTemplate<T extends TbQueueMsg> implements TbQueueCon
106 106 if (!subscribed) {
107 107 List<String> topicNames = partitions.stream().map(TopicPartitionInfo::getFullTopicName).collect(Collectors.toList());
108 108 topicNames.forEach(admin::createTopicIfNotExists);
  109 + consumer.unsubscribe();
109 110 consumer.subscribe(topicNames);
110 111 subscribed = true;
111 112 }
... ...
... ... @@ -10,3 +10,5 @@ CACHE_TYPE=redis
10 10 REDIS_HOST=redis
11 11
12 12 HTTP_LOG_CONTROLLER_ERROR_STACK_TRACE=false
  13 +
  14 +TB_QUEUE_PARTITIONS_VIRTUAL_NODES_SIZE=64
... ...