Skip to content

Commit fec1f68

Browse files
committed
Update Kafka instruction
1 parent ed4e46a commit fec1f68

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ to a remote Kafka cluster in JSON format instead of building the in-memory
6969
database.
7070

7171
```sh
72+
alias hbase-packet-inspector='java -Xmx2g -jar hbase-packet-inspector-0.2.0.jar'
73+
7274
# Both requests and responses are sent to hbase-traffic topic.
7375
# - See boolean "inbound?" field to differentiate two types of records
7476
hbase-packet-inspector --kafka "bootstrap1:9092,bootstrap2:9092/hbase-traffic"
@@ -83,7 +85,8 @@ hbase-packet-inspector --kafka "bootstrap1:9092,bootstrap2:9092/hbase-requests/"
8385
hbase-packet-inspector --kafka "bootstrap1:9092,bootstrap2:9092//hbase-requests"
8486

8587
# Additional key-value pairs to be included in each record
86-
hbase-packet-inspector --kafka "bootstrap1:9092,bootstrap2:9092/hbase-traffic?service=twitter&cluster=feed"
88+
hbase-packet-inspector \
89+
--kafka "bootstrap1:9092,bootstrap2:9092/hbase-traffic?service=twitter&cluster=feed"
8790
```
8891

8992
Shipping the information to Kafka has the following benefits:

0 commit comments

Comments
 (0)