disable max.task.idle.ms setting (I don't know what it's supposed to do, and setting it high causes OOM)
This commit is contained in:
parent
f1d15085e6
commit
9e55a33882
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ internal class KafkatorioTopology(
|
|||
|
||||
val appId = props.compute(StreamsConfig.APPLICATION_ID_CONFIG) { _, v -> "$v.$id" } as? String
|
||||
props.setProperty(StreamsConfig.APPLICATION_ID_CONFIG, appId)
|
||||
props.setProperty(StreamsConfig.MAX_TASK_IDLE_MS_CONFIG, "${1.minutes.inWholeMilliseconds}")
|
||||
// props.setProperty(StreamsConfig.MAX_TASK_IDLE_MS_CONFIG, "${30.minutes.inWholeMilliseconds}")
|
||||
|
||||
val streams = KafkaStreams(topology, props)
|
||||
streams.setUncaughtExceptionHandler(StreamsExceptionHandler {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue