RATATOSK
← 전체 릴리스

Daprv1.17.15

호환성 변경 3중요 수정 6기능·개선 1기타 1

Dapr 알림 받기

확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송

호환성 변경3

Azure Event Hubs 핸들러 실패 시 체크포인트 기록 전 재시도

영향 대상Azure Event Hubs pub/sub 또는 입력 바인딩

핸들러가 RETRY를 반환하거나 다른 방식으로 실패했을 때, 또는 사이드카가 중단되거나 파티션 소유권을 잃었을 때 이벤트를 처리 중이었다면 해당 이벤트가 체크포인트에 기록되어 다시 전달되지 않을 수 있었습니다. 이제 실패한 이벤트는 성공하거나 구독이 취소될 때까지 설정된 백오프에 따라 재시도됩니다. 체크포인트 진행 위치는 성공적으로 처리된 이벤트나 배치가 연속된 구간까지만 전진합니다.

원문 보기
The Event Hubs pub/sub and input binding components now advance a partition's checkpoint only through contiguous, successfully-handled events or batches:
- A handler failure is retried with the configured backoff until it succeeds or the subscription is cancelled, instead of being dropped and checkpointed anyway.
github.com/dapr/dapr/releases/tag/v1.17.15

Azure Event Hubs maxConcurrentHandlers 제한 추가

영향 대상Azure Event Hubs pub/sub 및 입력 바인딩 컴포넌트

체크포인트 대상이 아닌 수신 이벤트가 100개에 도달하면 기본적으로 추가 수신이 일시 중지됩니다.

원문 보기
- A new `maxConcurrentHandlers` option (default `100`) bounds how many received-but-not-yet-checkpoint-eligible events can be in flight at once, pausing further receives once the bound is reached.
github.com/dapr/dapr/releases/tag/v1.17.15

Azure Event Hubs 체크포인트에 성공적인 처리 필요

영향 대상Azure Event Hubs pub/sub 및 입력 바인딩

이전에는 enableInOrderMessageDelivery: false일 때 체크포인팅이 메시지 전달과 별개로 fire-and-forget 방식으로 수행됐습니다. 이 값을 true로 설정해도 핸들러가 RETRY 응답을 반환하면 체크포인트가 기록됐습니다.

원문 보기
`enableInOrderMessageDelivery: false` remains the default and continues to control ordering only — it no longer has any bearing on whether a checkpoint requires success.
github.com/dapr/dapr/releases/tag/v1.17.15

