-
Notifications
You must be signed in to change notification settings - Fork 83
[WIP] Individual config in KafkaChannel #1090
[WIP] Individual config in KafkaChannel #1090
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aliok 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 |
Codecov Report
@@ Coverage Diff @@
## main #1090 +/- ##
=======================================
Coverage 75.23% 75.23%
=======================================
Files 123 123
Lines 5726 5726
=======================================
Hits 4308 4308
Misses 1196 1196
Partials 222 222
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@aliok: The following test failed, say
Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
@@ -64,6 +64,22 @@ var ( | |||
|
|||
// KafkaChannelSpec defines the specification for a KafkaChannel. | |||
type KafkaChannelSpec struct { | |||
// BootstrapServers is the Kafka Channel bootstrap servers. When not provided, the implementation will | |||
// fall back to the configmap in the config field. If there are also no bootstrapServers defined in that, |
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.
for the future: do we envision to retire the global config, all together?
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
can you run hack/update-codegen.sh
?
// Config is a KReference to the configuration that specifies | ||
// configuration options for this Channel. For example, this could be | ||
// a pointer to a ConfigMap. | ||
// +optional | ||
Config *duckv1.KReference `json:"config,omitempty"` |
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.
what's the use case for this?
@aliok with the on-going data-plane isolation, I think we should keep this proposal also in our backheads, as this allows individual configuration of the kafka channel's kafka (similar to the Currently there is no MT usage o the channel, due to this global setting, and no individual config for kafka cluster |
This Pull Request is stale because it has been open for 90 days with |
This Pull Request is stale because it has been open for 90 days with |
This issue or pull request is stale because it has been open for 90 days with no activity. This bot triages issues and PRs according to the following rules:
You can:
/lifecycle stale |
This Pull Request is stale because it has been open for 90 days with |
PR needs rebase. 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/test-infra repository. |
/close |
@matzew: Closed this PR. In response to this:
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/test-infra repository. |
Fixes #1005
Proposed Changes
Release Note
Docs