import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.validation.constraints.NotEmpty;
-import javax.validation.constraints.NotNull;
-
@ConfigurationProperties(prefix = "sumup.gateway")
@Getter
@Setter
public class ApplicationProperties
{
- @NotNull
- @NotEmpty
- private String topic;
private Integer partition;
}