Description of changes:
Add StreamConfig as a field within ShardInfo.
Previously, StreamIdentifier instances were reconstructed using the optional streamIdentifierSerOpt field within ShardInfo (which has since been removed).
Now, ShardInfo maintains a reference to the StreamIdentifier through StreamConfig, eliminating the need for reconstruction.
This change encompasses any additional refactoring necessitated by embedding StreamConfig within ShardInfo.
For example, there's no longer a need to explicitly provide initialPositionInStreamExtended (a field of StreamConfig) when ShardInfo is already available.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: N/A.
Description of changes: Add
StreamConfig
as a field withinShardInfo
.Previously,
StreamIdentifier
instances were reconstructed using the optionalstreamIdentifierSerOpt
field withinShardInfo
(which has since been removed). Now,ShardInfo
maintains a reference to theStreamIdentifier
throughStreamConfig
, eliminating the need for reconstruction.This change encompasses any additional refactoring necessitated by embedding
StreamConfig
withinShardInfo
. For example, there's no longer a need to explicitly provideinitialPositionInStreamExtended
(a field ofStreamConfig
) whenShardInfo
is already available.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.