You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,14 @@ Also allows replaying data in a topic.
8
8
# Usage
9
9
See `saluki --help` for all options.
10
10
11
-
## Listen to a topic for updates
11
+
## `listen` - Listen to a topic for updates
12
12
`saluki listen mybroker:9092/mytopic` - This will listen for updates for `mytopic` on `mybroker`.
13
13
14
14
### Filter to specific schemas
15
15
16
-
TODO
16
+
`saluki listen mybroker:9092/mytopic -f f144 -f f142` - This will listen for updates but ignore messages with schema IDs of `f142` or `f144`
17
17
18
-
## Consume from a topic
18
+
## `consume`- Consume from a topic
19
19
`saluki consume mybroker:9092/mytopic -p 1 -o 123456 -m 10` - This will print 9 messages before (and inclusively the offset specified) offset `123456` of `mytopic` on `mybroker`, in partition 1.
20
20
21
21
Use the `-g` flag to go the other way, ie. in the above example to consume the 9 messages _after_ offset 123456
@@ -24,10 +24,10 @@ Use the `-g` flag to go the other way, ie. in the above example to consume the 9
24
24
25
25
TODO
26
26
27
-
## List all topics and their high, low watermarks and number of messages
28
-
TODO
27
+
## `sniff` - List all topics and their high, low watermarks and number of messages
0 commit comments