<#6502 docs: Add clarification on required Kafka v...
# flyte-github
c
#6502 docs: Add clarification on required Kafka version field in cloud_even… Pull request opened by daadc …ts configuration for FlyteAdmin The current documentation for the FlyteAdmin cloudEvents Kafka configuration does not mention that the
version
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:
Copy code
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/flyte