Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

보고서 모듈에 consume, produce 로직 추가 #6

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Conversation

suna-ji
Copy link
Member

@suna-ji suna-ji commented Oct 28, 2024

추가된 API

  1. 보고서 생성 완료 Topic produce
    POST event/report/completion
    보고서 성생 완료 후 REPORT_COMPLETE 토픽을 발행하는 로직을 api에서 테스트 할 수 있도록 API 추가하였습니다.
    해당 API를 사용하면, REPORT_COMPLETE 토픽이 카프카에 발행됩니다.

  2. 보고서 생성 요청 Topic 목록 조회
    GET event/report/creation
    보고서 서버가 Consume한 REPORT_CREATION 토픽의 record 목록을 조회할 수 있는 API 입니다.

@suna-ji suna-ji added the enhancement New feature or request label Oct 28, 2024
@suna-ji suna-ji added this to the V1.0.0 milestone Oct 28, 2024
@suna-ji suna-ji requested a review from since1909 October 28, 2024 07:35
Copy link
Member

@since1909 since1909 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Review] 보고서 모듈 리뷰 1

@suna-ji
Copy link
Member Author

suna-ji commented Oct 29, 2024

헙 이부분은.. 보고서 생성 완료 record에 들어갈 정보가 많을거라 예상하고 POST메소드를 사용하였으나
현재는 간단하게 구현하기 위해 쿼리 파람에 String만 받도록 구현해두었습니다.

추후 body 설계 및 추가하도록 하겠습니다!

@since1909 since1909 merged commit 77dafa9 into main Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants