refactor: Refined packaging (moved classes to new folders and files)
[demos/kafka/chat] / src / main / java / de / juplo / kafka / chat / backend / ChatBackendApplication.java
1 package de.juplo.kafka.chatroom;
2
3 import org.springframework.boot.SpringApplication;
4 import org.springframework.boot.autoconfigure.SpringBootApplication;
5 import org.springframework.context.annotation.Bean;
6
7 import java.time.Clock;
8
9
10 @SpringBootApplication
11 public class ChatroomApplication
12 {
13         @Bean
14         public Clock clock()
15         {
16                 return Clock.systemDefaultZone();
17         }
18
19
20         public static void main(String[] args)
21         {
22                 SpringApplication.run(ChatroomApplication.class, args);
23         }
24 }