You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by gk...@apache.org on 2026/10/02 10:14:21 UTC

(iggy) branch rfc_template created (now 1a3cf551d)

This is an automated email from the ASF dual-hosted git repository.

numinnex pushed a change to branch rfc_template
in repository https://gitbox.apache.org/repos/asf/iggy.git


      at 1a3cf551d rfc template

This branch includes the following new commits:

     new 1a3cf551d rfc template

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iggy) 01/01: rfc template

Posted by gk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

numinnex pushed a commit to branch rfc_template
in repository https://gitbox.apache.org/repos/asf/iggy.git

commit 1a3cf551d3356ee248db0fa4601e819486c1f223
Author: Grzegorz Koszyk <g....@gmail.com>
AuthorDate: Fri Oct 2 12:13:39 2026 +0200

    rfc template
---
 .github/workflows/pr-title.yml |   1 +
 CONTRIBUTING.md                |   6 +
 rfcs/README.md                 | 258 +++++++++++++++++++++++++++++++++++++++++
 rfcs/rfc-template.md           |  90 ++++++++++++++
 4 files changed, 355 insertions(+)

diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml
index f53a37a86..bb6408934 100644
--- a/.github/workflows/pr-title.yml
+++ b/.github/workflows/pr-title.yml
@@ -50,6 +50,7 @@ jobs:
             revert
             repo
             deps
+            rfc
           scopes: |
             bdd
             bench
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5cec59d59..fc0dd2d90 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -162,6 +162,12 @@ chore(integration): remove streaming tests superseded by API-level coverage
 
 Keep subject under 72 chars. Use body for details if needed.
 
+A pull request that adds or amends an RFC under `rfcs/` uses the type `rfc`
+and, like every other type, a scope from the list in
+`.github/workflows/pr-title.yml`, for example `rfc(storage): tiered storage`.
+If no existing scope fits, add the RFC's feature name to that list in the same
+pull request.
+
 ## PR Triage Commands
 
 Move a PR around the review queue by posting a slash command on its own
