Skip to content

Add design process#29

Open
robobario wants to merge 1 commit intokroxylicious:mainfrom
robobario:design-process
Open

Add design process#29
robobario wants to merge 1 commit intokroxylicious:mainfrom
robobario:design-process

Conversation

@robobario
Copy link
Copy Markdown
Member

We decided in our community call to require a design proposal for public API changes

@robobario robobario requested a review from a team as a code owner March 30, 2026 04:04
Signed-off-by: Robert Young <robertyoungnz@gmail.com>
Copy link
Copy Markdown
Member

@k-wall k-wall left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me.

* Wire-protocol changes (e.g. format of encrypted data emitted by Proxy)

Design proposals should be submitted to the [design repository](https://github.com/kroxylicious/design).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should the cross posting of the design proposal kroxylicious-dev@googlegroups.com be part of the process?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, please! In fact I'd advocate:

  • When the PR is "Ready for Review" (i.e. it's fine to open it as a Draft a solicit feedback from individual etc, but then announce to the whole community when you're ready for feedback from the whole community)
  • If we end up doing formal voting on PRs: when asking to start the vote.
  • When and if the PR is accepted (i.e. merged).

Copy link
Copy Markdown
Member

@tombentley tombentley left a comment

Choose a reason for hiding this comment

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

Thanks @robobario I left a few comments.


Public APIs include (but are not limited to):
* Proxy configuration YAML
* Filter configuration YAML
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we can generalise this from Filter to Plugin configuration. But also we should be clear that this only applies to those Plugins provided by the project ("1st party plugins" is the phrase I would use, but maybe it's worth a sentence to define it in words).

* Proxy configuration YAML
* Filter configuration YAML
* Kubernetes CRDs
* Operator manifested resources (like public bootstrap server addresses)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I didn't immediately understand what you meant here. But really I think this is mostly covered by the CRD part isn't it?

The semantics you want are a bit tricky, because it's not the kube resource themselves, so much as the visible parts of them. For example, so long as the hostname, port and expected protocol of a VC didn't change we are at liberty to change how those are provided in terms of the Kube resources.

* Kubernetes CRDs
* Operator manifested resources (like public bootstrap server addresses)
* Filter API (and other plugins) interfaces
* Wire-protocol changes (e.g. format of encrypted data emitted by Proxy)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Question: What about the test support maven modules? And the record tools module?

Aside: We should probably fix the split packages in those modules as part of Kroxylicious 1.0, so that we're moving towards having jars which are Java modules.

* Changes to existing API signatures or behavior
* Removal or deprecation of APIs

Public APIs include (but are not limited to):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I need to define public API for the Kroxylicious 1.0 proposal, and it's also helpful to refer to it from a CLAUDE.md, so I think we should actually have a single source of truth as an .md in the kroxylicious/kroxylicious repo.

We should also make it an exhaustive list "Public APIs are:" not "include (but not limited to)". Otherwise it's all a bit too vague.

* Wire-protocol changes (e.g. format of encrypted data emitted by Proxy)

Design proposals should be submitted to the [design repository](https://github.com/kroxylicious/design).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, please! In fact I'd advocate:

  • When the PR is "Ready for Review" (i.e. it's fine to open it as a Draft a solicit feedback from individual etc, but then announce to the whole community when you're ready for feedback from the whole community)
  • If we end up doing formal voting on PRs: when asking to start the vote.
  • When and if the PR is accepted (i.e. merged).

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.

3 participants