This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daisy Guo
committed
Jun 22, 2020
1 parent
794e2f7
commit e2c3ef3
Showing
228 changed files
with
28,751 additions
and
2,380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
kn-source-kafka | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# kn-source-kafka | ||
|
||
`kn-source-kafka` is a plugin of Knative Client, which allows you to management | ||
of Kafka event source interactively from the command line. | ||
|
||
## Description | ||
|
||
`kn-source-kafka` is a plugin of Knative Client. You could create, update, | ||
describe and delete Kafka event sources in Knative Eventing. Go to | ||
[Knative Eventing document](https://knative.dev/docs/eventing/samples/kafka/source/) | ||
to understand more about Kafka event sources. | ||
|
||
## Build and Install | ||
|
||
You must | ||
[set up your development environment](https://github.com/knative/client/blob/master/docs/DEVELOPMENT.md#prerequisites) | ||
before you build `kn-source-kafka`. | ||
|
||
**Building:** | ||
|
||
Once you've set up your development environment, let's build `kn-source-kafka`. | ||
Run below command under the directory of `client-contrib/plugins/source-kafka`. | ||
|
||
```sh | ||
$ hack/build.sh | ||
``` | ||
|
||
**Installing:** | ||
|
||
You will get an excuatable file `kn-source-kafka` under the directory of | ||
`client-contrib/plugins/source-kafka` after you run the build command. Then | ||
let's install it to become a Knative Client `kn` plugin. | ||
|
||
Install a plugin by simply copying the excuatable file `kn-source-kafka` to the | ||
folder of the `kn` plugins directory. You will be able to invoke it by | ||
`kn source kafka`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.