중요 수정6드러나지 않던 결함3

  • Azure Event Hubs 체크포인트 진행에 필요한 성공적 처리드러나지 않던 결함
    영향 대상Azure Event Hubs pub/sub 및 입력 바인딩 컨슈머

    RETRY 이벤트나 사이드카가 충돌하거나 파티션 소유권을 잃었을 때 아직 처리 중이던 이벤트가 오류 없이 체크포인트에 반영되어 다시 전달되지 않을 수 있었습니다. 이제 핸들러 실패는 설정된 백오프에 따라 재시도하며, 체크포인트는 연속해서 성공적으로 처리된 이벤트 또는 배치까지만 진행됩니다.

    - [Azure Event Hubs checkpointed messages regardless of whether the application processed them](#azure-event-hubs-checkpointed-messages-regardless-of-whether-the-application-processed-them)
    github.com/dapr/dapr/releases/tag/v1.17.15
  • Azure Event Hubs 체크포인트 처리 수정드러나지 않던 결함
    영향 대상Azure Event Hubs pub/sub 또는 입력 바인딩

    핸들러가 RETRY를 반환한 이벤트나 사이드카 충돌 또는 파티션 소유권 상실 시 아직 처리 중이던 이벤트는 성공적으로 처리되지 않았는데도 체크포인트에 기록될 수 있었습니다. 그 결과 오류가 보고되지 않은 채 이벤트가 다시 전달되지 않을 수 있었습니다. 이제 핸들러 실패는 성공하거나 구독이 취소될 때까지 설정된 백오프에 따라 재시도됩니다. 체크포인트는 연속해서 성공적으로 처리된 이벤트나 배치까지만 진행되며, 구독 취소 또는 소유권 상실이 확인된 뒤에는 진행되지 않습니다.

    You were affected if you consumed messages through the Azure Event Hubs pub/sub component or received events through the Azure Event Hubs input binding.
    An event your application returned `RETRY` for, or one still in flight when the sidecar crashed or partition ownership was lost, was checkpointed and never redelivered, silently downgrading Dapr's documented at-least-once delivery guarantee ("Dapr attempts to redeliver the message until successful delivery") to at-most-once.
    No error was surfaced to the publisher or subscriber when this happened.
    Sibling pub/sub components such as Kafka and Service Bus already conditioned their commit or checkpoint on successful handling; only Event Hubs did not.
    The Azure Event Hubs pub/sub and input binding components advanced (checkpointed) their Event Hubs offsets without regard to whether the application actually handled the event successfully.
    `processEvents()` invoked the application through `handleAsync()`, but the error `handleAsync()` returned was discarded at the call site, leaving `UpdateCheckpoint()` with no condition to check before running.
    Both delivery modes were affected, in different ways:
    - With the default `enableInOrderMessageDelivery: false`, checkpointing happened fire-and-forget, independent of message delivery to the application.
    - With `enableInOrderMessageDelivery: true`, the component waited for the handler to return before checkpointing, but checkpointed anyway when the handler responded `RETRY`.
    github.com/dapr/dapr/releases/tag/v1.17.15
  • Azure Event Hubs 체크포인트에 성공 처리 결과 반영
    영향 대상이벤트 또는 배치 처리를 동시에 수행하는 Azure Event Hubs pub/sub 또는 입력 바인딩

    이전에는 이벤트나 배치 처리에 실패해도 해당 이벤트나 배치가 버려지고 오프셋은 체크포인트에 기록될 수 있었습니다. 이제 실패한 이벤트나 배치는 성공하거나 구독이 취소될 때까지 설정된 백오프에 따라 재시도됩니다. 파티션 체크포인트는 성공한 배치가 끊김 없이 이어진 구간의 가장 최신 지점까지만 진행됩니다. 또한 순서가 뒤바뀌는 경합을 막기 위해 파티션별 쓰기를 직렬화합니다.

    - Under concurrent handling, a partition's checkpoint advances only through the newest contiguous run of successful batches, and checkpoint writes for a partition are serialized so they can no longer race each other out of order.
    github.com/dapr/dapr/releases/tag/v1.17.15
  • 취소 또는 소유권 상실 시 Azure Event Hubs 체크포인팅 중단드러나지 않던 결함
    영향 대상Azure Event Hubs pub/sub 구독 및 입력 바인딩

    이전에는 RETRY로 반환된 이벤트나 사이드카가 충돌하거나 파티션 소유권을 잃었을 때 처리 중이던 이벤트가 체크포인트로 기록되어 재전달되지 않을 수 있었습니다. 오류가 보고되지 않은 채 전달 보장이 at-least-once에서 at-most-once로 바뀔 수도 있었습니다. 이제 취소가 발생하거나 파티션 소유권 상실이 확인되면 체크포인팅을 건너뜁니다.

    - Checkpointing is skipped once the subscription is cancelled or partition ownership loss is observed, and a checkpoint-store failure now surfaces as an error instead of being silently swallowed.
    github.com/dapr/dapr/releases/tag/v1.17.15
  • Azure Event Hubs 파티션별 체크포인트 쓰기 직렬화
    영향 대상Azure Event Hubs pub/sub 또는 입력 바인딩

    동시 처리 중에는 같은 파티션의 체크포인트 쓰기가 경쟁 상태로 인해 순서가 뒤바뀔 수 있었습니다. 이제 체크포인트는 성공한 배치가 연속된 구간 가운데 가장 최신 구간까지만 진행됩니다.

    - Under concurrent handling, a partition's checkpoint advances only through the newest contiguous run of successful batches, and checkpoint writes for a partition are serialized so they can no longer race each other out of order.
    github.com/dapr/dapr/releases/tag/v1.17.15
  • Azure Event Hubs 체크포인트 스토어 실패를 오류로 노출
    영향 대상Azure Event Hubs pub/sub 및 입력 바인딩 컴포넌트

    두 컴포넌트 중 어느 한쪽에서든 체크포인트 저장에 실패하면, 이전에는 그 실패가 외부에 드러나지 않았습니다.

    - Checkpointing is skipped once the subscription is cancelled or partition ownership loss is observed, and a checkpoint-store failure now surfaces as an error instead of being silently swallowed.
    github.com/dapr/dapr/releases/tag/v1.17.15

기능·개선1

  • Azure Event Hubs 체크포인트 빈도 설정
    - A new subscription-level `checkPointFrequencyPerPartition` option controls how often the checkpoint is persisted for a partition (starting with the first batch, then every N contiguous successfully-processed batches, or never if set to `0`); this only affects how far a restart may replay already-successful batches, not the correctness guarantee itself.
    github.com/dapr/dapr/releases/tag/v1.17.15
기타1
  • Azure Event Hubs 소비자의 체크포인트 부재 시 가장 오래된 보존 이벤트부터 시작
    - Both delivery modes now start from the earliest retained event when a consumer group has no stored checkpoint yet; an existing stored checkpoint always takes precedence.
    github.com/dapr/dapr/releases/tag/v1.17.15

정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.