Class Application
- java.lang.Object
-
- org.springframework.kafka.jdocs.requestreply.Application
-
@SpringBootApplication public class Application extends java.lang.Object
Code snippets for request/reply messaging.- Since:
- 2.7
- Author:
- Gary Russell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Application.Thing
-
Constructor Summary
Constructors Constructor Description Application()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
listen(java.lang.String in)
static void
main(java.lang.String[] args)
KafkaAdmin.NewTopics
topics()
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
topics
@Bean public KafkaAdmin.NewTopics topics()
-
listen
@KafkaListener(id="myId", topics="requests", properties="auto.offset.reset:earliest") @SendTo public byte[] listen(java.lang.String in)
-
-