diff --git a/rfcs/README.md b/rfcs/README.md
new file mode 100644
index 000000000..53c8730c9
--- /dev/null
+++ b/rfcs/README.md
@@ -0,0 +1,258 @@
+<!-- markdownlint-disable MD053 -->
+
+# Iggy RFCs
+
+[Iggy RFCs]: #iggy-rfcs
+
+The "RFC" (request for comments) process is intended to provide a consistent
+and controlled path for changes to Iggy (such as new features) so that all
+stakeholders can be confident about the direction of the project.
+
+Many changes, including bug fixes and documentation improvements can be
+implemented and reviewed via the normal GitHub pull request workflow.
+
+Some changes though are "substantial", and we ask that these be put through a
+bit of a design process and produce a consensus among the Iggy community and
+the [maintainers].
+
+## Table of Contents
+
+[Table of Contents]: #table-of-contents
+
+- [Opening](#iggy-rfcs)
+- [Table of Contents]
+- [When you need to follow this process]
+- [Before creating an RFC]
+- [What the process is]
+- [RFC numbering]
+- [The RFC life-cycle]
+- [Reviewing RFCs]
+- [Implementing an RFC]
+- [RFC Postponement]
+- [Help this is all too informal]
+- [License]
+- [Contributions]
+
+## When you need to follow this process
+
+[When you need to follow this process]: #when-you-need-to-follow-this-process
+
+You need to follow this process if you intend to make "substantial" changes to
+the Iggy server, the wire protocol, the SDKs, the connectors runtime, or the RFC
+process itself. What constitutes a "substantial" change is evolving based on
+community norms and varies depending on what part of the project you are
+proposing to change, but may include the following.
+
+- Any change to the wire protocol or the on-disk format that is not a bugfix.
+- A new storage, replication, or consumption model, or a change to how an
+  existing one behaves.
+- Removing features, including those behind a feature flag.
+- Large additions to the SDK surface that every SDK must then implement.
+
+Some changes do not require an RFC:
+
+- Rephrasing, reorganizing, refactoring, or otherwise "changing shape does
+  not change meaning".
+- Additions that strictly improve objective, numerical quality criteria
+  (warning removal, speedup, better platform coverage, more parallelism, trap
+  more errors, etc.)
+- Additions only likely to be *noticed by* other developers-of-iggy,
+  invisible to users-of-iggy.
+
+If you submit a pull request to implement a new feature without going through
+the RFC process, it may be closed with a polite request to submit an RFC first.
+
+## Before creating an RFC
+
+[Before creating an RFC]: #before-creating-an-rfc
+
+A hastily-proposed RFC can hurt its chances of acceptance. Low quality
+proposals, proposals for previously-rejected features, or those that don't fit
+into the near-term roadmap, may be quickly rejected, which can be demotivating
+for the unprepared contributor. Laying some groundwork ahead of the RFC can
+make the process smoother.
+
+Although there is no single way to prepare for submitting an RFC, it is
+generally a good idea to pursue feedback from other project developers
+beforehand, to ascertain that the RFC may be desirable; having a consistent
+impact on the project requires concerted effort toward consensus-building.
+
+The most common preparations for writing and submitting an RFC include talking
+the idea over on our [Discord server], discussing the topic in [GitHub
+Discussions], and occasionally posting "pre-RFCs" there. You may file issues on
+this repo for discussion, but these are not actively looked at by the
+maintainers.
+
+As a rule of thumb, receiving encouraging feedback from long-standing project
+developers, and particularly from the [maintainers], is a good indication that
+the RFC is worth pursuing.
+
+## What the process is
+
+[What the process is]: #what-the-process-is
+
+In short, to get a major feature added to Iggy, one must first get the RFC
+merged into the `rfcs/` directory of this repository as a markdown file. At
+that point the RFC is "active" and may be implemented with the goal of eventual
+inclusion into Iggy.
+
+- Fork the [Iggy repository].
+- Copy `rfcs/rfc-template.md` to `rfcs/rfc-0-my-feature.md` (where
+  "my-feature" is descriptive). Don't assign an RFC number yet; `0` marks an
+  unassigned number, and one is assigned when the RFC is accepted and the file
+  is renamed accordingly. See [RFC numbering].
+- Fill in the RFC. Put care into the details: RFCs that do not present
+  convincing motivation, demonstrate lack of understanding of the design's
+  impact, or are disingenuous about the drawbacks or alternatives tend to
+  be poorly-received.
+- Submit a pull request titled `rfc(<scope>): <subject>`, where the scope is
+  one of those accepted by the PR title check. As a pull request the RFC will
+  receive design feedback from the larger community, and the author should be
+  prepared to revise it in response.
+- Now that your RFC has an open pull request, update the "RFC PR" link at the
+  top of the file to point at it.
+- Build consensus and integrate feedback. RFCs that have broad support are
+  much more likely to make progress than those that don't receive any
+  comments. Feel free to reach out to the maintainers in particular to get
+  help identifying stakeholders and obstacles.
+- The maintainers will discuss the RFC pull request, as much as possible in the
+  comment thread of the pull request itself. Offline discussion will be
+  summarized on the pull request comment thread.
+- RFCs rarely go through this process unchanged, especially as alternatives
+  and drawbacks are shown. You can make edits, big and small, to the RFC to
+  clarify or change the design, but make changes as new commits to the pull
+  request, and leave a comment on the pull request explaining your changes.
+  **Specifically, do not squash or rebase commits after they are visible on
+  the pull request.**
+- At some point, a maintainer will propose a "motion for final comment period"
+  (FCP), along with a *disposition* for the RFC (merge, close, or postpone).
+  - This step is taken when enough of the tradeoffs have been discussed that
+    the maintainers are in a position to make a decision. That does not require
+    consensus amongst all participants in the RFC thread (which is usually
+    impossible). However, the argument supporting the disposition on the RFC
+    needs to have already been clearly articulated, and there should not be a
+    strong consensus *against* that position outside of the maintainers.
+    Maintainers use their best judgment in taking this step, and the FCP itself
+    ensures there is ample time and notification for stakeholders to push
+    back if it is made prematurely.
+  - For RFCs with lengthy discussion, the motion to FCP is usually preceded by
+    a *summary comment* trying to lay out the current state of the discussion
+    and major tradeoffs/points of disagreement.
+  - Before actually entering FCP, the maintainers must sign off; this is often
+    the point at which many of them first review the RFC in full depth.
+- The FCP lasts ten calendar days, so that it is open for at least 5 business
+  days. It is also advertised on the [dev mailing list]. This way all
+  stakeholders have a chance to lodge any final objections before a decision
+  is reached.
+- In most cases, the FCP period is quiet, and the RFC is either merged or
+  closed. However, sometimes substantial new arguments or ideas are raised,
+  the FCP is canceled, and the RFC goes back into development mode.
+
+## RFC numbering
+
+[RFC numbering]: #rfc-numbering
+
+RFC numbers are small sequential integers without zero padding, assigned when
+an RFC is accepted, so the first RFC is `rfc-1`. Whoever merges the pull request
+renames `rfcs/rfc-0-my-feature.md` to the next free number, for example
+`rfcs/rfc-7-my-feature.md`, and fills in the "Iggy Issue" link with the
+tracking issue opened for the implementation.
+
+Pull request numbers are not used as RFC numbers because this repository's
+counter is shared with every other pull request, which would make RFC numbers
+large, sparse, and meaningless as a sequence. While an RFC is under review it
+is referred to by its feature name.
+
+## The RFC life-cycle
+
+[The RFC life-cycle]: #the-rfc-life-cycle
+
+Once an RFC becomes "active" then authors may implement it and submit the
+feature as a pull request to the Iggy repository. Being "active" is not a
+rubber stamp, and in particular still does not mean the feature will ultimately
+be merged; it does mean that in principle all the major stakeholders have
+agreed to the feature and are amenable to merging it.
+
+Furthermore, the fact that a given RFC has been accepted and is "active"
+implies nothing about what priority is assigned to its implementation, nor does
+it imply anything about whether an Iggy developer has been assigned the task of
+implementing the feature. While it is not *necessary* that the author of the
+RFC also write the implementation, it is by far the most effective way to see
+an RFC through to completion: authors should not expect that other project
+developers will take on responsibility for implementing their accepted feature.
+
+Modifications to "active" RFCs can be done in follow-up pull requests. We
+strive to write each RFC in a manner that it will reflect the final design of
+the feature; but the nature of the process means that we cannot expect every
+merged RFC to actually reflect what the end result will be at the time of the
+next major release.
+
+In general, once accepted, RFCs should not be substantially changed. Only very
+minor changes should be submitted as amendments. More substantial changes
+should be new RFCs, with a note added to the original RFC. Exactly what counts
+as a "very minor change" is up to the maintainers to decide.
+
+## Reviewing RFCs
+
+[Reviewing RFCs]: #reviewing-rfcs
+
+While the RFC pull request is up, the maintainers may schedule a call with the
+author and/or relevant stakeholders to discuss the issues in greater detail, or
+discuss the topic on Discord. In either case a summary from the discussion will
+be posted back to the RFC pull request.
+
+The maintainers make final decisions about RFCs after the benefits and
+drawbacks are well understood. These decisions can be made at any time, but the
+maintainers will regularly issue decisions. When a decision is made, the RFC
+pull request will either be merged or closed. In either case, if the reasoning
+is not clear from the discussion in thread, the maintainers will add a comment
+describing the rationale for the decision.
+
+## Implementing an RFC
+
+[Implementing an RFC]: #implementing-an-rfc
+
+Some accepted RFCs represent vital features that need to be implemented right
+away. Other accepted RFCs can represent features that can wait until some
+arbitrary developer feels like doing the work. Every accepted RFC has an
+associated issue tracking its implementation in the Iggy repository; thus that
+associated issue can be assigned a priority via the triage process that the
+maintainers use for all issues in the Iggy repository.
+
+The author of an RFC is not obligated to implement it. Of course, the RFC
+author (like any other developer) is welcome to post an implementation for
+review after the RFC has been accepted.
+
+If you are interested in working on the implementation for an "active" RFC, but
+cannot determine if someone else is already working on it, feel free to ask
+(e.g. by leaving a comment on the associated issue).
+
+### Help this is all too informal
+
+[Help this is all too informal]: #help-this-is-all-too-informal
+
+The process is intended to be as lightweight as reasonable for the present
+circumstances. As usual, we are trying to let the process be driven by
+consensus and community norms, not impose more structure than necessary.
+
+## License
+
+[License]: #license
+
+The contents of this directory are licensed under the
+[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0),
+like the rest of the repository.
+
+### Contributions
+
+[Contributions]: #contributions
+
+Unless you explicitly state otherwise, any contribution intentionally submitted
+for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
+licensed as above, without any additional terms or conditions.
+
+[Discord server]: https://discord.gg/apache-iggy
+[GitHub Discussions]: https://github.com/apache/iggy/discussions
+[dev mailing list]: mailto:dev@iggy.apache.org
+[Iggy repository]: https://github.com/apache/iggy
+[maintainers]: https://github.com/apache/iggy/blob/master/.asf.yaml
diff --git a/rfcs/rfc-template.md b/rfcs/rfc-template.md
new file mode 100644
index 000000000..3f6853cf7
--- /dev/null
+++ b/rfcs/rfc-template.md
@@ -0,0 +1,90 @@
+<!-- markdownlint-disable MD053 -->
+
+- Feature Name: (fill me in with a unique ident, `my_awesome_feature`)
+- Start Date: (fill me in with today's date, YYYY-MM-DD)
+- RFC PR: [apache/iggy#0000](https://github.com/apache/iggy/pull/0000)
+- Iggy Issue: [apache/iggy#0000](https://github.com/apache/iggy/issues/0000)
+
+## Summary
+
+[summary]: #summary
+
+One paragraph explanation of the feature.
+
+## Motivation
+
+[motivation]: #motivation
+
+Any changes to Iggy should focus on solving a problem that users of Iggy are having.
+This section should explain this problem in detail, including necessary background.
+
+It should also contain several specific use cases where this feature can help a user, and explain how it helps.
+This can then be used to guide the design of the feature.
+
+This section is one of the most important sections of any RFC, and can be lengthy.
+
+## Guide-level explanation
+
+[guide-level-explanation]: #guide-level-explanation
+
+Explain the proposal as if it was already included in Iggy and you were teaching it to another Iggy user. That generally means:
+
+- Introducing new named concepts.
+- Explaining the feature largely in terms of examples.
+- Explaining how Iggy users should *think* about the feature, and how it should impact the way they use Iggy. It should explain the impact as concretely as possible.
+- If applicable, provide sample error messages, deprecation warnings, or migration guidance.
+- If applicable, describe the differences between teaching this to existing Iggy users and new Iggy users.
+- Discuss how this impacts the ability to read, understand, and maintain Iggy code. Code is read and modified far more often than written; will the proposed feature make code easier to maintain?
+
+For implementation-oriented RFCs (e.g. for server internals), this section should focus on how Iggy contributors should think about the change, and give examples of its concrete impact. For policy RFCs, this section should provide an example-driven introduction to the policy, and explain its impact in concrete terms.
+
+## Reference-level explanation
+
+[reference-level-explanation]: #reference-level-explanation
+
+This is the technical portion of the RFC. Explain the design in sufficient detail that:
+
+- Its interaction with other features is clear.
+- It is reasonably clear how the feature would be implemented.
+- Corner cases are dissected by example.
+
+The section should return to the examples given in the previous section, and explain more fully how the detailed proposal makes those examples work.
+
+## Drawbacks
+
+[drawbacks]: #drawbacks
+
+Why should we *not* do this?
+
+## Rationale and alternatives
+
+[rationale-and-alternatives]: #rationale-and-alternatives
+
+- Why is this design the best in the space of possible designs?
+- What other designs have been considered and what is the rationale for not choosing them?
+- What is the impact of not doing this?
+
+## Prior art
+
+[prior-art]: #prior-art
+
+Discuss prior art, both the good and the bad, in relation to this proposal.
+A few examples of what this can include are:
+
+- For server, SDK, protocol, and tooling proposals: Does this feature exist in other streaming or storage systems and what experience have their community had?
+- For community proposals: Is this done by some other community and what were their experiences with it?
+- For other teams: What lessons can we learn from what other communities have done here?
+- Papers: Are there any published papers or great posts that discuss this? If you have some relevant papers to refer to, this can serve as a more detailed theoretical background.
+
+This section is intended to encourage you as an author to think about the lessons from other systems, provide readers of your RFC with a fuller picture.
+If there is no prior art, that is fine - your ideas are interesting to us whether they are brand new or if it is an adaptation from other systems.
+
+Note that while precedent set by other systems is some motivation, it does not on its own motivate an RFC.
+Please also take into consideration that Iggy sometimes intentionally diverges from common streaming system features.
+
+## Unresolved questions
+
+[unresolved-questions]: #unresolved-questions
+
+- What related issues do you consider out of scope for this RFC that could be addressed in the future independently of the solution that comes out of this RFC?
+- What can be covered by the deterministic simulator, and what can only be tested in integration against real infrastructure or not at all?