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

Remove Deprecations #10309

Merged
merged 6 commits into from
Oct 16, 2024
Merged

Remove Deprecations #10309

merged 6 commits into from
Oct 16, 2024

Conversation

kobergj
Copy link
Collaborator

@kobergj kobergj commented Oct 15, 2024

Removes deprecated stores/caches/registries/envvars

Fixes #9938

Copy link

sonarcloud bot commented Oct 16, 2024

Comment on lines -71 to -73
case "kubernetes":
fmt.Println("Attention: kubernetes registry is deprecated, use nats-js-kv instead")
_reg = kubernetesr.NewRegistry()
Copy link
Member

Choose a reason for hiding this comment

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

I still think the kubernetes registry is the right one to use in kubernetes. That we moved to nats-js-kv was due to bugs and misconfiguration. We are currently creating dozens of nats connections, eg in the gateway, when we could reuse one connection: every go micro http/grpc client creates an internal registry cache. A different problem, but it tells me that we should not drop support for the kubernetes registry, yet.

Copy link
Member

@butonic butonic left a comment

Choose a reason for hiding this comment

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

pleas leave the kubernetes registry in

Copy link
Member

@butonic butonic left a comment

Choose a reason for hiding this comment

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

A way forward might be to use go grpc natively ... then we don't need the go micro registry at all. So, get rid of the kubernetes registry for now.

For reference, I dug into grpc connection management a while ago: #8589 (comment)

And we need to finish the ADR: #9488

@butonic butonic merged commit 9ccc976 into owncloud:master Oct 16, 2024
4 checks passed
ownclouders pushed a commit that referenced this pull request Oct 16, 2024
@kobergj kobergj deleted the RemoveDeprecations branch October 16, 2024 13:02
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.

Remove deprecated registries and caches/stores
4 participants