giving up on kafka connect websockets, it doesn't work and there's no error messages and the documentaiton sucks
This commit is contained in:
parent
2ad0c2848c
commit
55bea4aed4
4 changed files with 18 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ description = """
|
|||
|
||||
val projectId: String by project.extra
|
||||
|
||||
@Suppress("UnstableApiUsage")
|
||||
@Suppress("UnstableApiUsage") // platform + version-catalog is incubating
|
||||
dependencies {
|
||||
|
||||
implementation("org.apache.kafka:kafka-streams:3.0.0")
|
||||
|
|
@ -21,10 +21,12 @@ dependencies {
|
|||
|
||||
// implementation("com.ionspin.kotlin:bignum:0.3.3")
|
||||
|
||||
implementation(enforcedPlatform(libs.kotlinx.serialization.bom))
|
||||
implementation(platform(libs.kotlinx.serialization.bom))
|
||||
implementation(libs.kotlinx.serialization.core)
|
||||
implementation(libs.kotlinx.serialization.json)
|
||||
|
||||
implementation(libs.kotlinx.coroutines)
|
||||
|
||||
implementation(platform(libs.http4k.bom))
|
||||
// implementation(libs.http4k.core)
|
||||
implementation(libs.http4k.cloudnative)
|
||||
|
|
@ -36,7 +38,6 @@ dependencies {
|
|||
implementation(libs.http4k.format.kotlinx)
|
||||
|
||||
implementation(libs.bundles.logging)
|
||||
|
||||
}
|
||||
|
||||
application {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,12 @@ dependencies {
|
|||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json")
|
||||
}
|
||||
|
||||
// disabled for now...
|
||||
val projectEnabled = false
|
||||
|
||||
val dockerBuildKafkaConnect by tasks.registering(Exec::class) {
|
||||
enabled = projectEnabled
|
||||
|
||||
group = "docker-compose"
|
||||
dependsOn(downloadCamelConnectors, tasks.dockerEnv)
|
||||
|
||||
|
|
@ -54,6 +59,8 @@ val dockerBuildKafkaConnect by tasks.registering(Exec::class) {
|
|||
|
||||
|
||||
val downloadCamelConnectors by tasks.registering(Sync::class) {
|
||||
enabled = projectEnabled
|
||||
|
||||
group = project.name
|
||||
description = "Retrieve Camel Kafka Connectors from Maven, in preparation for the Docker build"
|
||||
|
||||
|
|
@ -82,11 +89,15 @@ val downloadCamelConnectors by tasks.registering(Sync::class) {
|
|||
}
|
||||
|
||||
tasks.dockerUp {
|
||||
enabled = projectEnabled
|
||||
|
||||
dependsOn(":modules:infra-kafka-cluster:dockerUp")
|
||||
dependsOn(downloadCamelConnectors)
|
||||
}
|
||||
|
||||
tasks.dockerEnv {
|
||||
enabled = projectEnabled
|
||||
|
||||
properties(
|
||||
"CONNECTOR_ID" to "kafkatorio-connect",
|
||||
"KAFKA_CONNECT_VERSION" to libs.versions.confluent.kafkaConnect.get(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue