You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: code/kafka-streams-module-demo/src/main/kotlin/com/isel/kafkastreamsmoduledemo/kafkaStreamsExperimentations/UseCase.kt
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ class UseCase(
63
63
}
64
64
65
65
/**
66
-
* Creates or accesses the GlobalKTable responsible for storing the keys and topics to know to which gateway topic it goes.
66
+
* Creates and/or accesses the GlobalKTable responsible for storing the keys and topics to know to which gateway topic it goes.
Copy file name to clipboardExpand all lines: code/kafka-streams-module-demo/src/main/kotlin/com/isel/kafkastreamsmoduledemo/utils/Utils.kt
+1-32Lines changed: 1 addition & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ class KafkaStreamsUtils(
107
107
thread {
108
108
while (true) {
109
109
consumer.poll(Duration.ofSeconds(5)).forEach { record ->
110
-
logWithColor("[${System.currentTimeMillis()}] - Consumer key: [${record.key()}] and value[${record.value()}] from topic:[${record.topic()}] and timestamp [${record.timestamp()}]")
110
+
printlnWithColor("[${System.currentTimeMillis()}] - Consumer key: [${record.key()}] and value[${record.value()}] from topic:[${record.topic()}] and timestamp [${record.timestamp()}]")
0 commit comments