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

파트너 프로필 집계 배치 구현 #8

Merged
merged 6 commits into from
Jun 26, 2024

Conversation

pockyjx
Copy link
Contributor

@pockyjx pockyjx commented Jun 26, 2024

📣 파트너 프로필 집계 배치 구현

📅 2024.06.26

🌵Branch

feature/partner-batchdevelop

📢 Description

  • 회원 서비스 : 파트너 계정 생성 시 파트너 집계 데이터 생성
  • sns 서비스 : 포스팅 개수 + 팔로워 수
  • 코디네이팅 서비스 : 코디 매칭 수

💬Issue Number

close #7

🛠️Type

  • 새로운 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 코드에 영향을 주지 않는 변경사항(오타 수정, 탭 사이즈 변경, 변수명 변경)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정 -
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제

✔️PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했습니다. Commit message convention 참고 (Ctrl + 클릭하세요.)
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트).

🔖Note

(참고사항을 적어주세요)

@pockyjx pockyjx added 🌓Backend 백엔드 이슈 💫 feat 기능 구현이슈 labels Jun 26, 2024
@pockyjx pockyjx requested a review from icarus012832 June 26, 2024 06:40
@pockyjx pockyjx self-assigned this Jun 26, 2024
Copy link
Contributor

@icarus012832 icarus012832 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다~

JobRestartException {
public JobScheduler(JobLauncher jobLauncher,
@Qualifier("postSummaryJob") Job postBookmarkJob,
@Qualifier("partnerSummaryJob") Job partnerJobConfig) {
Copy link
Contributor

Choose a reason for hiding this comment

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

이건 어떤 기능인가요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Job 2개 돌리려고 하니까 빈 등록할 때 충돌나서 저렇게 설정해주니까 되더라고요,,

for (String key : keys) {
String partnerId = key.replace("partner:", "");

Object post = redisTemplate.opsForHash().get(key, "postCnt");
Copy link
Contributor

Choose a reason for hiding this comment

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

opsforhash는 무슨 기능인가요?

@icarus012832 icarus012832 merged commit 8f461fb into develop Jun 26, 2024
@pockyjx pockyjx deleted the feature/partner-batch branch June 26, 2024 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌓Backend 백엔드 이슈 💫 feat 기능 구현이슈
Projects
None yet
Development

Successfully merging this pull request may close these issues.

파트너 프로필 집계 배치 구현
2 participants