diff --git a/zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt b/zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt index 4899ccd92..999d8a76d 100644 --- a/zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt +++ b/zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt @@ -687,7 +687,7 @@ class Session private constructor(private val config: Config) : AutoCloseable { attachment: ZBytes? = null, timeout: Duration = Duration.ofMillis(10000), target: QueryTarget = QueryTarget.BEST_MATCHING, - consolidation: ConsolidationMode = ConsolidationMode.NONE, + consolidation: ConsolidationMode = ConsolidationMode.default(), onClose: (() -> Unit)? = null ): Result> { val channelHandler = ChannelHandler(channel)