-
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
Add Broker reconciler #31
Add Broker reconciler #31
Conversation
0df75ca
to
9bba2f5
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.
Maybe I lost it in the process, but before triggering the update with UpdateDispatcherPodsAnnotation
do you assert that the data plane config map actually changed?
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: kafka-broker-config |
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.
Can we reuse config-kafka config map? (the same we use in eventing-contrib for kafka channel, we also have code to parse it https://github.com/knative/eventing-contrib/blob/master/kafka/channel/pkg/utils/util.go#L53). If it misses something, let's add stuff to it (the defaults on topic configs seems useful for kafka channel too)
Ok I pushed reviewed while i was still reviewing it, another round coming |
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.
Second pass
I'm not keeping track of the previous state (should I?), anyway on the data plane we are idempotent, so nothing breaks. |
Ok, I left unresolved configurations related comments that we can reconcile with |
Sounds good |
sonatype breaks every day 😭 https://testgrid.knative.dev/eventing-kafka-broker#continuous /retest |
@pierDipi I feel you ahahah |
Now, it seems to be happy. |
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
rebased following: #35 |
The following is the coverage report on the affected files.
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pierDipi, slinkydeveloper The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[release-v1.0] Reorder scripts
Proposed Changes