Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-12 Thread Justine Olshan
Hi Jun, Ok sounds good. Justine On Fri, Apr 12, 2024 at 10:17 AM Jun Rao wrote: > Hi, Justine, > > unstable.metadata.versions.enable is an internal configuration. So, we > could probably just remove it instead of depreciation. Also, it would be > useful to make it clear that

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-12 Thread Jun Rao
Hi, Justine, unstable.metadata.versions.enable is an internal configuration. So, we could probably just remove it instead of depreciation. Also, it would be useful to make it clear that unstable.feature.versions.enable is an internal configuration. Thanks, Jun On Thu, Apr 11, 2024 at 11:16 AM

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-11 Thread Justine Olshan
Updated. :) Thanks for the reviews Justine On Thu, Apr 11, 2024 at 11:01 AM Jun Rao wrote: > Hi, Justine, > > Thanks for the updated KIP. > > Perhaps it's better to name the new config unstable.feature.versions.enable > since there could be multiple unstable versions. > > Other than that, the

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-11 Thread Jun Rao
Hi, Justine, Thanks for the updated KIP. Perhaps it's better to name the new config unstable.feature.versions.enable since there could be multiple unstable versions. Other than that, the KIP looks good to me. Jun On Thu, Apr 11, 2024 at 9:06 AM Justine Olshan wrote: > The original config

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-11 Thread Justine Olshan
The original config was never actually approved in any KIP. But we can say it is deprecated. I can change the config name. Justine On Thu, Apr 11, 2024 at 8:52 AM Jun Rao wrote: > Hi, Justine, > > Thanks for the updated KIP. > > Would unstable.feature.version.enable be a clearer name? Also,

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-11 Thread Jun Rao
Hi, Justine, Thanks for the updated KIP. Would unstable.feature.version.enable be a clearer name? Also, should we remove/deprecate unstable.metadata.versions.enable in this KIP? Jun On Tue, Apr 9, 2024 at 9:09 AM Justine Olshan wrote: > Hi Jun, > > Makes sense to me. It seems like KIP-1014

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-10 Thread José Armando García Sancio
Hi Justine, On Tue, Apr 9, 2024 at 4:19 PM Justine Olshan wrote: > As for the validation criteria. It seems like one bit of code that > validates whether a version is allowed is in the method > `reasonNotSupported` which checks the range of features available for the > given feature. > For

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-09 Thread Justine Olshan
I took a quick look at the code -- looks like the previous behavior was not to set a top level error if one particular feature had an issue. We can do that. I think it could make some sense to specify errors on features that were not valid and use the top level error to indicate that the request

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-09 Thread Justine Olshan
José, INVALID_UPDATE_VERSION was added as part of KIP-497. The KIP seems to be lacking some details on the error. https://cwiki.apache.org/confluence/display/KAFKA/KIP-497%3A+Add+inter-broker+API+to+alter+ISR https://github.com/apache/kafka/commit/57de67db22eb373f92ec5dd449d317ed2bc8b8d1 The

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-09 Thread José Armando García Sancio
Hi Justine, Thanks for the KIP. I see that the KIP doesn't make any updates to the UpdateFeatures RPC. I was trying to understand how errors will be communicated to the client. Are you planning to use the INVALID_UPDATE_VERSION error and overwrite the ErrorMessage field for all of the

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-09 Thread Justine Olshan
Hi Jun, Makes sense to me. It seems like KIP-1014 has been inactive recently. I can update my KIP and mention this change on that discussion thread. Justine On Tue, Apr 9, 2024 at 9:01 AM Jun Rao wrote: > Hi, Justine, > > A single config makes sense to me too. We just need to reach consensus

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-09 Thread Jun Rao
Hi, Justine, A single config makes sense to me too. We just need to reach consensus with KIP-1014. Thanks, Jun On Mon, Apr 8, 2024 at 5:06 PM Justine Olshan wrote: > Hey Jun, > > That's a good question. I think maybe for simplicity, we can have a single > config? > If that makes sense, I

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-08 Thread Justine Olshan
Hey Jun, That's a good question. I think maybe for simplicity, we can have a single config? If that makes sense, I will update the KIP. Justine On Mon, Apr 8, 2024 at 3:20 PM Jun Rao wrote: > Hi, Justine, > > Thanks for the updated KIP. > > One more question related to KIP-1014. It introduced

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-08 Thread Jun Rao
Hi, Justine, Thanks for the updated KIP. One more question related to KIP-1014. It introduced a new config unstable.metadata.versions.enable. Does each new feature need to have a corresponding config to enable the testing of unstable features or should we have a generic config enabling the

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-04 Thread Justine Olshan
I'm hoping this covers the majority of comments. I will go ahead and open the vote in the next day or so. Thanks, Justine On Wed, Apr 3, 2024 at 3:31 PM Justine Olshan wrote: > Find and replace has failed me :( > > Group version seems a little vague, but we can update it. Hopefully find > and

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-03 Thread Justine Olshan
Find and replace has failed me :( Group version seems a little vague, but we can update it. Hopefully find and replace won't fail me again, otherwise I will get another email on this. Justine On Wed, Apr 3, 2024 at 12:15 PM David Jacot wrote: > Thanks, Justine. > > * Should we also use

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-03 Thread David Jacot
Thanks, Justine. * Should we also use `group.version` (GV) as I suggested in my previous message in order to be consistent? * Should we add both names to the `Public Interfaces` section? * There is still at least one usage of `transaction.protocol.verison` in the KIP too. Best, David On Wed,

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-03 Thread Justine Olshan
I had missed the David's message yesterday about the naming for transaction version vs transaction protocol version. After some offline discussion with Jun, Artem, and David, we agreed that transaction version is simpler and conveys more than just protocol changes (flexible records for example)

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-02 Thread Justine Olshan
Updated! Justine On Tue, Apr 2, 2024 at 2:40 PM Jun Rao wrote: > Hi, Justine, > > Thanks for the reply. > > 21. Sounds good. It would be useful to document that. > > 22. Should we add the IV in "metadata.version=17 has no dependencies" too? > > Jun > > > On Tue, Apr 2, 2024 at 11:31 AM Justine

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-02 Thread Jun Rao
Hi, Justine, Thanks for the reply. 21. Sounds good. It would be useful to document that. 22. Should we add the IV in "metadata.version=17 has no dependencies" too? Jun On Tue, Apr 2, 2024 at 11:31 AM Justine Olshan wrote: > Jun, > > 21. Next producer ID field doesn't need to be populated

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-02 Thread Justine Olshan
Hi José I originally had each on a new line and then switched to a single line since it looked like a lot of space. I can switch it back. I don't think it makes a big difference if we implement it for both tools. Both tools will have use for it. I can change the name to feature-dependencies if

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-02 Thread José Armando García Sancio
Hi Justine, See my comments below. On Mon, Apr 1, 2024 at 4:43 PM Justine Olshan wrote: > 20. I can update the KIP. I took a look at the latest KIP. * Should the output of this command "bin/kafka-features.sh version-mapping --release-version 3.6-IV1" be something like this:

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-02 Thread Justine Olshan
Jun, 21. Next producer ID field doesn't need to be populated for TV 1. We don't have the same need to retain this since it is written directly to the transaction log in InitProducerId. It is only needed for KIP-890 part 2 / TV 2. 22. We can do that. Justine On Tue, Apr 2, 2024 at 10:41 AM Jun

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-02 Thread Jun Rao
Hi, Justine, Thanks for the reply. 21. What about the new NextProducerId field? Will that be populated with TV 1? 22. In the dependencies output, should we show both IV and level for metadata.version too? Jun On Mon, Apr 1, 2024 at 4:43 PM Justine Olshan wrote: > Hi Jun, > > 20. I can

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-02 Thread David Jacot
Hi Justine, Thanks for the KIP. This will be very helpful! I do have one question regarding the naming of the new flags which is not totally clear in the KIP. It would be great if we could call them out in the Public Interfaces section. My understanding is that the KIP proposes to use

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-02 Thread David Jacot
Hi Jun, > Historically, the format of all records were controlled by MV. Now, records in _offset_commit will be controlled by `group.coordinator.version`, is that right? It would be useful to document that. Yes. This is correct. The idea is to replace the MV with this new flag. It will have the

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-01 Thread Justine Olshan
Hi Jun, 20. I can update the KIP. 21. This is used to complete some of the work with KIP-360. (We use previous producer ID there, but never persisted it which was in the KIP https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89068820) The KIP also mentions including previous epoch

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-01 Thread Jun Rao
Hi, Justine, Thanks for the updated KIP. A couple of more comments. 20. Could we show the output of version-mapping? 21. "Transaction version 1 will include the flexible fields in the transaction state log, and transaction version 2 will include the changes to the transactional protocol as

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-04-01 Thread Justine Olshan
I have also updated the KIP to mention the feature tool's --metadata flag will be deprecated. It will still work for users as they learn the new flag, but a warning indicating the alternatives will be shown. Justine On Thu, Mar 28, 2024 at 11:03 AM Justine Olshan wrote: > Hi Jun, > > For both

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-28 Thread Justine Olshan
Hi Jun, For both transaction state and group coordinator state, there are only version 0 records. KIP-915 introduced flexible versions, but it was never put to use. MV has never gated these. This KIP will do that. I can include this context in the KIP. I'm happy to modify his 1 and 2 to 0 and 1.

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-28 Thread Jun Rao
Hi, David, Thanks for the reply. Historically, the format of all records were controlled by MV. Now, records in _offset_commit will be controlled by `group.coordinator.version`, is that right? It would be useful to document that. Also, we should align on the version numbering. "kafka-feature

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-28 Thread Andrew Schofield
Hi David, I agree that we should use the same mechanism to gate KIP-932 once that feature reaches production readiness. The precise details of the values will depend upon the current state of all these flags when that release comes. Thanks, Andrew > On 28 Mar 2024, at 07:11, David Jacot wrote:

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-28 Thread David Jacot
Hi, Jun, Justine, Regarding `group.coordinator.version`, the idea is to use it to gate records and APIs of the group coordinator. The first use case will be KIP-848. We will use version 2 of the flag to gate all the new records and the new ConsumerGroupHeartbeat/Describe APIs present in AK 3.8.

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Jun Rao
Hi, Justine, Thanks for the reply. So, "dependencies" and "version-mapping" will be added to both kafka-feature and kafka-storage? Could we document that in the tool format section? Jun On Wed, Mar 27, 2024 at 4:01 PM Justine Olshan wrote: > Ok. I can remove the info from the describe

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Justine Olshan
Ok. I can remove the info from the describe output. Dependencies is needed for the storage tool because we want to make sure the desired versions we are setting will be valid. Version mapping should be for both tools since we have --release-version for both tools. I was considering changing the

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Jun Rao
Hi, Justine, Thanks for the reply. Having "kafka-feature dependencies" seems enough to me. We don't need to include the dependencies in the output of "kafka-feature describe". We only support "dependencies" in kafka-feature, not kafka-storage. We probably should do the same for

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Justine Olshan
I had already included this example bin/kafka-features.sh downgrade --feature metadata.version=16 --transaction.protocol.version=2 // Throws error if metadata version is < 16, and this would be an upgrade But I have updated the KIP to explicitly say the text you mentioned. Justine On Wed, Mar

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread José Armando García Sancio
Hi Justine, See my comment below. On Wed, Mar 27, 2024 at 1:31 PM Justine Olshan wrote: > The feature command includes the upgrade or downgrade command along with > the --release-version flag. If some features are not moving in the > direction mentioned (upgrade or downgrade) the command will

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Justine Olshan
Hey Jun, Right, sorry this would be one row in an output of all the various features (transaction.protocol.version, group.coordinator.version) currently set on the cluster. If we want to know the dependencies for each of a given feature (ie transaction.protocol.versions 0, 1, 2, 3 etc) we can

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Jun Rao
Hi, Justine, It seems that we need to specify the dependencies for each feature version? Thanks, Jun On Wed, Mar 27, 2024 at 11:28 AM Justine Olshan wrote: > Hey Jun, > > So just including the dependencies for the currently set features? Along > with the supported min, max, and finalized

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Justine Olshan
Hey Jun, So just including the dependencies for the currently set features? Along with the supported min, max, and finalized versions? Feature: transaction.protocol.version SupportedMinVersion: 0 SupportedMaxVersion: 2 FinalizedVersionLevel: 1 Epoch: 3 Dependencies: metadata.version=4 On Wed,

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Jun Rao
Hi, Justine, Yes, something like that. We could also extend "kafka-feature describe" by adding the dependency to every feature in the output. Thanks, Jun On Wed, Mar 27, 2024 at 10:39 AM Justine Olshan wrote: > Hi Jun, > > We could expose them in a tool. I'm wondering, are you thinking

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Justine Olshan
Hi Jun, We could expose them in a tool. I'm wondering, are you thinking something like a command that lists the dependencies for a given feature + version? Something like: kafka-feature dependencies --feature transaction.protocol.version=2 > transaction.protocol.verison=2 requires

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-27 Thread Jun Rao
Hi, Colin, Thanks for the comments. It's fine if we want to keep the --metadata flag if it's useful. Then we should add the same flag for kafka-storage for consistency, right? Hi, Justine, Thanks for the reply. How will a user know about the dependencies among features? Should we expose them

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-26 Thread Colin McCabe
Hi all, Thanks for the discussion. Let me respond to a few questions I saw in the thread (hope I didn't miss any!) Feature level 0 is "special" because it effectively means that the feature hasn't been set up. So I could create a foo feature, a bar feature, and a baz feature

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-26 Thread Justine Olshan
Hi all, I've added the notes about requiring 3.3-IV0 and that the tool/rpc will fail if the metadata version is too low. I will wait for Colin's response on the deprecation. I am not opposed to deprecating it but want everyone to agree. Justine On Tue, Mar 26, 2024 at 12:26 PM José Armando

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-26 Thread José Armando García Sancio
Hi Justine, On Mon, Mar 25, 2024 at 5:09 PM Justine Olshan wrote: > The reason it is not removed is purely for backwards > compatibility. Colin had strong feelings about not removing any flags. We are not saying that we should remove that flag. That would break backward compatibility of 3.8

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-26 Thread Jun Rao
Hi, Justine, Thanks for the reply. 10. If we are exposing group.coordinator.version in this KIP, I think we need to document what RPCs/records it controls or if it has dependencies on MV. 15. "For transaction version specifically, I have no metadata version dependencies besides requiring 3.3

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-25 Thread Justine Olshan
Hi Jun, I apologize for typos. I thought I got rid of all the non protocol versions. It is protocol version as per my previous email. I will fix the KIP. The group coordinator version is used to upgrade to the new group coordinator protocol. (KIP-848) I don't have all the context there. I would

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-25 Thread Jun Rao
Hi, Justine, Thanks for the updated KIP. A few more comments. 10. Could we describe what RPCs group.coordinator.version controls? 12. --metadata METADATA is not removed from kafka-features. Do we have a justification for this? If so, should we add that to kafka-storage to be consistent? 14.

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-25 Thread Justine Olshan
I've updated the KIP to include this CLI. For now, I've moved the new api to the server as a rejected alternative. It seems like we can keep the mapping in the tool. Given that we also need to do the same validation for using multiple --feature flags (the request will look the same to the

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-25 Thread Justine Olshan
Hi Jose, Sorry for the typos. I think you figured out what I meant. I can make a new API. There is a risk of creating a ton of very similar APIs though. Even the ApiVersions api is confusing with its supported and finalized features fields. I wonder if there is a middle ground here. I can have

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-25 Thread José Armando García Sancio
Hi Justine, Thanks for the update. See my comments below. On Mon, Mar 25, 2024 at 2:51 PM Justine Olshan wrote: > I've updated the KIP with the changes I mentioned earlier. I have not yet > removed the --feature-version flag from the upgrade tool. What's the "--feature-version" flag? This is

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-25 Thread Justine Olshan
Hey all, I've updated the KIP with the changes I mentioned earlier. I have not yet removed the --feature-version flag from the upgrade tool. Please take a look at the API to get the versions for a given metadata version. Right now I'm using ApiVersions request and specifying a metadata version.

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-18 Thread Justine Olshan
Hey folks, I didn't have a strong preference for requesting the versions via the tool only or getting it from the server. Colin seemed to suggest it was "for the best" to request from the server to make the tool lightweight. I guess the argument against that is having to build and support another

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-15 Thread José Armando García Sancio
Hi Justine, Thanks for the update. Some comments below. On Wed, Mar 13, 2024 at 10:53 AM Justine Olshan wrote: > 4. Include an API to list the features for a given metadata version I am not opposed to designing and implementing this. I am just wondering if this is strictly required? Would

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-15 Thread Colin McCabe
Hi Justine, Thanks for driving this forward. Comments below. On Wed, Mar 13, 2024, at 10:51, Justine Olshan wrote: > Hey folks -- let me summarize my understanding > > Artem requested we change the name of transaction version (tv) to > transaction protocol version (tpv). If I do that, I will

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-13 Thread Justine Olshan
Hey folks -- let me summarize my understanding Artem requested we change the name of transaction version (tv) to transaction protocol version (tpv). If I do that, I will also probably change to group coordinator protocol version (gcpv). Folks were concerned about upgrades/downgrades with

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-08 Thread Artem Livshits
Hi Justine, > Are you suggesting it should be called "transaction protocol version" or "TPV"? I don't mind that, but just wanted to clarify if we want to include protocol or if simply "transaction version" is enough. My understanding is that "metadata version" is the version of metadata

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-07 Thread Justine Olshan
Hi Colin, Thanks for bringing up these points. I believe Jose suggested failing the command if some features upgrade on the downgrade call and vice versa. This could address some of the concerns you bring up here. I agree we should not have an rpc to do both. As for setting metadata only, we do

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-07 Thread Colin McCabe
Hi Jun and Justine, My understanding is that in the KIP, --metadata does not do the same thing as --release-version. The --metadata flag sets the metadata version only, and does not change any other feature. So neither flag replaces the other. In general, I'm not sure that this functionality

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-03-01 Thread Jun Rao
Hi, Justine, Thanks for the reply. 11. Yes, we can still have the option to set individual features. I was suggesting that if one uses the tool without either --release-version or --features, it will just use the latest version of every feature that it knows. This is what's proposed in the

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-29 Thread Justine Olshan
Thanks José -- Let me answer a few quick things If you are not going to deprecate or alias --metadata what happens if the user uses these flags in one command: "kafka-features upgrade --metadata 3.8 --feature kraft.version=1" > I would think as the KIP stands now, we would not accept both

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-29 Thread José Armando García Sancio
Thanks for the reply Justine. See my comments below: On Thu, Feb 29, 2024 at 3:39 PM Justine Olshan wrote: > I wanted to include multiple features in one command, so it seems like > features is a better name. I discuss more below about why I think we should > allow setting multiple features at

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-29 Thread Justine Olshan
Hey folks, Thanks for the discussion. Let me try to cover everyone's comments. Artem -- I can add the examples you mentioned. As for naming, right now the feature is called "transaction version" or "TV". Are you suggesting it should be called "transaction protocol version" or "TPV"? I don't mind

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-29 Thread José Armando García Sancio
Hi Justine and Jun, Thanks for the KIP Justine. See my comments below. On Wed, Feb 28, 2024 at 3:09 PM Jun Rao wrote: > 13. KIP-853 also extends the tools to support a new feature kraft.version. > It would be useful to have alignment between that KIP and this one. I agree. I took a look at

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-28 Thread Jun Rao
Hi, Justine, Thanks for the KIP. A few comments below. 10. Currently, MV controls records, inter-broker RPCs and code logic. With more features, would each of those be controlled by a separate feature or multiple features. For example, is the new transaction record format controlled only by MV

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-28 Thread Artem Livshits
Hi Justine, Thank you for the KIP. I think the KIP is pretty clear and makes sense to me. Maybe it would be good to give a little more detail on the implementation of feature mapping and how the tool would validate the feature combinations. For example, I'd expect that bin/kafka-storage.sh

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-28 Thread Justine Olshan
Hey Andrew, Thanks for taking a look. I previously didn't include 1. We do plan to use these features immediately for KIP-890 and KIP-848. If we think it is easier to put the discussion in those KIP discussions we can, but I fear that it will easily get lost given the size of the KIPs. I named

Re: [DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-27 Thread Andrew Schofield
Hi Justine, Thanks for the KIP. This area of Kafka is complicated and making it easier is good. When I use the `kafka-features.sh` tool to describe the features on my cluster, I find that there’s a single feature called “metadata.version”. I think this KIP does a handful of things: 1) It

[DISCUSS] KIP-1022 Formatting and Updating Features

2024-02-26 Thread Justine Olshan
Hello folks, I'm proposing a KIP that allows for setting and upgrading new features (other than metadata version) via the kafka storage format and feature tools. This KIP extends on the feature versioning changes introduced by KIP-584 by allowing for the features to be set and upgraded. Please