workinggggg!!!!!!!
- fix map tiles proto colours KTable - test and tidy up Colour/ColourHex - reset event-server application
This commit is contained in:
parent
bdb2d9577f
commit
5a59b3bd6d
13 changed files with 211 additions and 97 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.jetbrains.kotlin.util.parseSpaceSeparatedArgs
|
||||
|
||||
plugins {
|
||||
dev.adamko.kafkatorio.lang.`kotlin-jvm`
|
||||
|
|
@ -64,3 +65,19 @@ tasks.withType<KotlinCompile> {
|
|||
"-opt-in=kotlinx.coroutines.FlowPreview",
|
||||
)
|
||||
}
|
||||
|
||||
val kafkatorioEventsServerKafkaForceReset by tasks.registering(Exec::class) {
|
||||
group = project.name
|
||||
|
||||
val cmd = """
|
||||
/kafka/bin/kafka-streams-application-reset.sh --application-id kafkatorio-events-processor --input-topics factorio-server-log --force
|
||||
""".trimIndent()
|
||||
|
||||
logging.captureStandardOutput(LogLevel.LIFECYCLE)
|
||||
|
||||
commandLine = parseSpaceSeparatedArgs(""" docker exec -d kafka $cmd """)
|
||||
}
|
||||
|
||||
tasks.run.configure {
|
||||
dependsOn(kafkatorioEventsServerKafkaForceReset)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue