Skip to content

Commit

Permalink
make brand and name not nullable (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelamo authored Aug 31, 2023
1 parent fe69b8e commit bac377e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit bac377e

Please sign in to comment.