Skip to content

Commit

Permalink
chore: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
huantt committed Nov 17, 2022
1 parent c78dd90 commit 2864e13
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ kafka-dump import \
--kafka-sasl-mechanism=PLAIN
```

# Use Docker
## Use Docker
```shell
docker run -d --rm \
-v /local-data:/data \
huanttok/kafka-dump:latest \
kafka-dump export \
./kafka-dump export \
--file=/data/path/to/output/data.parquet \
--kafka-topics=users-activities \
--kafka-group-id=id=kafka-dump.local \
Expand All @@ -56,4 +56,8 @@ kafka-dump export \
--kafka-password=admin \
--kafka-security-protocol=SASL_SSL \
--kafka-sasl-mechanism=PLAIN
```
```

## TODO
- Improve exporting speed by reducing number of commit times
- Export topic partitions in parallel

0 comments on commit 2864e13

Please sign in to comment.