Due to a scheduled upgrade to version 14.10, GitLab will be unavailabe on Monday 30.05., from 19:00 until 20:00.

Commit c2c1bff7 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix small java 8 error

parent 046526b9
Pipeline #8199 failed with stages
in 2 minutes and 40 seconds
......@@ -6,7 +6,7 @@ test:
stage: test
image: openjdk:8
script:
- ./gradlew clean test
- ./gradlew --no-daemon test --fail-fast --tests "org.memobase.Tests"
.build-image:
......
......@@ -76,10 +76,6 @@ dependencies {
testCompile group: 'org.apache.sshd', name: 'sshd-core', version: '2.4.0'
// https://mvnrepository.com/artifact/org.apache.sshd/sshd-sftp
testCompile group: 'org.apache.sshd', name: 'sshd-sftp', version: '2.4.0'
}
compileKotlin {
......
......@@ -115,7 +115,7 @@ class KafkaTopology(private val settings: SettingsLoader) {
// TODO: check if there is an identifier for each row and that each value is unique!
val identifier = line[csvIdentifierIndex]
val data = output.toString(Charset.defaultCharset()).trim()
val data = output.toString(Charset.defaultCharset().displayName()).trim()
val message = json { obj(Pair("format", "CSV"), Pair("data", data)) }
val result = KeyValue(identifier, message.toJsonString())
output.reset()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment