Kafka functions: structured configuration in func.yaml (optional)
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
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
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from knative/func
-
KEDA deployer: default minReplicaCount prevents scale-to-zeroPossibly taken @Tushar-Khandelwal-2004 claimed this 95 days ago. Openlifecycle/stale
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
knative/func#3924 · 1 comment ·
Maintainers usually reply within 5 days
-
ImageNameWithDigest produces invalid OCI reference when Build.Image is emptyPossibly taken @Elvand-Lie claimed this 108 days ago. Openlifecycle/stale
Difficulty 1/5 Under an hour Newbie friendliness 88/100
knative/func#3902 · 1 comment ·
Maintainers usually reply within 5 days
-
setServiceOptions: %f format produces invalid autoscaling annotation values with trailing zerosPossibly taken @Elvand-Lie claimed this 108 days ago. Openlifecycle/stale
Difficulty 1/5 Under an hour Newbie friendliness 90/100
knative/func#3901 · 1 comment ·
Maintainers usually reply within 5 days
-
git/gitlab: default project webhooks to SSL verification when creating hooksPossibly taken @Vi-shub claimed this 142 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 5 days
-
mcp: config add/remove handlers bypass readonly guardPossibly taken @Elvand-Lie claimed this 144 days ago. Openkind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
knative/func#3704 · 1 comment ·
Maintainers usually reply within 5 days
Similar issues
-
accepted bug wg/router-models-inference-runtime
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vllm-project/semantic-router#4524 · 1 comment ·
Maintainers usually reply within 1 day
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aws/aws-sdk-go-v2#3576 ·
Maintainers usually reply within 1 day
-
enhancement needs-verification phase-2-optimize
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
FootprintAI/Containarium#2277 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
keyxmakerx/Chronicle#1061 ·
Maintainers usually reply within 1 day