knative / knative/func

func invoke support for Kafka functions

Open
#3,932 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
365
Forks
223
Avg merge
2d 3h
Merged PRs (30d)
25

Description

`func invoke` currently only works for HTTP functions. Add support for invoking Kafka functions by producing a test message to the configured topic. The CLI should read `KAFKA_BROKERS` and `KAFKA_TOPICS` from `func.yaml` and send a message.

Blocked by https://github.com/knative-extensions/func-go/issues/176 (producing support — CLI needs to produce messages to a Kafka topic).

Contributor guide

Open the contributing guide

Research direction

Start with the `func invoke` CLI path and inspect how it reads `func.yaml`; review the producing-support dependency in func-go issue 176 first. Done means `func invoke` can read `KAFKA_BROKERS` and `KAFKA_TOPICS` and send a test message to the configured Kafka topic.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kafka
Domain
cli, stream-processing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.