-
Notifications
You must be signed in to change notification settings - Fork 83
Upgrade tests for KafkaSource #67
Comments
I think this should be modeled similar to eventing and serving upgrade tests. That means upgrading to the latest version from stable and going back. If we implement migration of API at any point it should do that in that migration period and tests should survive that. My approach would be to adopt a new upgrade test framework for compose-ability and write some standard pre- post- assertions and continual tests. To be able to write continual tests, I'm thinking to extend Wathola testing utility from eventing, so it will be possible to replace its sender transport from HTTP request to a Kafka client. That would enable us to send events directly to Kafka topic, so we can configure KafkaSource or/and KafkaBinding and feed cloud events to broker (in future this broker could be backed by KafkaChannel #72), and then to the receiver for validation. /assign |
@cardil I agree that using the schema/model from serving/eventing is right What do you mean with:
Also, extending the utils from eventing to have usage on downstream seems good 👍 |
I could also skip extending testing tools and use KafkaSink. But, KafkaSink isn't in this repo, right? |
/area test-and-release |
@cardil: The label(s) 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. |
/reopen |
@cardil: Reopened this issue. 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. |
We need to implement upgrade tests for KafkaSource and KafkaBinding so that in the future we can change the storage version to v1beta1 from v1alpha1.
Best idea is to keep eventing at latest release and only changing the eventing-kafka version. We can in the future run the tests again with eventing head too.
Part of umbrella issue, #65
The text was updated successfully, but these errors were encountered: