Skip to content

[IMPROVE/#343] RSS reader 수집 경로를 bounded executor 기반으로 개선#344

Merged
Dimo-2562 merged 3 commits intodevelopfrom
improve/rss-reader-bounded-executor
Mar 29, 2026
Merged

[IMPROVE/#343] RSS reader 수집 경로를 bounded executor 기반으로 개선#344
Dimo-2562 merged 3 commits intodevelopfrom
improve/rss-reader-bounded-executor

Conversation

@Dimo-2562
Copy link
Copy Markdown
Contributor

❤️ 기능 설명

RSS 수집 경로를 parallelStream() 기반 처리에서 전용 bounded executor 기반 처리로 변경했습니다.

주요 변경 사항

  • RssCrawlingJobConfig에 RSS fetch 전용 ThreadPoolTaskExecutor 추가
  • RssFeedReader가 executor에 feed fetch 작업을 제출하고 timeout 포함 결과를 수집하도록 변경
  • 기존 DB 중복 URL 필터링 유지
  • 같은 crawl 내 중복 URL도 1회만 남기도록 정리
  • RSS 관련 타깃 테스트 추가
    • RssFeedReaderTest
    • RssExecutorConfigContextTest
    • RssCrawlingJobIntegrationTest

테스트 결과

  • ./gradlew test --tests "*RssFeedReaderTest" --tests "*RssExecutorConfigContextTest" --tests "*RssCrawlingJobIntegrationTest"
  • 위 명령 기준 통과
  • 비 API / batch 변경이라 swagger 테스트 스크린샷 대신 테스트 명령과 성공 결과를 기준으로 작성했습니다.

연결된 issue

연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.

close #343



🩷 Approve 하기 전 확인해주세요!

  • RSS 수집 executor 설정을 config class inline 값으로 둔 이유를 확인해주세요.
  • feed timeout / 부분 성공 / 중복 제거 정책이 기존 기대와 맞는지 확인해주세요.

✅ 체크리스트

  • PR 제목 규칙 잘 지켰는가?
  • 추가/수정사항을 설명하였는가?
  • 테스트 결과 사진을 넣었는가?
  • 이슈넘버를 적었는가?

@Dimo-2562 Dimo-2562 changed the title [IMPROVE] RSS reader 수집 경로를 bounded executor 기반으로 개선 [IMPROVE/#343] RSS reader 수집 경로를 bounded executor 기반으로 개선 Mar 29, 2026
@Dimo-2562 Dimo-2562 self-assigned this Mar 29, 2026
@Dimo-2562 Dimo-2562 added ✨ IMPROVE 기존 기능 변경 🏢 domain:source 테크블로그 출처 labels Mar 29, 2026
@Dimo-2562 Dimo-2562 merged commit b54cbe9 into develop Mar 29, 2026
1 check passed
@Dimo-2562 Dimo-2562 deleted the improve/rss-reader-bounded-executor branch March 29, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏢 domain:source 테크블로그 출처 ✨ IMPROVE 기존 기능 변경

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[IMPROVE] RSS reader 병렬 수집 방식을 bounded executor 기반으로 개선

1 participant