emotional developer/detect-Java 썸네일형 리스트형 Spring Sleuth 3.0 up https://www.baeldung.com/spring-cloud-sleuth-single-application https://coe.gitbook.io/guide/log/sleuth https://stackoverflow.com/questions/66517644/java-spring-sleuth-zipkin-x-span-export-not-being-displayed https://stackoverflow.com/questions/65846859/how-did-spring-cloud-sleuth-add-tracing-information-to-logback-log-lines/65851232#65851232 https://cloud.spring.io/spring-cloud-sleuth/2.1.x/mul.. 더보기 Swagger Enum plugin Enum 속성에 대한 추가적 정의를 할 수 있다. 추가적 정의가 없는 경우, 기본적 주석이 추가 된다. 이 부분은 직접 custom작업 적용법 :https://github.com/hoereth/springfox-enum-plugin#usage 더보기 Kafaka consumer listener Sender MDC logging message를 전송한 sender의 MDC정보를 consumer listener가 추가적으로 logging mdc정보의 생성/주입/초기화 주기를 잘 확인 할수 있어야함 ConcurrentKafkaListenerContainerFactory를 생성하는 bean에서 recordFilterStrategy를 정의 현재 thread의 mdc정보를 copy thread의 zipkin 관련 정보를 제외하고 초기화 kafka message header에 주입한 MDC정보를 현재 thread의 MDC에 주입 zipkin 정보로 인해, 약간의 filter단계가 필요했음 더보기 Springboot versionup 2.0.6 -> 2.1.3 개요 patch 와 기능개선, 관련 lib versionup 된 최신 버전으로 변경 작업 target version : 2.1.3 작업내역 Springboot Config https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.1-Configuration-Changelog spring.main.allow-bean-definition-overriding= true 추가 webclient version 에 따른 java config class 수정 health check 수정 db elasticsearch redis kafka 설정 수정 kafka vserion 되면서 설정의 기본값이 변경 kafka.properties.ssl.endpoint.i.. 더보기 Java Model Define Model Define Entity required Table 과 mapping 되는 model DB table 원형 데이터 column validation 은 필요시, 최소한으로 구성 not null length BaseEntity 구현 @DynamicUpdate 쿼리 성능에 영향 @MappedSuperclass @EntityListeners(AuditingEntityListener.class) Serializable 구현 DTO required data transper object : https://en.wikipedia.org/wiki/Data_transfer_object Entity 와 DTO는 1:N 관계. 1:1 mapping 되는 기본 DTO는 꼭 만들어야한다. service, control.. 더보기 test reference https://techbeacon.com/devops/6-best-practices-integration-testing-continuous-integration https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-testing https://docs.spring.io/spring/docs/current/spring-framework-reference/testing.html#integration-testing https://spring.io/guides/gs/testing-web/ https://www.jrebel.com/blog/how-to-use-java-integrati.. 더보기 spring cloud config git 임시파일 저장소 변경. Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: Cannot load environment] with root cause org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: /tmp/config-repo-8219433394714354233 최근에 spring cloud config 를 이용 중에 있다.신규 프로젝트의 설정관리를 위한 부분인데. 개발서버에서 위와 같은 에러.. 더보기 Spring Swagger Springfox2 적용 what is swagger?Swagger | The World's Most Popular Framework for APIs. http://swagger.io/guidehttps://github.com/swagger-api/swagger-core/wiki/Annotations-1.5.XQuick Annotation OverviewNameDescription| @Api | Marks a class as a Swagger resource. |@ApiImplicitParamRepresents a single parameter in an API Operation.@ApiImplicitParamsA wrapper to allow a list of multiple ApiImplicitParam objects.@Ap.. 더보기 이전 1 2 3 4 5 ··· 10 다음