-
Notifications
You must be signed in to change notification settings - Fork 62
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
Raising proposal based on PR discussion for: Enhance KafkaBridge resurce with consumer inactivity timeout and HTTP consumer/producer parts enablement #111
Conversation
8adaff8
to
897c6b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the proposal. I left few initial comments.
4ec578b
to
1cf5168
Compare
Comments resolved @scholzj. |
@scholzj @ppatierno Let me know if you need more from me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I should try to explain the proposal process a bit ... the proposal is used to discuss, design, and decide how some more complicated issues will be addressed. Thsi includes typically things that:
- Change the API (the CRDs)
- Might have some techncial consequences, cause future limitations etc.
In this case, the change of the API / CRDs would be the main reason for the proposal. While it is sometimes useful to have a prototype PR written in is not necessarily required. I personally would not link it in the proposal but for example in the comments / PR description as an example of how it might be implemented.
If there are multiple variants -> you would normally choose one and propose it and list the others in the rejected alternatives for others to consider. This could be based on your liking but also on the follow-up discussion. So in this case we should pick one version and use it and move the other to the rejected alternatives. It seems the version two is prefereed by Paolo and probbaly slighly by me as well. So maybe we can pick that one?
Having the one variant selected is important, because at the end, the proposal is voted upon and needs to get at least 3 maintainer votes (approvals) (see more info here). So it needs to be clear what the plan is.
So we should pick the right variant, get the votes which I think should be pretty straigth forward here and then we can proceed with the PRs.
@scholzj, thanks for explaining :) |
@ppatierno the Bridge property name |
@k-wall I would try to avoid doing the deep nesting and having |
@scholzj if |
If it applies to both, it makes more sense under |
Sure thing. Sorry for the potential misunderstanding, what I meant was if its relevant for those |
https://github.com/strimzi/strimzi-kafka-bridge/blob/main/src/main/java/io/strimzi/kafka/bridge/http/HttpConfig.java#L37 shows this property applies only to the consumer. I think should be a change considered against the Bridge itself that would rename the property |
The choice is not so obvious :-( and I think that the initial choice of |
@ppatierno I would try to avoid the deep nesting and the confusing use of
if you think these things belong to HTTP? |
@scholzj also your suggestion is fine but I am really struggling to take a strong position. I am really regretting the choices made in the past for the current names in the application.properties file. |
Not sure exactly what you mean by "Also I would avoid the code formatting on "http enablement", "consumer" and "producer" but using it for actual code and fields." @ppatierno Everything else is updated @ppatierno and @k-wall. |
The usage of the single apex which provides the formatting like this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm (non-binding)
@steffen-karlsson maybe I was not clear but now your removed single apex from everywhere even where it makes sense :-D ... for example |
I somehow also thought it would make sense somewhere but I went with the full removal, let me re-add a few 😅 |
071-kafkabrige-consumer-producer.md
Outdated
``` | ||
|
||
### 2. | ||
timeoutSeconds has been moved from http to consumer section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this sentece. It's just part of the proposed solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Paolo's comments make sense and should be applied. But otherwise it looks good to me.
@steffen-karlsson just adding one more thing. The |
365e9ab
to
37bb69c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the proposal!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks! 💯
@steffen-karlsson as for the other PR, I see a lot of commits which are not related to the proposal. What's happened? Can you try to clean it please? Closing and opening is not good because we'll lost all the approvals we already have so you should fix on this PR imho. |
Git happend, tried to update from main due to conflict and then my fork was out of sync. |
… consumer/producer parts enablement Signed-off-by: Steffen Karlsson <[email protected]>
6cb8c4e
to
63da458
Compare
This proposal has enough votes to be approved and merged (4 binding, 1 non-binding). |
When its merged, ill start adjusting the linked PRs accordingly |
This proposal is approved with 4 binding and 1 non-binding votes. Going to merge. |
No description provided.