인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

atlanboa2951's profile image
atlanboa2951

asked

Microservices Application (MSA) Developed with Spring Cloud

spring cloud sleuth 에서 distributed tracing 에 대해서 궁금한게 있습니다.

Written on

·

359

0

spring cloud sleuth 의 경우 로그에 각 id 를 내려서 로그를 트레이싱하는걸로 학습했는데요.

그럼 마이크로서비스 아키텍처의 통신이 api call 이 아닌 message queue (kafka, rabbitmq) 인 경우에도 distributed tracing 이 가능한건가요?

sleuthloggingspring-cloudspring-boottracingarchitectureJPAKafkamsa

Answer 1

0

kenneth님의 프로필 이미지
kenneth
Instructor

안녕하세요, 이도원입니다. 

먼저 답변이 늦어 죄송합니다. 

요청하신 작업을 위해 zipkin에 collector-kafka 설정(또는 collector-rabbitmq 설정)을 추가하실 수 있습니다. 

https://github.com/openzipkin/zipkin/tree/master/zipkin-collector

또는 분산환경의 로그 트레이싱을 위한 Jaegaer와 같은 서비스를 구축하여 가능합니다. Jaeger는 분산 서비스 간 트랜잭션을 트래킹하는 오픈소소로 마이크로서비스들을 모니터링 하는데 사용 됩니다. 

감사합니다.

atlanboa2951's profile image
atlanboa2951

asked

Ask a question