Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sauljabin committed Jan 17, 2025
1 parent af84329 commit 162b722
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ Test json consumer without Schema Registry:
kaskade consumer -b localhost:19092 --from-beginning -k string -v json -t json
```

```bash
kaskade consumer -b localhost:19092 --from-beginning -k string -v json -t json-schema
```

Test avro consumer with Schema Registry (Confluent and Redpanda):

```bash
Expand All @@ -223,6 +227,12 @@ kaskade consumer -b localhost:19092 --from-beginning -t avro \
--avro value=tests/avro_model/user.avsc
```

```bash
kaskade consumer -b localhost:19092 --from-beginning -t avro-schema \
-k string -v avro \
--avro value=tests/avro_model/user.avsc
```

Test protobuf consumer:

> Install `protoc` with `brew install protobuf`.\
Expand All @@ -234,3 +244,10 @@ kaskade consumer -b localhost:19092 --from-beginning -t protobuf \
--protobuf descriptor=tests/protobuf_model/user.desc \
--protobuf value=User
```

```bash
kaskade consumer -b localhost:19092 --from-beginning -t protobuf-schema \
-k string -v protobuf \
--protobuf descriptor=tests/protobuf_model/user.desc \
--protobuf value=User
```

0 comments on commit 162b722

Please sign in to comment.