Files
floci/docs/services
Ben YounesandBen Younes a006b27694 fix: honor Kinesis ExplicitHashKey routing (#3069)
* fix: honor kinesis explicit hash keys

* fix(kinesis): reject numeric ExplicitHashKey and migrate legacy shard ranges (#3069)

Address the two review findings on explicit-hash-key routing:

- Reject a non-string ExplicitHashKey JSON node with SerializationException
  in PutRecord and PutRecords, instead of letting asText coerce a JSON number
  into an accepted decimal string, preserving AWS wire-protocol fidelity.
- Repartition legacy multi-shard streams whose open shards still carry the old
  full-span hash range into disjoint contiguous ranges before explicit-hash
  routing, so an explicit key no longer collapses onto the first shard after an
  upgrade. Already-disjoint (new/split/merged) streams are left untouched.

RED -> GREEN: 3 new tests failed on the prior HEAD
(putRecordRejectsNumericExplicitHashKey, putRecordsRejectNumericExplicitHashKey,
putRecordMigratesLegacyOverlappingShardRangesForExplicitHashKey), all green
after the fix. Kinesis suite: 118 run, 0 failures.

---------

Co-authored-by: Ben Younes <2910651+ousamabenyounes@users.noreply.github.com>
2026-09-05 12:35:06 -04:00
..
2026-05-10 11:53:31 -05:00
2026-08-21 00:09:04 -04:00
2026-09-02 11:39:10 -04:00
2026-05-10 11:53:31 -05:00