Skip to content

feat: add support for configurable ReplicaKeys - #32

Merged
buraksezer merged 1 commit into
buraksezer:masterfrom
misalcedo:customReplicaKey
Aug 29, 2026
Merged

buraksezer merged 1 commit into
buraksezer:masterfrom
misalcedo:customReplicaKey

Conversation

@misalcedo

Copy link
Copy Markdown
Contributor

Introduces a configurable way to generate replica keys for virtual nodes in the consistent hashing implementation. This was achieved by adding the ReplicaKey field to the Config struct. The default behavior is preserved by exporting the old replicaKey function as DefaultReplicaKey.

Closes #31

@buraksezer buraksezer left a comment •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for your contribution.

I'm sorry if I break your project unintentionally.

@buraksezer
buraksezer merged commit b3597bb into buraksezer:master Aug 29, 2026
4 checks passed
@misalcedo

Copy link
Copy Markdown
Contributor Author

You're good. Thanks for the awesome library.

@misalcedo
misalcedo deleted the customReplicaKey branch August 31, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support configurable replica keys

2 participants