-
Notifications
You must be signed in to change notification settings - Fork 117
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
Customizable prefix for cloudevent extensions #4144
Customizable prefix for cloudevent extensions #4144
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cchayka-campsci The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @cchayka-campsci! It looks like this is your first PR to knative-extensions/eventing-kafka-broker 🎉 |
Hi @cchayka-campsci. Thanks for your PR. I'm waiting for a knative-extensions member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@cchayka-campsci we're happy to include this one once ready |
@pierDipi got the unit tests working and ran the formatter I branched off release-1.14 because that was the version I was hoping to add this back too. Is that okay? Or should I create a new pull request off the main branch and these changes could be cherry-picked after? |
Yes, that's the best process, we merge changes on main and then merge cherry-picks to release branches |
Please also take a look at the Linux Foundation CLA #4144 (comment) |
closing this for a replacement pull request to the main branch #4164 |
Proposed Changes
As brought up before in this issue #3992, a previous version of NodeJS
cloudevents
would throw an error for any extension > 20 chars in length.We are in a tough position to update this package for a large number of legacy services, so we were hoping you could consider a change like this for versions 1.14 and onward.
The code I have changed here is incomplete, but I wanted to check if this change would be allowable first.
Basically just adding a new env var "CE_METADATA_EXTENSION_PREFIX" to change the "knativekafka" part of the "knativekafkapartition" and "knativekafkaoffset" CE extensions.
Release Note
Docs