Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#3,933 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
go, kafka
Domain
build-system, cli

Research direction

Start by reviewing the existing Kafka environment-variable support and how func config envs add handles plain values, Secrets, and ConfigMaps. Discuss whether a middleware.kafka section in func.yaml would justify the added complexity; done means a maintainer decision on whether to pursue the structured configuration.

Written by the indexing model from the issue text.

Description

lifecycle/stale

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.

Dominant language
Go
Stars
365
Forks
223
Avg merge
3d 7h
Merged PRs (30d)
13

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from knative/func

All issues in knative/func

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.