카프카 send 시 에러 2022-01-04| kafka | kafka - producer - clean up policy - InvalidRecordException - This record has failed the validation on broker and hence will be rejected.
카프카 send 시 에러org.apache.kafka.common.InvalidRecordException: This record has failed the validation on broker and hence will be rejected.
위에 에러메시지시가 ...
Read more 쿠버네티스에서 command를 활용해서 APM agent 설치하기 2022-01-03| kubernetes | docker - kubernetes - apm - agent - command
쿠버네티스에서 command를 활용해서 APM agent 설치하기command를 활용해서 해당 파일을 pod에 다운로드 하는 방법을 적어 놓는다.
123456containers: command: [ "/bin/sh", "-c" ...
Read more Docker 에서 JAVA_OPTS 환경 변수 선언하기 2022-01-03| docker | docker - dockerfile - JAVA_OPTS
Docker 에서 JAVA_OPTS 환경 변수 선언하기아래 처럼 도커 ENTRYPOINT 에 JAVA_OPTS 환경변수를 선언하면 could not find or load main class $java_opts 오류가 나온다.
1ENTRYPOINT ["ja ...
Read more kubernetes alb ingress health check path 서비스마다 다르게 설정하기 2021-10-18| kubernetes | aws - alb - ingress - health check path - 바꾸기
kubernetes alb ingress health check path 서비스마다 다르게 설정하기12345678910apiVersion: networking.k8s.io/v1kind: Ingressmetadata: name: "test-ingress&q ...
Read more org.yaml.snakeyaml.error.YAMLException: java.io.IOException: Stream closed 2021-10-01| java | postgresql - snakeyaml - Stream closed
org.yaml.snakeyaml.error.YAMLException: java.io.IOException: Stream closed12345678910111213141516171819@Getter@Setter@ToString@NoArgsConstructor(acc ...
Read more mapstruct에서 프로퍼티 값을 로드해서 맵핑하기 2021-08-28| java | mapstruct - mapstruct spring - @Value - @propertysource
mapstruct에서 프로퍼티 값을 로드해서 맵핑하기mapper의 componentModel = “spring” 으로 사용하면 bean으로 등록하고 di를 사용할수 있다.
123456789101112131415161718@Mapper(componentMod ...
Read more spring restdocs 문서에 context-path 표현하기 2021-08-11| java | spring restdocs - context-path - restdocs - does not start with contextPath
spring restdocs 문서에 context-path 표현하기1java.lang.IllegalArgumentException: requestURI [/] does not start with contextPath [/api]
1234567891011121314 ...
Read more aws ecr에 이미지 등록시키기 2021-08-10| java | docker - aws - ecr
aws ecr에 이미지 등록시키기아래 처럼 도커이미지 빌드를 완성한후에
1docker build -t hello-world:latest ./
123aws ecr get-login-password --region region | docker login --user ...
Read more