<artifactId>spring-boot-starter-json</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.projectlombok</groupId>
+ <artifactId>lombok</artifactId>
+ </dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
package de.trion.kafka.outbox;
+import lombok.*;
import org.springframework.data.annotation.Id;
import java.time.LocalDateTime;
public class User {
@Id
Long id;
+ @Getter
+ @Setter
String username;
+ @Getter
+ @Setter
LocalDateTime created;
+ @Getter
+ @Setter
boolean loggedIn;
public User(String username, LocalDateTime created, boolean loggedIn) {