From b3c78b3903f91b22d7a2f3af13bd76614e1b4f15 Mon Sep 17 00:00:00 2001 From: Sergio del Amo Date: Wed, 30 Aug 2023 11:02:32 +0200 Subject: [PATCH] make brand and name not nullable --- .../io/micronaut/kafka/docs/quickstart/ProductListener.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-suite-kotlin/src/test/kotlin/io/micronaut/kafka/docs/quickstart/ProductListener.kt b/test-suite-kotlin/src/test/kotlin/io/micronaut/kafka/docs/quickstart/ProductListener.kt index 01c5da6b4..c1f62d464 100644 --- a/test-suite-kotlin/src/test/kotlin/io/micronaut/kafka/docs/quickstart/ProductListener.kt +++ b/test-suite-kotlin/src/test/kotlin/io/micronaut/kafka/docs/quickstart/ProductListener.kt @@ -18,7 +18,7 @@ class ProductListener { } @Topic("my-products") // <2> - fun receive(@KafkaKey brand: String?, name: String?) { // <3> + fun receive(@KafkaKey brand: String, name: String) { // <3> LOG.info("Got Product - {} by {}", name, brand) } }