-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
1 changed file
with
27 additions
and
0 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,27 @@ | ||
# Kafkacat Statically Linked Executable | ||
|
||
x64 only, no SSL/SASL. If that's easy to add, PRs please. | ||
|
||
Can be downloaded and used directly, or… | ||
|
||
## Used through docker | ||
```bash | ||
docker rum --rm -i liftm/kafkacat -b gregor:9092 -L | ||
``` | ||
|
||
## Installed in some other docker image | ||
|
||
```Dockerfile | ||
FROM liftm/kafkacat:1.4.0 as kafkacat | ||
FROM alpine | ||
COPY --from=kafkacat / /usr | ||
RUN $stuff | ||
``` | ||
|
||
## You got a loicense for that? | ||
```bash | ||
# One way | ||
docker save liftm/kafkacat | tar xfO - manifest.json | jq -r '.[]|.Layers|.[]' | while read l; do docker save liftm/kafkacat | tar xfO - $l | tar xfO - share/doc/kafkacat-LICENSES.txt; done | ||
# Or another | ||
docker create --name liftm-kafkacat-license liftm/kafkacat; docker export liftm-kafkacat-license | tar xfO - share/doc/kafkacat-LICENSES.txt; docker rm liftm-kafkacat-license >/dev/null | ||
``` |