big ol' refactor to split up the events-server and events-processors

This commit is contained in:
Adam 2022-09-13 17:56:57 +02:00
parent d82f25c6ee
commit 873983f9a3
71 changed files with 1013 additions and 757 deletions

View file

@ -8,7 +8,7 @@ plugins {
}
//description = "serves Kafkatorio content over the web"
description = "Consumes Syslog Kafkatorio packets and sends them to Kafka"
val projectId: String by project.extra
@ -20,6 +20,7 @@ dependencies {
testImplementation(libs.kafka.streamsTestUtils)
implementation(projects.modules.eventsLibrary)
implementation(projects.modules.eventsProcessorCore)
implementation(libs.kotlinxSerialization.core)
implementation(libs.kotlinxSerialization.json)
@ -62,11 +63,13 @@ dependencies {
// implementation(libs.nimbusJoseJwt)
implementation(libs.kafka.kotkaStreams)
implementation(libs.bundles.hoplite)
}
application {
mainClass.set("dev.adamko.kafkatorio.server.EventsServerKt")
mainClass.set("dev.adamko.kafkatorio.processor.syslog.SyslogMainKt")
}
@ -77,3 +80,9 @@ tasks.withType<KotlinCompile>().configureEach {
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
)
}
val runSyslogServer by tasks.registering {
group = rootProject.name
dependsOn(tasks.run)
}