Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kfake: Support custom topic configuration validation #766

Closed
wants to merge 1 commit into from

Conversation

jan-g
Copy link
Contributor

@jan-g jan-g commented Jun 13, 2024

This adds an option to kfake to permit the installation of custom topic config validation functions in a Cluster.

(Additional topic configuration is stored, but not otherwise acted upon.)

This adds an option to kfake to permit the installation of custom topic config
validation functions in a `Cluster`.

(Additional topic configuration is stored, but not otherwise acted upon.)
@@ -102,7 +102,7 @@ func (gs groupState) String() string {

func (c *Cluster) coordinator(id string) *broker {
gen := c.coordinatorGen.Load()
n := hashString(fmt.Sprint("%d", gen)+"\x00\x00"+id) % uint64(len(c.bs))
n := hashString(fmt.Sprintf("%d", gen)+"\x00\x00"+id) % uint64(len(c.bs))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

linter carped about this: I think the original was a typo

@twmb
Copy link
Owner

twmb commented Jun 19, 2024

Closing due to other PR where we just remove this validation outright

@twmb twmb closed this Jun 19, 2024
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.

2 participants