Skip to content

Kafka functions: structured configuration in func.yaml (optional) #3933

Description

@aliok

Kafka connection is currently configured via plain environment variables (KAFKA_BROKERS, KAFKA_TOPICS, KAFKA_CONSUMER_GROUP). An alternative would be a structured middleware.kafka section in func.yaml for brokers, topics, consumer group, and auth settings. The CLI would translate this into environment variables at build/deploy time.

This may not be necessary — env vars work well and are already supported via func config envs add with plain values, Secrets, and ConfigMaps. A structured config section would add convenience but also complexity. Needs discussion on whether the value justifies the cost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions