Skip to content

Commit

Permalink
Fix ktor-server-kafka README (#35)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yonatankarp authored Jun 18, 2024
1 parent 984344e commit 48bab3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ktor-server-kafka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 48bab3e

Please sign in to comment.