cuddly-jelly-27016
06/18/2025, 4:09 AMversion field under the kafka block is required.
If this field is omitted, attempting to start FlyteAdmin with Kafka cloud events enabled leads to a panic error with the message "caught panic: invalid version".
An example of a minimal valid configuration is as follows:
cloudEvents:
enable: true
kafka:
brokers: 127.0.0.1:9092
version: my-kafka-version
eventsPublisher:
eventTypes:
- all
topicName: myTopic
type: kafka
This change aims to help users avoid runtime errors and improve the ease of adoption for this feature.
## Tracking issue
## Why are the changes needed?
## What changes were proposed in this pull request?
## How was this patch tested?
### Labels
Please add one or more of the following labels to categorize your PR:
• added: For new features.
• changed: For changes in existing functionality.
• deprecated: For soon-to-be-removed features.
• removed: For features being removed.
• fixed: For any bug fixed.
• security: In case of vulnerabilities
This is important to improve the readability of release notes.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://bito.ai#summarystart|
### Summary by Bito
This pull request enhances the FlyteAdmin cloudEvents Kafka configuration documentation by clarifying that the 'version' field is required, which helps prevent runtime errors. An example of a minimal valid configuration is also included to assist users.
flyteorg/flytecuddly-jelly-27016
06/21/2025, 11:52 PM