Closed DylanKroft closed 7 months ago
Unfortunately the KCL pollers use MD5 for explicit hash key to shard mapping. If an alternate hashing mechanism would use, these wouldn't align and messages would very likely be dropped. Not really possible to workaround at this time.
Having said that, if no KCL is used in your application (and no AWS Lambda), then this could be modified within the aggregation and deaggregation libraries alone. Happy to take a PR that provides this as a non-default configuration.
Closing due to inactivity
As part of some work we are doing, we are not able to use MD5 hashing at all. However, this package currently only supports MD5 hashing in python/aws_kinesis_agg:
`def _serialize_to_bytes(self): """Serialize this record to bytes. Has no side effects (i.e. does not affect the contents of this record object).
and
Would it be possible to provide support for alternative forms of hashing?