File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ to a remote Kafka cluster in JSON format instead of building the in-memory
6969database.
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
7476hbase-packet-inspector --kafka " bootstrap1:9092,bootstrap2:9092/hbase-traffic"
@@ -83,7 +85,8 @@ hbase-packet-inspector --kafka "bootstrap1:9092,bootstrap2:9092/hbase-requests/"
8385hbase-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
8992Shipping the information to Kafka has the following benefits:
You can’t perform that action at this time.
0 commit comments