A little background on my context:
We run multiple Solr JVMs per box, which live in directories like:
/mnt/solr_8983
/mnt/solr_8984
/mnt/solr_8985
...
/mnt/solr_${PORT}
A little background on my context:
We run multiple Solr JVMs per box, which live in directories like:
/mnt/solr_8983
/mnt/solr_8984
/mnt/solr_8985
...
/mnt/solr_${PORT}
launch_terms () { | |
until [ -z "$1" ] # Until uses up arguments passed... | |
do | |
/usr/bin/osascript <<-EOF | |
tell application "iTerm" | |
make new terminal | |
tell the current terminal | |
activate current session | |
launch session "Default Session" | |
tell the last session |
Host *.vpc.mycorp.com | |
User ubuntu | |
ProxyCommand ssh -W %h:%p [email protected] | |
IdentityFile "~/.ssh/mykey.pem" | |
Host 172.1.* | |
User ubuntu | |
ProxyCommand ssh -W %h:%p [email protected] | |
IdentityFile "~/.ssh/mykey.pem" | |
Host nat.mycorp.com |
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 |
########### | |
# Variables | |
########### | |
variable "aws_key_name" { | |
default = "mykeypair" | |
} | |
variable "region" { | |
default = "eu-west-1" | |
} |
[program:kafka] | |
command = /usr/local/kafka/bin/kafka-run-class.sh -name kafkaServer -loggc kafka.Kafka /usr/local/kafka/config/server.properties | |
stopwaitsecs = 60 | |
redirect_stderr = true | |
stdout_logfile = /var/log/kafka/kafka-stdout.log | |
stdout_logfile_maxbytes = 0 | |
stdout_logfile_backups = 0 | |
stopasgroup=true | |
environment = | |
JAVA_HOME="/usr/java/default", |
#!/bin/bash -xe | |
# requires jq and 3 brokers to start | |
which jq || echo 'no jq found, bye!' && exit 1 | |
ZK_HOST=zkhost1:2181/kafka | |
# record all topics | |
/usr/local/kafka/bin/kafka-topics.sh --zookeeper $ZK_HOST --list > all_topics | |
# generate json for listing which topics to reassign |
Questions I expect companies I want to work at to get 12/12 yeses:
Does each team own their production stack and manage their own on-call rotation?
Is all code within the organization available to all developers?
Can a new developer onboard and ship to production on their first day?
Is there a well-defined process for making internal projects open source?
env.GIT_PROJECT = "thisgroup/thisproject" | |
env.INCLUDE_MERGES = true | |
// TODO: have team decide where and how much they want to receive slack notifications | |
//env.SLACK_ROOM = "alerts" | |
stage 'Init' | |
lib = node('swarm') { | |
git url: 'git@ourgithost:infra/CI.git', branch: 'develop' | |
load 'pipelines/gitlab_v1.groovy' | |
} |
I hereby claim:
To claim this, I am signing this object: