@Setter
public class ApplicationProperties
{
- @NotNull
- @NotEmpty
- private String bootstrapServer;
- @NotNull
- @NotEmpty
- private String clientId;
@NotNull
@NotEmpty
private String topic;
private Integer partition;
- @NotNull
- @NotEmpty
- private String acks;
- @NotNull
- private Integer batchSize;
- @NotNull
- private Integer lingerMs;
- @NotNull
- @NotEmpty
- private String compressionType;
}