Created
July 23, 2020 10:43
-
-
Save maheshwarLigade/c7b092671e7761daac707f874872f000 to your computer and use it in GitHub Desktop.
Revisions
-
maheshwarLigade created this gist
Jul 23, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ package com.techwasti.kafkaex; import io.micronaut.configuration.kafka.annotation.KafkaClient; import io.micronaut.configuration.kafka.annotation.KafkaKey; import io.micronaut.configuration.kafka.annotation.Topic; @KafkaClient public interface GreetMessageClient { // greet is a kafka topic void sendGreetMessage(@KafkaKey String day, String message); void sendGreetMessage(@Topic String topic, @KafkaKey String day, String message); }