feat: Stale 데이터 비정상 궤적 전환 + vesselStatic N+1 쿼리 제거 #5

병합
htlee feature/stale-data-abnormal-track 에서 develop 로 3 commits 를 머지했습니다 2026-02-19 13:34:12 +09:00

3 커밋

작성자 SHA1 메시지 날짜
4dd40b7231 perf: vesselStaticSyncStep N+1 쿼리 제거 — DISTINCT ON bulk SELECT로 전환
이전: MMSI별 개별 SELECT (~10만 쿼리) → 수 분 소요
이후: DISTINCT ON (mmsi) 1회 bulk SELECT → 인메모리 CDC 비교

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 12:17:16 +09:00
a6d886c61b fix: hourly job timeBucket 파라미터 문자열 "hourly" → 실제 시간값 전달
VesselBatchScheduler에서 hourlyAggregationJob 실행 시 timeBucket 파라미터에
"hourly" 문자열을 전달하여 HourlyTrackMergeProcessor의 LocalDateTime.parse() 실패.
startTime (정시 값)을 전달하도록 수정.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 11:12:49 +09:00
732f69eb02 feat: Stale 데이터 비정상 궤적 전환 — 과거 timestamp 수신 시 정보 보존
- CacheBasedVesselTrackDataReader: stale 그룹 스킵 제거 → 전체 통과 + 감지 로깅
- VesselTrackStepConfig: Processor에서 stale time_bucket 감지 시 비정상 궤적으로 전환
  - abnormal_type: stale_timestamp (신규 분류)
  - time_bucket: 현재 5분 버킷으로 오버라이드 (파티션 존재 보장)
  - details: 원본 time_bucket, 지연 시간(분/시), 속도/거리 정보

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 11:09:27 +09:00