Skip to content

Commit

Permalink
kafka consume
Browse files Browse the repository at this point in the history
  • Loading branch information
cherkavi authored Apr 5, 2022
1 parent 2a7aa52 commit 7303ff0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions mapr.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,21 @@ maprcli stream delete -path <filepath & name>
```

### topic create
```
```sh
maprcli stream topic create -path <path and name of the stream> -topic <name of the topic>
```
### topic remove, topic delete
```
```sh
maprcli stream topic delete -path <path and name of the stream> -topic <name of the topic>
```
### topic check, topic print
```
```sh
maprcli stream topic list -path <path and name of the stream>
```
### read data
```sh
maprcli stream cursor list -path $KAFKA_STREAM -topic $KAFKA_TOPIC -consumergroup $KAFKA_CONSUMER_GROUP -json
```

## API, java programming
### compile java app
Expand Down

0 comments on commit 7303ff0

Please sign in to comment.