Skip to content

feat: aws EventBridge 추가#52

Merged
tkv00 merged 10 commits intodevelopfrom
feature/#51
Dec 30, 2025
Merged

feat: aws EventBridge 추가#52
tkv00 merged 10 commits intodevelopfrom
feature/#51

Conversation

@tkv00
Copy link
Contributor

@tkv00 tkv00 commented Dec 28, 2025

🍀 이슈 번호


✅ 작업 사항

  • Batch 완료 시 성공 및 실패 여부에 상관없이 EventBridge에서 완료 이벤트를 전송합니다.
    • 성공 시 : status 값 => SUCCESS
    • 실패 시 : status 값 => FAILED

⌨ 기타

@tkv00 tkv00 added the ✨ feat 새로운 기능 추가, 기존 기능을 요구 사항에 맞추어 수정 label Dec 28, 2025
@tkv00 tkv00 linked an issue Dec 28, 2025 that may be closed by this pull request
3 tasks
@gemini-code-assist
Copy link

Summary of Changes

Hello @tkv00, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 배치 작업의 완료 상태를 AWS EventBridge를 통해 외부에 알리는 기능을 추가합니다. 배치 작업이 성공하거나 실패할 때마다 해당 작업의 ID와 상태(SUCCESS 또는 FAILED)를 포함하는 이벤트가 EventBridge로 전송되어, 다른 서비스나 시스템이 배치 작업의 진행 상황을 실시간으로 모니터링하거나 후속 조치를 취할 수 있도록 합니다.

Highlights

  • AWS EventBridge SDK 종속성 추가: 빌드 스크립트(build.gradle)에 AWS EventBridge SDK 및 AWS SDK BOM 종속성이 추가되었습니다.
  • EventBridgePublisher 통합: 배치 작업 완료(성공 또는 실패) 시 AWS EventBridge로 이벤트를 전송하기 위해 BatchJobListenerEventBridgePublisher가 통합되었습니다.
  • 새로운 EventBridgePublisher 서비스: 배치 완료 이벤트를 AWS EventBridge에 게시하는 로직을 처리하는 EventBridgePublisher 클래스가 새로 추가되었습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

이번 PR은 배치 작업 완료 시 성공/실패 여부를 AWS EventBridge로 전송하는 기능을 추가하는 것을 목표로 하고 있습니다. 기능 추가 자체는 잘 이루어졌지만, 코드의 품질과 유지보수성을 높이기 위해 몇 가지 개선이 필요해 보입니다. 가장 중요한 점은 EventBridgeClient를 스프링 빈으로 관리하여 생명주기와 설정을 적절히 제어해야 한다는 것입니다. 또한, JSON 문자열을 직접 생성하는 대신 DTO와 ObjectMapper를 사용하는 것이 안전하며, 중복 코드 제거 및 명확한 메소드 이름 사용을 통해 코드 가독성을 높일 수 있습니다. 마지막으로, 의존성 버전 관리 및 설정 값 외부화에 대한 제안도 포함하였으니 검토 부탁드립니다.

@tkv00 tkv00 merged commit 72f35d1 into develop Dec 30, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feat 새로운 기능 추가, 기존 기능을 요구 사항에 맞추어 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Job완료 시 Amazon EventBridge내 PutEvents 전송 추가

1 participant