| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- 스프링부트
- Kafka
- propogation
- zset
- Debezium
- slow query
- istio
- Salting
- MSSQL
- Strimzi
- logback
- SW 마에스트로
- spring boot
- blue-green
- virtualservice
- Helm
- docket
- hammerDB
- 동등성
- 0 replica
- yml
- minreplica
- keda
- Leaderboard
- Benchmarks
- Database
- Grafana
- eks
- traceId
- Kubernetes
- Today
- Total
목록Spring Boot (9)
김태오
Spring Boot 의 Lombok annotation 중 흔하게 @Getter 와 @Setter 를 사용한다. public class Person { private String name; } Person 이라는 class를 정의한다. public String getName() { return this.name; } public void setName(String name) { this.name = name; } 그러면 class 내에 이런 식으로 getter 와 setter 함수를 만든다. @Getter 와 @Setter 는 이런 귀찮은 함수 정의를 빠르게 해 준다. 개발 속도가 빨라지고, boilerplate code의 감소, 쉬운 리팩토링 등 여러 장점이 있다. @Getter(AccessLevel..
When handling requests from the client in the controller, there are various choices of lombok annotations to select from. The frequently used ones are @RequestBody, @ModelAttribute, @RequestParam, @PathVariable. In this post, I will discuss the pros and cons of each and the suitable situations to use them. @RequestBody vs @RequestParam @RequestParam often handles GET requests, where the data tha..
I was having this issue on the createdAt and modifiedAt not being created automatically upon posting a new entity. It had worked flawlessly in my previous project, yet when I tried to post a new entity in a postman test, it gave me the 500 Internal Server Error. package com.keyworld.projectboard.domain; import lombok.Getter; import lombok.ToString; import org.springframework.data.annotation.Crea..