From 48bab3e3d7a47e4e28d6adb155609ed1038eae0a Mon Sep 17 00:00:00 2001 From: Yonatan Karp-Rudin Date: Tue, 18 Jun 2024 12:15:37 +0200 Subject: [PATCH] Fix `ktor-server-kafka` README (#35) This commit fixes a small mistake in the ktor-server-kafka plugin where the schema registry URL was expecting a list of strings, while the actual implementation accepts only a single string. --- ktor-server-kafka/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktor-server-kafka/README.md b/ktor-server-kafka/README.md index e59c1c8a..64b44636 100644 --- a/ktor-server-kafka/README.md +++ b/ktor-server-kafka/README.md @@ -24,7 +24,7 @@ The plugin provides a DSL that enables comprehensive Kafka configuration, adheri ```kotlin install(Kafka) { - schemaRegistryUrl = listOf("my.schemaRegistryUrl") + schemaRegistryUrl = "my.schemaRegistryUrl" topic(named("my-topic")) { partitions = 1 replicas = 1