Skip to content

Instantly share code, notes, and snippets.

@danielkec
Created June 22, 2020 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielkec/3f71ea29a6bea72e31a9295b28d39395 to your computer and use it in GitHub Desktop.
Save danielkec/3f71ea29a6bea72e31a9295b28d39395 to your computer and use it in GitHub Desktop.
@ApplicationScoped
public class ExampleBean {
@Incoming("from-kafka")
public void broadcast(String payload) {
System.out.println("Kafka says: " + payload);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment