Skip to content
Snippets Groups Projects
Commit bf9cd122 authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Add forgotten deletion

parent d6e116ec
Branches
Tags
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!128Hotfix TopicManager again,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
...@@ -30,7 +30,9 @@ class TopicManager(private val kafkaConfig: HashMap<String, Any>) { ...@@ -30,7 +30,9 @@ class TopicManager(private val kafkaConfig: HashMap<String, Any>) {
result.all().get()// wait for the future object result.all().get()// wait for the future object
} catch (e: Exception) { } catch (e: Exception) {
removeTopics(newTopics.map { topic -> topic.name() })
logger.warn { "Error during topic creation." } logger.warn { "Error during topic creation." }
logger.debug { e }
logger.warn { "Will retry the topic creation after 2 seconds" } logger.warn { "Will retry the topic creation after 2 seconds" }
sleep(RETRY_TIME) sleep(RETRY_TIME)
retryCreation = true retryCreation = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment