Skip to content

Instantly share code, notes, and snippets.

View wgybzbrobot's full-sized avatar

wgybzb wgybzbrobot

  • hfut
  • Anhui, Hefei, China
View GitHub Profile
@wgybzbrobot
wgybzbrobot / benchmark-commands.txt
Created December 1, 2015 03:31 — forked from jkreps/benchmark-commands.txt
Kafka Benchmark Commands
Producer
Setup
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3
Single thread, no replication
bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196

Fabric and Logstash

使用 [Fabric][Logstash] 进行自动部署.


Fabric

Fabric 是一个基于 Python(2.5-2.7) 的自动化部署工具,轻量、简单,安装方法

@wgybzbrobot
wgybzbrobot / curl.md
Last active December 30, 2015 05:29 — forked from btoone/curl.md

简单介绍

使用GitHub的API进行curl操作使用说明。

基本操作

发送基本的GET请求到指定的URI

curl https://api.github.com/users/wgybzbrobot