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.
add kafka source command group (#33)
- Loading branch information
Ying Chun Guo
authored
Jun 26, 2020
1 parent
969cebc
commit 49864fb
Showing
228 changed files
with
28,757 additions
and
2,383 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, for management of Kafka event | ||
source interactively from the command line. | ||
|
||
## Description | ||
|
||
`kn-source-kafka` is a plugin of Knative Client. You can create, describe and | ||
delete Kafka event sources. 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 executable 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 the plugin by simply copying the executable 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.