Merge remote-tracking branch 'origin/master' into develop/3.0
This commit is contained in:
commit
d866fc1503
@ -3,7 +3,7 @@
|
||||
"additionalInfo": null,
|
||||
"name": "Root Rule Chain",
|
||||
"firstRuleNodeId": null,
|
||||
"root": false,
|
||||
"root": true,
|
||||
"debugMode": false,
|
||||
"configuration": null
|
||||
},
|
||||
|
||||
@ -106,6 +106,7 @@ public class TbKafkaConsumerTemplate<T extends TbQueueMsg> implements TbQueueCon
|
||||
if (!subscribed) {
|
||||
List<String> topicNames = partitions.stream().map(TopicPartitionInfo::getFullTopicName).collect(Collectors.toList());
|
||||
topicNames.forEach(admin::createTopicIfNotExists);
|
||||
consumer.unsubscribe();
|
||||
consumer.subscribe(topicNames);
|
||||
subscribed = true;
|
||||
}
|
||||
|
||||
@ -10,3 +10,5 @@ CACHE_TYPE=redis
|
||||
REDIS_HOST=redis
|
||||
|
||||
HTTP_LOG_CONTROLLER_ERROR_STACK_TRACE=false
|
||||
|
||||
TB_QUEUE_PARTITIONS_VIRTUAL_NODES_SIZE=64
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user